Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
{note:icon=false} *SharePointIntegration* is only available in *WordWriter Enterprise Edition*. (_[WordWriter Editions]_) {note} || Table of Contents || | {toc} | {introducedin:
Wiki Markup
Note
iconfalse

SharePointIntegration is only available in WordWriter Enterprise Edition. (WordWriter Editions)

Table of Contents

Table of Contents
Introducedin
4.1.0.1379

...

4.1.0.1379
Description

Excerpt

The SharePointIntegration class contains the extension methods that allow users to bind SharePoint data sources to Word documents as well as open and save files in SharePoint lists and document libraries.

Signature
C#
C#

<p>public static class SharePointIntegration</p>
Remarks

The SharePointIntegration class is to be used on a SharePoint server to use the WordTemplate, WordApplication, and Element objects with SharePoint. SharePointIntegration belongs to the SoftArtisans.OfficeWriter.WordWriter namespace and has the Microsoft.SharePoint class as a dependency. Additionally, the SharePointIntegration class belongs in a separate DLL, SoftArtisans.OfficeWriter.WordWriter.SharePointIntegration.dll,

which

must

be

added

to

the

bin

directory

of

your

project.

{remarks} {example} SharePointIntegration is an abstract class which cannot directly be instantiated, but rather contains extension methods for the [WordApplication], [WordTemplate], and [Element] objects. Use SharePointIntegration extensions just as you would the other methods of each object, remembering to add references to the Microsoft.SharePoint namespace. {example} {methods} || Name || Description || | [ImportData(Element,

Example

SharePointIntegration is an abstract class which cannot directly be instantiated, but rather contains extension methods for the WordApplication, WordTemplate, and Element objects. Use SharePointIntegration extensions just as you would the other methods of each object, remembering to add references to the Microsoft.SharePoint namespace.

Methods

...

...

...

Excerpt Include
SharePointIntegration.ImportData(Element,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

DataBindingProperties)
SharePointIntegration.ImportData(Element,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

DataBindingProperties)

...

nopanel

...

...

...

Excerpt Include
SharePointIntegration.ImportData(Element,

...

Microsoft.SharePoint.SPList)

...

SharePointIntegration.ImportData(Element,

...

Microsoft.SharePoint.SPList)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.Open(WordApplication,

...

Microsoft.SharePoint.SPDocumentLibrary,

...

String)

...

SharePointIntegration.Open(WordApplication,

...

Microsoft.SharePoint.SPDocumentLibrary,

...

String)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.Open(WordApplication,

...

Microsoft.SharePoint.SPListItem,

...

String)

...

SharePointIntegration.Open(WordApplication,

...

Microsoft.SharePoint.SPListItem,

...

String)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.Open(WordTemplate,

...

Microsoft.SharePoint.SPDocumentLibrary,

...

String)

...

SharePointIntegration.Open(WordTemplate,

...

Microsoft.SharePoint.SPDocumentLibrary,

...

String)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.Open(WordTemplate,

...

Microsoft.SharePoint.SPListItem,

...

String)

...

SharePointIntegration.Open(WordTemplate,

...

Microsoft.SharePoint.SPListItem,

...

String)

...

nopanel

...

...

...

...

...

Excerpt Include
SharePointIntegration.Save(WordApplication,

...

Document,

...

Microsoft.SharePoint.SPListItem,

...

String)

...

SharePointIntegration.Save(WordApplication,

...

Document,

...

Microsoft.SharePoint.SPListItem,

...

String)

...

nopanel

...

...

...

...

...

...

Excerpt Include
SharePointIntegration.Save(WordApplication,

...

Document,

...

Microsoft.SharePoint.SPDocumentLibrary,

...

String,

...

Boolean)

...

SharePointIntegration.Save(WordApplication,

...

Document,

...

Microsoft.SharePoint.SPDocumentLibrary,

...

String,

...

Boolean)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.Save(WordTemplate,

...

Microsoft.SharePoint.SPListItem,

...

String)

...

SharePointIntegration.Save(WordTemplate,

...

Microsoft.SharePoint.SPListItem,

...

String)

...

nopanel

...

...

...

...

...

Excerpt Include
SharePointIntegration.Save(WordTemplate,

...

Microsoft.SharePoint.SPDocumentLibrary,

...

String,

...

Boolean)

...

SharePointIntegration.Save(WordTemplate,

...

Microsoft.SharePoint.SPDocumentLibrary,

...

String,

...

Boolean)

...

nopanel

...

...

...

...

...

Excerpt Include
SharePointIntegration.SetDataSource(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

String)

...

SharePointIntegration.SetDataSource(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

String)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.SetDataSource(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList)

...

SharePointIntegration.SetDataSource(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.SetDataSource(WordTemplate,

...

Microsoft.SharePoint.SPList,

...

String)

...

SharePointIntegration.SetDataSource(WordTemplate,

...

Microsoft.SharePoint.SPList,

...

String)

...

nopanel

...

...

...

Excerpt Include
SharePointIntegration.SetDataSource(WordTemplate,

...

Microsoft.SharePoint.SPList)

...

SharePointIntegration.SetDataSource(WordTemplate,

...

Microsoft.SharePoint.SPList)

...

nopanel

...

...

...

...

...

Excerpt Include
SharePointIntegration.SetMailMerge(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

Integer)
SharePointIntegration.SetMailMerge(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

Integer)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.SetMailMerge(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList)

...

SharePointIntegration.SetMailMerge(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.SetMailMerge(WordTemplate,

...

Microsoft.SharePoint.SPList,

...

Integer)
SharePointIntegration.SetMailMerge(WordTemplate,

...

Microsoft.SharePoint.SPList,

...

Integer)

...

nopanel

...

...

...

Excerpt Include
SharePointIntegration.SetMailMerge(WordTemplate,

...

Microsoft.SharePoint.SPList)

...

SharePointIntegration.SetMailMerge(WordTemplate,

...

Microsoft.SharePoint.SPList)

...

nopanel

...

...

...

...

...

...

Excerpt Include
SharePointIntegration.SetRepeatBlock(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

String,

...

Int)
SharePointIntegration.SetRepeatBlock(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

String,

...

Int)

...

nopanel

...

...

...

...

...

Excerpt Include
SharePointIntegration.SetRepeatBlock(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

String)

...

SharePointIntegration.SetRepeatBlock(WordTemplate,

...

Microsoft.SharePoint.SPView,

...

Microsoft.SharePoint.SPList,

...

String)

...

nopanel

...

...

...

...

...

Excerpt Include
SharePointIntegration.SetRepeatBlock(WordTemplate,

...

Microsoft.SharePoint.SPList,

...

String,

...

Int)
SharePointIntegration.SetRepeatBlock(WordTemplate,

...

Microsoft.SharePoint.SPList,

...

String,

...

Int)

...

nopanel

...

...

...

...

Excerpt Include
SharePointIntegration.SetRepeatBlock(WordTemplate,

...

Microsoft.SharePoint.SPList,

...

String)

...

SharePointIntegration.SetRepeatBlock(WordTemplate,

...

Microsoft.SharePoint.SPList,

...

String)

...

nopanel

...

true

...