#include <IXMLImportOptions.h>
|
| enum | { kDefaultIID = IID_IXMLIMPORTOPTIONS } |
| |
| enum | ImportStyle { kAppend = 0, kMerge, kPartial } |
| |
Interface representing preferences for import. Use command of type kChangeXMLImportOptionsCmdBoss to change prefs rather than calling mutators on the interface on the session or doc workspaces.
Enumeration of ways that content can be imported.
Mutator, copy state from another preferences interface into this
- Parameters
| otherOptions | interface to copy state from into this |
| virtual bool16 IXMLImportOptions::GetImportIntoSelected | ( | | ) | const |
| pure virtual |
Determine whether importer should import into tree at selected node
- Returns
- bool16 kTrue if should import into selected item in structure
| virtual bool16 IXMLImportOptions::GetImportRuby | ( | void | | ) | const |
| pure virtual |
Accessor for whether to import ruby with the W3C markup. If this is kTrue and the incoming XML with the W3C markup will be converted to InDesign ruby. If this is kFalse, The ruby tag will remain as a normal tag.
- Returns
- bool16 kTrue to import ruby
| virtual ImportStyle IXMLImportOptions::GetImportStyle | ( | | ) | const |
| pure virtual |
Accessor for import style stored on this.
- Returns
- import style stored on this interface
| virtual void IXMLImportOptions::SetImportIntoSelected | ( | bool16 | importIntoSelected | ) | |
| pure virtual |
Mutator for property specifying whether to import into logical structure tree at selected node
- Parameters
| virtual void IXMLImportOptions::SetImportRuby | ( | bool16 | importRuby | ) | |
| pure virtual |
Mutator for setting whether to import ruby with the W3C markup.
- Parameters
| importRuby | kTrue if importing ruby. |
| virtual void IXMLImportOptions::SetImportStyle | ( | ImportStyle | importStyle | ) | |
| pure virtual |
Mutator for import style stored on this interface
- Parameters
| importStyle | new style to store |
| virtual bool16 IXMLImportOptions::ShouldUseImportFilter | ( | | ) | const |
| pure virtual |
Accessor indicating whether or not an import filter should be used.
- Returns
- import style stored on this interface
| virtual void IXMLImportOptions::UseImportFilter | ( | const bool16 & | useFilter = kTrue | ) | |
| pure virtual |
Mutator for setting whether of not to use an import filter.
- Parameters
| importStyle | new style to store |