![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CXMLImportOptionsServiceProvider (IPMUnknown *boss) | |
| virtual void | Initialize (IDocument *doc) |
| virtual K2Vector< int32 > | WarnOfChange (IXMLImportOptionsService *changedService, IControlView *controlView, int32 which) |
| virtual void | CommitChanges () |
| virtual PMString | GetGroupName () const |
| virtual int32 | GetUIElementsCount () const |
| virtual bool16 | IsNthElementEnabled (int32 n) const |
| virtual IXMLImportOptionsService::kUIElementType | GetNthElementType (int32 n) const |
| virtual PMString | GetNthElementName (int32 n) const |
| virtual bool16 | GetNthElementBoolValue (int32 n) const |
| virtual void | SetNthElementBoolValue (int32 n, bool16 newValue) |
| virtual int32 | GetNthElementIntValue (int32 n) const |
| virtual void | SetNthElementIntValue (int32 n, int32 selected) |
| virtual IDFile | GetNthElementFileName (int32 n) const |
| virtual void | SetNthElementFileName (int32 n, IDFile fileName) |
| virtual PMString | GetNthElementDefaultText (int32 n) const |
| virtual void | GetNthFileTypeInfo (int32 n, PMString &typeName, PMString &extension) const |
| virtual bool16 | ShouldIndentNthControl (int32 n) const |
| virtual void | GetNthElementPopupValueList (int32 n, K2Vector< PMString > &valueList) const |
Public Member Functions inherited from CPMUnknown< IXMLImportOptionsService > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Protected Member Functions | |
| void | AddCheckbox (const PMString &name, bool16 enabled, bool16 state, bool16 indent=kFalse) |
| void | AddPopup (const PMString &name, const K2Vector< PMString > &values, bool16 enabled, int32 selection, bool16 indent=kFalse) |
| void | AddRadioGroup (const PMString &name, const K2Vector< PMString > &values, bool16 enabled, int32 selection, bool16 indent=kFalse) |
| void | AddFileName (const PMString name, const IDFile &fileName, const PMString &defaultText, const PMString &fileTypeFamily, const PMString &fileTypeExtension, bool16 enabled, bool16 state, bool16 indent) |
| void | ClearData () |
Protected Member Functions inherited from CPMUnknown< IXMLImportOptionsService > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes | |
| K2Vector< StoredValuePair > | fStoredValue |
| K2Vector< bool16 > | fStoredEnableState |
| K2Vector< IDFile > | fStoredFileName |
| K2Vector< PMString > | fStoredDefaultText |
| K2Vector< FileTypeData > | fStoredFileType |
| K2Vector< int32 > | fStoredType |
| PMString | fGroupName |
| int32 | fUIElementCount |
| K2Vector< PMString > | fElementName |
| K2Vector< K2Vector< PMString > > | fValueList |
| K2Vector< bool16 > | fIndented |
Protected Attributes inherited from CPMUnknown< IXMLImportOptionsService > | |
| HelperInterface | fHelperInterface |
Additional Inherited Members | |
Public Types inherited from IXMLImportOptionsService | |
| enum | { kDefaultIID = IID_IIXMLIMPORTOPTIONSSERVICE } |
| enum | kUIElementType { kCheckbox, kPopup, kRadioGroup, kFileName } |
| virtual |
Commit the changes that have been stored while the dialog was open.
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the name of the group box for this list of options. A group box will not be added if the name is an empty string
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the value of the Nth element
| n | - The item you want information about |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the default text to use when a text edit box is empty.
NOTE: This is only used for filename elements right now
| n | - The item you want information about |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the filename to use by default in the filename widget.
NOTE: This is only used for filename elements
| n | - The item you want information about |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the item to select in the popup or radio group.
NOTE: This is only used for popup or radio group elements
| n | - The item you want information about |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the name of the Nth element
| n | - The item you want information about |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the list of items in the popup.
NOTE: This is only used for popup elements
| n | - The item you want information about |
| valueList | - Filled with all of the items in the popup |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the type of the Nth element
| n | - The item you want information about |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the file type information for file elements.
NOTE: This is only used for filename elements right now
| n | - The item you want information about |
| typeName | - The name to display for this file type |
| extension | - The extension that type file box should expect |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the number of UI elements that this Service Provider supports
Implements IXMLImportOptionsService.
| virtual |
Use this to initialze the state of each of the controls This simply makes it easier and faster to retrieve info about various controls while the dialog is running
| doc | - The document we are initializing the options for. This is important because different docs can have different default options |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the enabled state of the Nth element
| n | - The item you want information about |
Implements IXMLImportOptionsService.
| inlinevirtual |
Get the value of the Nth element
| n | - The item you want information about |
| newValue | - The new value for this UI element |
Implements IXMLImportOptionsService.
| inlinevirtual |
Set the filename to use by default in the filename widget.
NOTE: This is only used for filename elements
| n | - The item you want information about |
| selected | - The filename that is in the widget |
Implements IXMLImportOptionsService.
| inlinevirtual |
Set the item that the user selected in the popup or radio group.
NOTE: This is only used for popup or radio group elements
| n | - The item you want information about |
| selected | - The item that is selected |
Implements IXMLImportOptionsService.
| inlinevirtual |
Used to determine whether the control should be indented
| n | - Which item you care about |
Implements IXMLImportOptionsService.
| virtual |
Warn this service that another control has changed values This gives this service a chance to change its state when other controls that it may care about change their states
| changedService | - The service that has been changed |
| controlView | - The control view of the element being changed |
| which | - Which element in the service changed |
Implements IXMLImportOptionsService.