Message-ID: <2139770878.10061.1711711049528.JavaMail.web05$@web05>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_10060_1381099722.1711711049528"
------=_Part_10060_1381099722.1711711049528
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
SharePointIntegration API
SharePointIntegration API
Sections
=20
=20
The SharePointIntegration class contains the extension methods that allo=
w users to bind SharePoint data sources to Word documents as well as open a=
nd save files in SharePoint lists and document libraries.
=20
- SharePointIntegrati=
on.ImportData(Element, Microsoft.SharePoint.SPList) =E2=80=94 Imports the data from a SharePoint List into a Table at th=
e point of the current element in the document.
- SharePointIntegrati=
on.ImportData(Element, Microsoft.SharePoint.SPView, Microsoft.SharePoint.SP=
List, DataImportProperties) =E2=80=94 Imports=
the data from a SharePoint View into a Table at the point of the current e=
lement in the document. Also accepts a SharePoint List to which the View be=
longs and a DataImportProperties object with the import options.
- SharePointIntegrati=
on.Open(WordApplication, Microsoft.SharePoint.SPDocumentLibrary, String) =E2=80=94 Opens and returns an existing Documen=
t from a SharePoint Document Library.
- SharePointIntegrati=
on.Open(WordApplication, Microsoft.SharePoint.SPListItem, String) =E2=
=80=94 Opens and returns an existing Document fro=
m a SharePoint List Item.
- SharePointIntegrati=
on.Open(WordTemplate, Microsoft.SharePoint.SPDocumentLibrary, String) =
=E2=80=94 Opens the WordWriter template specified=
by the templateFileName parameter.
- SharePointIntegrati=
on.Open(WordTemplate, Microsoft.SharePoint.SPListItem, String) =E2=80=
=94 Opens the WordWriter template specified by th=
e templateFileName parameter.
- SharePointIntegrati=
on.Save(WordApplication, Document, Microsoft.SharePoint.SPDocumentLibrary, =
String, Boolean) =E2=80=94 Writes a Document =
to a file and saves it to a SharePoint Document Library.
- SharePointIntegrati=
on.Save(WordApplication, Document, Microsoft.SharePoint.SPListItem, String)=
=E2=80=94 Writes a Document to a file and sa=
ves it to a SharePoint List Item.
- SharePointIntegrati=
on.Save(WordTemplate, Microsoft.SharePoint.SPDocumentLibrary, String, Boole=
an) =E2=80=94 Saves the generated Word file t=
o a SharePoint Document Library.
- SharePointIntegrati=
on.Save(WordTemplate, Microsoft.SharePoint.SPListItem, String) =E2=80=
=94 Saves the generated Word file to a SharePoint=
List Item.
- SharePointIntegrati=
on.SetDataSource(WordTemplate, Microsoft.SharePoint.SPList, String) =E2=
=80=94 Sets a main document data source to a Shar=
ePoint List. If the specified List contains more than one row, WordWriter w=
ill use the first row as the data source.
- SharePointIntegrati=
on.SetDataSource(WordTemplate, Microsoft.SharePoint.SPList) =E2=80=94 <=
span class=3D"smalltext">Sets a main document data source to a SharePoint L=
ist. If the specified List contains more than one row, WordWriter will use =
the first row as the data source.
- SharePointIntegrati=
on.SetDataSource(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.Share=
Point.SPList, String) =E2=80=94 Sets a main d=
ocument data source to a SharePoint View. If the specified View contains mo=
re than one row, WordWriter will use the first row as the data source.
- SharePointIntegrati=
on.SetDataSource(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.Share=
Point.SPList) =E2=80=94 Sets a main document =
data source to a SharePoint View. If the specified View contains more than =
one row, WordWriter will use the first row as the data source.
- SharePointIntegrati=
on.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList, Int32) =E2=
=80=94 Sets the MailMerge's data source to a Shar=
ePoint View. A MailMerge by default treats the page content as a repeat blo=
ck, repeating the page content for each row unless NEXT fields are used. If=
the WordTemplate.EnableNEXTFields property is set to true, the NEXT field =
can also be used to indicate that the next row of data should be inserted i=
nstead of the current row at the next occurence of the merge fields.=
- SharePointIntegrati=
on.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPList) =E2=80=94
Sets the MailMerge's data source to a SharePoint Vi=
ew. A MailMerge by default treats the page content as a repeat block, repea=
ting the page content for each row unless NEXT fields are used. If the Word=
Template.EnableNEXTFields property is set to true, the NEXT field can also =
be used to indicate that the next row of data should be inserted instead of=
the current row at the next occurence of the merge fields.
- SharePointIntegrati=
on.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.ShareP=
oint.SPList, Int32) =E2=80=94 Sets the MailMe=
rge's data source to a SharePoint View. A MailMerge by default treats the p=
age content as a repeat block, repeating the page content for each row unle=
ss NEXT fields are used. If the WordTemplate.EnableNEXTFields property is s=
et to true, the NEXT field can also be used to indicate that the next row o=
f data should be inserted instead of the current row at the next occurence =
of the merge fields.
- SharePointIntegrati=
on.SetMailMerge(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.ShareP=
oint.SPList) =E2=80=94 Sets the MailMerge's d=
ata source to a SharePoint View. A MailMerge by default treats the page con=
tent as a repeat block, repeating the page content for each row unless NEXT=
fields are used. If the WordTemplate.EnableNEXTFields property is set to t=
rue, the NEXT field can also be used to indicate that the next row of data =
should be inserted instead of the current row at the next occurence of the =
merge fields.
- SharePointIntegrati=
on.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPList, String, Int32)=
=E2=80=94 Sets the specified repeat block's =
data source to a SharePoint List.
- SharePointIntegrati=
on.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPList, String) =
=E2=80=94 Sets the specified repeat block's data =
source to a SharePoint List.
- SharePointIntegrati=
on.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.Shar=
ePoint.SPList, String, Int32) =E2=80=94 Sets =
the specified repeat block's data source to a SharePoint View.
- SharePointIntegrati=
on.SetRepeatBlock(WordTemplate, Microsoft.SharePoint.SPView, Microsoft.Shar=
ePoint.SPList, String) =E2=80=94 Sets the spe=
cified repeat block's data source to a SharePoint View.
=20
Introduced in build 4.1.0.1379
------=_Part_10060_1381099722.1711711049528--