Field Features Supported on OpenDocument Import

Field Codes

See the following links in the documentation for further information:

Feature Supported Comment See Also
Field Codes Yes    

Date and Time

All Date and Time fields are supported and can be updated by Aspose.Words.

Feature Supported Comment See Also
CreateDate Yes    
Date Yes    
EditTime Yes    
PrintDate Yes A document that has never been printed is displayed as the date “1/01/0001 1:00:00”.

This value of this field is not updated when the document is printed using Aspose.Words by calling the Document.Print method.
 
SaveDate Yes This field is not updated with the current time when the document is saved by Aspose.Words using Document.Save. Rather any instance of this field in the document is updated with the correct time and date that the doucment was saved last in the editior.  
Time Yes    

Document Automation

Feature Supported Comment See Also
Compare N/A    
DocVariable N/A    
GoToButton N/A    
If N/A    
MacroButton N/A    
Print N/A    

Document Information

All Document Automation fields are supported and can be updated by Aspose.Words with the exception of the “Info” fieldtype.

Note that GotoButton, MacroButton and Print fields do not require an update.

Feature Supported Comment See Also
Author Yes    
Comments Yes    
DocProperty Yes    
FileName Yes This field is updated as an empty string when the document is loaded from the stream.  
FileSize N/A    
Info N/A    
Keywords Yes    
LastSavedBy Yes    
NumChars N/A    
NumPages Yes    
NumWords Yes    
Subject Yes    
Template Yes This field is updated by the field engine.

The attached file name is correctly updated, however the option to include the full path to the template name is not supported.
 
Title Yes    

Equations and Formulas

Feature Supported Comment See Also
Formula N/A    
Advance N/A    
Eq N/A    
Symbol N/A    

Form Fields

Form fields are fully supported by Aspose.Words.

See the following links in the documentation for further information:

Feature Supported Comment See Also
TextInput Yes  

- FormField.TextInputDefault

- FormField.TextInputFormat

CheckBox Yes   - FormField.Type
DropDown Yes  

- FormField.DropDownItems

- FormField.DropDownSelectedIndex

Calc On Exit N/A    
Checked Yes   - FormField.Checked
Default Value Yes   - FormField.TextInputDefault
Enabled N/A    
Entry and Exit Macro Yes  

- FormField.EntryMacro

- FormField.ExitMacro

Name Yes   - FormField.Name
Help Text N/A    
Status Text N/A    
Max Length N/A    
Check Box Size N/A    
Text Input Type N/A    

Index and Tables

Feature Supported Comment See Also
Index N/A    
RD N/A    
TA N/A    
TC N/A    
TOA (Table of Authorities) N/A    
TOC (Table of Contents) Yes

Table of Contents is fully supported in Aspose.Words. You can create a TOC from scratch and update it. The Aspose.Words field engine produces a TOC that looks just like how Microsoft Word does.

The TOC can be generated from styles in the document and from TC fields.

The following switches on the TOC field are supported:

- Heading Styles (\O)

- Outline Levels (\U)

- Custom Styles (\T)

- Bookmarked Content (\B)

- Use TC Fields (\F and \L)

- Omit Page Numbers (\N)

- Insert As Hyperlinks (\H)

- Set Separator Character (\P)

- Preserve Tab Entries (\W)

- Preserve New Line Entries (\X)

All other switches will be supported in future versions.

Currently mixed number formats in TOC is unsupported during field update and will appear as arabic numbering. This will be improved in a future version. These number formats are supported in other types of fields during update. Chapter numbeing is also unsupported at the moment.

 
XE N/A    
Feature Supported Comment See Also
AutoText N/A    
AutoTextList N/A    
Bibliography N/A    
Citation N/A    
Hyperlink Yes This field is fully supported. No update of this field is required.  
IncludePicture N/A    
IncludeText N/A    
Link N/A    
NoteRef N/A    
PageRef Yes This field is supported during field update.

By default in Microsoft Word references re-updated as letters. Currently in Aspose.Words these references are updated as digits.

Hyperlinking, numeric format and paragraph position options are all supported during the update.
 
Quote N/A    
Ref Yes This field is supported during field update.

Only some switches such as hyperlink and relative position are supported during field update. Support for the other options will be added in future versions.
 
StyleRef N/A    

Mail Merge

The mail merge engine allows you to quickly merge a variety of data into a document. You can merge simple data using simple mail merge as well as complex relational data from a database using merge regions. Both are easy to achieve using Aspose.Words.

Aspose.Words fully supports all of the mail merge features and fields with the exception of the following fields:

  • Ask
  • Database
  • Fill-in
  • SkipIf (consider using NextIf instead).

These fields will be supported in a later version of Aspose.Words. All other fields are supported.

MailMerge features of OpenOffice is supported by Aspose.Words.

See the following links in the documentation for further information:

Feature Supported Comment See Also
AddressBlock N/A    
Ask N/A    
Compare N/A    
Database N/A    
Fill-in N/A    
GreetingLine N/A    
If N/A    
MergeField Yes   - How to Rename Merge Fields
MergeRec Yes    
MergeSeq N/A    
Next Yes    
NextIf N/A    
Set Yes    
SkipIf N/A    

Numbering

Aspose.Words round-trips all of these fields properly. Aspose.Words supports updating the following fields:

  • Page
  • Section
  • SectionPages
  • Seq

An update of the other fields will be added to future versions.

Feature Supported Comment See Also
AutoNum Planned    
AutoNumLgl Planned    
AutoNumOut Planned    
BarCode N/A    
ListNum N/A    
Page Yes    
RevNum Yes    
Section N/A    
SectionPages N/A    
Seq Yes    

User Information

Feature Supported Comment See Also
UserAddress N/A    
UserInitials Yes    
UserName Yes    

Aspose.Words fully supports all features of hyperlink fields.

You can create new hyperlinks by using the DocumentBuilder class. You can also find and edit hyperlinks inside the DOM and change the address of an existing hyperlink.

See the following links in the documentation for further information:

Feature Supported Comment See Also
Text Yes    
Hyperlinked Shape or Image Yes    
Hyperlink across Multiple Paragraphs N/A ODT doesn’t support having hyperlinks across multiple paragraphs.  
Hyperlink to a Local Bookmark Yes    
Hyperlink to an External Resource Yes    
Screen Tip N/A    
Target Frame Yes    

Formatting Switches

All formatting types are supported during field update or mail merge.

For example, when the MERGEFORMAT switch is used on a merge field, after mail merge, the text which replaces the merge field inherits the formatting. Fields with a “@” date formatting switch are updated based on the date format supplied with the switch etc.

Feature Supported Comment See Also
Date and Time Formatting Yes All date formats (pictures defined by the @ tag, e.g @ dd/MM/yyyy) are supported during the update.

Hijri, Lunar or Saka Era calender are not supported and are updated as regular Gregorian dates.
 
Numbering Formatting Yes All number formats e.g * Arabic, * roman, * hex etc are supported with the exception of Asian language formats.

All numeric formats (using the # switch, for example # 0.00) are supported.
 
General Formatting Yes All formatting to text, paragraphs etc are retained during field update.