![]() | InDesign SDK 20.5 |
#include <IFormFieldSuite.h>

Public Types | |
| enum | { kDefaultIID = IID_IFORMFIELDSUITE } |
Public Member Functions | |
| virtual bool16 | IsFieldSelection () const =0 |
| virtual bool16 | IsFieldSelectionOfType (ClassID inFormFieldType) const =0 |
| virtual bool16 | IsMixedSelection () const =0 |
| virtual bool16 | IsDefaultSelection () const =0 |
| virtual IFormFieldFactory * | QueryFormFieldFactory () const =0 |
| virtual bool16 | CanEditFieldSelection () const =0 |
| virtual bool16 | CanCreateFieldFromSelection (ClassID inFormFieldType) const =0 |
| virtual ErrorCode | CreateFieldFromSelection (ClassID inFormFieldType)=0 |
| virtual bool16 | CanDestroyFieldFromSelection (bool16 &outWarnNonEmptyStates) const =0 |
| virtual ErrorCode | DestroyFieldFromSelection (ClassID formFieldToConvert=kInvalidClass)=0 |
| virtual bool16 | SelectionHasAnyFormFields () const =0 |
| virtual bool16 | SelectionHasAnyFieldsOfType (ClassID inFieldType) const =0 |
| virtual bool16 | GetIsInitiallyHidden (bool16 &isMixed) const =0 |
| virtual bool16 | GetIsPrintable (bool16 &isMixed) const =0 |
| virtual bool16 | GetIsReadOnly (bool16 &isMixed) const =0 |
| virtual bool16 | GetIsRequired (bool16 &isMixed) const =0 |
| virtual bool16 | GetIsSelectedByDefault (bool16 &isMixed) const =0 |
| virtual bool16 | GetIsMultiLineTextField (bool16 &isMixed) const =0 |
| virtual bool16 | GetIsPasswordTextField (bool16 &isMixed) const =0 |
| virtual bool16 | GetIsScrollableTextField (bool16 &isMixed) const =0 |
| virtual ErrorCode | GetFormFieldDescription (PMString &description) const =0 |
| virtual ErrorCode | SetIsInitiallyHidden (bool16 inHidden) const =0 |
| virtual ErrorCode | SetIsPrintable (bool16 isPrintable) const =0 |
| virtual ErrorCode | SetIsReadOnly (bool16 isReadOnly) const =0 |
| virtual ErrorCode | SetIsRequired (bool16 isRequired) const =0 |
| virtual ErrorCode | SetIsSelectedByDefault (bool16 isSelectedByDefault) const =0 |
| virtual ErrorCode | SetIsTextFieldMultiline (bool16 isMultiLine) const =0 |
| virtual ErrorCode | SetIsTextFieldPasswordField (bool16 isPasswordField) const =0 |
| virtual ErrorCode | SetIsTextFieldScrollable (bool16 isScrollable) const =0 |
| virtual ErrorCode | SetFormFieldDescription (const PMString &description) const =0 |
| virtual ErrorCode | GetChoiceList (Form::ChoiceList &choices) const =0 |
| virtual ErrorCode | AddChoice (const PMString &choice) const =0 |
| virtual ErrorCode | RemoveChoice (const PMString &choice) const =0 |
| virtual ErrorCode | SetIsMultipleSelectionEnabled (bool16 isMultipleSelectionEnabled) const =0 |
| virtual bool16 | GetIsMultipleSelectionEnabled (bool16 &isMixed) const =0 |
| virtual ErrorCode | MoveChoice (const PMString &choice, int32 pos) const =0 |
| virtual ErrorCode | SetTextSizeAttribute (const PMReal &FontSize) const =0 |
| virtual bool16 | GetTextSizeAttribute (PMReal &FontSize) const =0 |
| virtual bool16 | GetShouldSortListItems (bool16 &isMixed) const =0 |
| virtual ErrorCode | SetShouldSortListItems (bool16 isSorted) const =0 |
| virtual bool16 | GetIsMERTLEnabled (bool16 &isMixed) const =0 |
| virtual ErrorCode | SetIsMERTLEnabled (bool16 isMERTLEnabled) const =0 |
| virtual bool16 | GetDefaultChoice (PMString &choice, int32 &index) const =0 |
| virtual ErrorCode | SetDefaultChoice (const PMString &choice) const =0 |
| virtual ErrorCode | GetExportValue (PMString &exportValue) const =0 |
| virtual ErrorCode | SetExportValue (const PMString &exportValue) const =0 |
| virtual ErrorCode | SetFontFamilyAttr (const PMString &fontFamilyName) const =0 |
| virtual bool16 | GetFontFamilyAttribute (PMString &fontFamilyName) const =0 |
| virtual ErrorCode | SetFontFamilyUIDAttr (const PMString &fontFamilyName, const PMString &fontStyleName) const =0 |
| virtual bool16 | GetFontFamilyUIDAttr (UID &FontUID) const =0 |
| virtual ErrorCode | SetFontStyleAttribute (const PMString &fontStyleName) const =0 |
| virtual bool16 | GetFontStyleAttribute (PMString &fontStyleName) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Selection suite for manipulating form field page items and attributes.
| pure virtual |
Add a choice to the list of choices for the selected combo/list box.
| pure virtual |
| inFormFieldType | Type of form field to create (e.g. kPushButtonItemBoss) |
| pure virtual |
| outWarnNonEmptyStates | set true if there are states that are not empty that would be lost by destroying the field |
| pure virtual |
| pure virtual |
Place selection inside a new form field
| inFormFieldType | Type of form field to create (e.g. kPushButtonItemBoss) |
| pure virtual |
Destroy the selected form fields, i.e. convert the fields back to objects.
| formFieldToConvert,if | this is invoked in the course of converting some form fields to another type, then this parameter would be the destination form field type |
| pure virtual |
Get the list of choices for the selected combo/list box.
| pure virtual |
Get the default option for the list box/combo box.
| pure virtual |
Get the export value for all the selected radios and checks.
| pure virtual |
Get the description for all the selected form fields.
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
Get the Font Size attribute for all the selected fields.
| pure virtual |
| pure virtual |
| pure virtual |
| inFormFieldType | Type of form field to create (e.g. kPushButtonItemBoss) |
| pure virtual |
| pure virtual |
Move the currently selected option to position specified by pos in the combo/list box options.
| pure virtual |
Get a factory compatible with the selection. returns 0 for default selection, or a mixed selection. You can query based on currently selected tool with FormFieldUIUtils...
| pure virtual |
Remove a choice from the list of choices for the selected combo/list box.
| pure virtual |
| pure virtual |
| pure virtual |
Set the default option for the list box/combo box.
| pure virtual |
Set the export value for all the selected radios and checks.
| pure virtual |
Set the description for all the selected form fields.
| pure virtual |
Set the hidden until triggered flag for all the selected form fields.
| pure virtual |
Set the ME right to left flag for all the selected list/combo/text fields.
| pure virtual |
Set the multiple selection flag for all the selected Combo boxes/list fields.
| pure virtual |
Set the printable flag for all the selected form fields.
| pure virtual |
Set the readonly flag for all the selected form fields.
| pure virtual |
Set the required flag for all the selected form fields.
| pure virtual |
Set the selected by default flag for the selected radio buttons or check boxes.
| pure virtual |
Set the multiline flag for all the selected text fields.
| pure virtual |
Set the password flag for all the selected text fields.
| pure virtual |
Set the scrollable flag for all the selected text fields.
| pure virtual |
Set the sorted flag for all the selected text fields.
| pure virtual |
Set the font size for the text in text field, list box, combo box.