Name | Description | |
---|---|---|
GcWordDocument Constructor | Creates a new instance of the GcWordDocument class, optionally specifying a license key. |
The following tables list the members exposed by GcWordDocument.
Name | Description | |
---|---|---|
GcWordDocument Constructor | Creates a new instance of the GcWordDocument class, optionally specifying a license key. |
Name | Description | |
---|---|---|
Body | Gets the main body of the document. | |
CustomXmlParts | Gets the collection of CustomXmlPart objects. | |
DataTemplate | Gets the GrapeCity.Documents.Word.Templates.DataTemplate object that provides properties and methods used to manage template data sources and process data templates. | |
Fonts | Gets the collection of FontInfo objects associated with this document. (Inherited from GrapeCity.Documents.Word.DocumentBase) | |
GlossaryDocument | Gets a supplementary document storage which stores the definition and content for content that shall be carried with the document for future insertion and/or use, but which shall not be visible within the contents of the main document story. | |
HideLinkedCharacterStyles | Gets or sets whether to hide linked character styles. | |
ListTemplates | Gets the collection of list templates in the document. (Inherited from GrapeCity.Documents.Word.DocumentBase) | |
MalformedUriRewriter | Gets or sets the malformed URI rewriter that can be used to implement a custom strategy for rewriting malformed URIs.
By default this property is null (i.e. no rewriting takes place). Set this to an instance of the DefaultMalformedUriRewriter class to use the default rewriting strategy, or use a custom IMalformedUriRewriter implementation. | |
Settings | Gets options that control protection, view, compatibility and other settings. (Inherited from GrapeCity.Documents.Word.DocumentBase) | |
Styles | Gets the collection of styles defined in the document. (Inherited from GrapeCity.Documents.Word.DocumentBase) | |
Theme | Gets the theme that holds all formatting options available to a document through a theme. |
Name | Description | |
---|---|---|
GetPropertyValueSource<T> | Gets the source of a formatting property.
This method finds and returns the object in the inheritance chain that determines the actual current value of the specified formatting property. For example, to find the object that determines the font size of the first run in the document body: var o = GetPropertyValueSource(() => document.Body.Runs.First.Font.Size);
In this example, if the Heading 1 style was applied to the paragraph containing that run, this method would return that style. | |
Load | Overloaded. Loads an OpenXml formatted file into the document. | |
MergeDocuments | Overloaded. Merges several source documents into a single new GcWordDocument. | |
Save | Overloaded. Saves the document to an OpenXml formatted file. | |
SetLicenseKey | Sets the license key. | |
SplitDocument | Overloaded. Splits the current document into several documents based on specified ranges and formatting copy strategies. |