LibreOffice Module xmloff (master) 1
|
allows the translation of attribute ids into strings. More...
#include <formattributes.hxx>
Static Public Member Functions | |
static OUString | getCommonControlAttributeName (CCAFlags _nId) |
calculates the xml attribute representation of a common control attribute. More... | |
static sal_Int32 | getCommonControlAttributeToken (CCAFlags _nId) |
calculates the xml attribute representation of a common control attribute. More... | |
static sal_uInt16 | getCommonControlAttributeNamespace (CCAFlags _nId) |
calculates the xml namespace key to use for a common control attribute More... | |
static OUString | getFormAttributeName (FormAttributes _eAttrib) |
retrieves the name of an attribute of a form xml representation More... | |
static sal_Int32 | getFormAttributeToken (FormAttributes _eAttrib) |
retrieves the name of an attribute of a form xml representation More... | |
static sal_uInt16 | getFormAttributeNamespace (FormAttributes _eAttrib) |
calculates the xml namespace key to use for an attribute of a form xml representation More... | |
static OUString | getDatabaseAttributeName (DAFlags _nId) |
calculates the xml attribute representation of a database attribute. More... | |
static sal_Int32 | getDatabaseAttributeToken (DAFlags _nId) |
calculates the xml attribute representation of a database attribute. More... | |
static sal_uInt16 | getDatabaseAttributeNamespace () |
calculates the xml namespace key to use for a database attribute. More... | |
static OUString | getSpecialAttributeName (SCAFlags _nId) |
calculates the xml attribute representation of a special attribute. More... | |
static sal_Int32 | getSpecialAttributeToken (SCAFlags _nId) |
calculates the xml attribute representation of a special attribute. More... | |
static OUString | getBindingAttributeName (BAFlags _nId) |
calculates the xml attribute representation of a binding attribute. More... | |
static sal_Int32 | getBindingAttributeToken (BAFlags _nId) |
calculates the xml attribute representation of a binding attribute. More... | |
static sal_uInt16 | getBindingAttributeNamespace () |
calculates the xml namespace key to use for a binding attribute. More... | |
static sal_uInt16 | getSpecialAttributeNamespace (SCAFlags _nId) |
calculates the xml namespace key to use for a special attribute. More... | |
static OUString | getOfficeFormsAttributeName (OfficeFormsAttributes _eAttrib) |
calculates the xml attribute representation of an attribute of the office:forms element More... | |
static xmloff::token::XMLTokenEnum | getOfficeFormsAttributeToken (OfficeFormsAttributes _eAttrib) |
static sal_uInt16 | getOfficeFormsAttributeNamespace () |
calculates the xml namedspace key of an attribute of the office:forms element More... | |
allows the translation of attribute ids into strings.
This class does not allow to connect xml attributes to property names or something like that, it only deals with the xml side
Definition at line 178 of file formattributes.hxx.
|
static |
calculates the xml attribute representation of a binding attribute.
_nId | the id of the attribute. Has to be one of the BA_* constants. |
Definition at line 216 of file formattributes.cxx.
References LinkedCell, ListCellRange, and ListLinkingType.
Referenced by xmloff::OControlExport::exportCellBindingAttributes(), and xmloff::OControlExport::exportCellListSourceRange().
|
inlinestatic |
calculates the xml namespace key to use for a binding attribute.
_nId | the id of the attribute. Has to be one of the BA_* constants. |
Definition at line 267 of file formattributes.hxx.
References XML_NAMESPACE_FORM.
Referenced by xmloff::OControlExport::exportCellBindingAttributes(), and xmloff::OControlExport::exportCellListSourceRange().
|
static |
calculates the xml attribute representation of a binding attribute.
_nId | the id of the attribute. Has to be one of the BA_* constants. |
Definition at line 229 of file formattributes.cxx.
References LinkedCell, ListCellRange, ListLinkingType, xmloff::token::XML_LINKED_CELL, xmloff::token::XML_LIST_LINKAGE_TYPE, xmloff::token::XML_SOURCE_CELL_RANGE, and xmloff::token::XML_UNKNOWN.
Referenced by xmloff::OControlImport::handleAttribute(), and xmloff::OListAndComboImport::handleAttribute().
|
static |
calculates the xml attribute representation of a common control attribute.
_nId | the id of the attribute. Has to be one of the CCA_* constants. |
Definition at line 37 of file formattributes.cxx.
References ButtonType, CurrentSelected, CurrentValue, Disabled, Dropdown, EnableVisible, For, ImageData, Label, MaxLength, Name, Orientation, Printable, ReadOnly, Selected, ServiceName, Size, TabIndex, TabStop, TargetFrame, TargetLocation, Title, Value, and VisualEffect.
Referenced by xmloff::OColumnExport::exportAttributes(), xmloff::OControlExport::exportCommonControlAttributes(), xmloff::OControlExport::exportListSourceAsElements(), xmloff::OControlExport::exportOuterAttributes(), xmloff::OPropertyExport::exportRelativeTargetLocation(), xmloff::OElementExport::exportServiceNameAttribute(), xmloff::OColumnExport::exportServiceNameAttribute(), xmloff::OControlExport::exportSubTags(), xmloff::OFormExport::exportSubTags(), xmloff::OPropertyExport::exportTargetFrameAttribute(), and xmloff::OFormLayerXMLImport_Impl::OFormLayerXMLImport_Impl().
|
static |
calculates the xml namespace key to use for a common control attribute
_nId | the id of the attribute. Has to be one of the CCA_* constants. |
Definition at line 107 of file formattributes.cxx.
References TargetFrame, TargetLocation, XML_NAMESPACE_FORM, XML_NAMESPACE_OFFICE, and XML_NAMESPACE_XLINK.
Referenced by xmloff::OColumnExport::exportAttributes(), xmloff::OControlExport::exportCommonControlAttributes(), xmloff::OControlExport::exportListSourceAsElements(), xmloff::OControlExport::exportOuterAttributes(), xmloff::OPropertyExport::exportRelativeTargetLocation(), xmloff::OElementExport::exportServiceNameAttribute(), xmloff::OColumnExport::exportServiceNameAttribute(), xmloff::OControlExport::exportSubTags(), xmloff::OFormExport::exportSubTags(), and xmloff::OPropertyExport::exportTargetFrameAttribute().
|
static |
calculates the xml attribute representation of a common control attribute.
_nId | the id of the attribute. Has to be one of the CCA_* constants. |
Definition at line 72 of file formattributes.cxx.
References ButtonType, CurrentSelected, CurrentValue, Disabled, Dropdown, EnableVisible, For, ImageData, Label, MaxLength, Name, Orientation, Printable, ReadOnly, Selected, ServiceName, Size, TabIndex, TabStop, TargetFrame, TargetLocation, Title, Value, VisualEffect, xmloff::token::XML_BUTTON_TYPE, xmloff::token::XML_CONTROL_IMPLEMENTATION, xmloff::token::XML_CURRENT_SELECTED, xmloff::token::XML_CURRENT_VALUE, xmloff::token::XML_DISABLED, xmloff::token::XML_DROPDOWN, xmloff::token::XML_FOR, xmloff::token::XML_HREF, xmloff::token::XML_IMAGE_DATA, xmloff::token::XML_LABEL, xmloff::token::XML_MAX_LENGTH, xmloff::token::XML_NAME, xmloff::token::XML_ORIENTATION, xmloff::token::XML_PRINTABLE, xmloff::token::XML_READONLY, xmloff::token::XML_SELECTED, xmloff::token::XML_SIZE, xmloff::token::XML_TAB_INDEX, xmloff::token::XML_TAB_STOP, xmloff::token::XML_TARGET_FRAME, xmloff::token::XML_TITLE, xmloff::token::XML_UNKNOWN, xmloff::token::XML_VALUE, xmloff::token::XML_VISIBLE, and xmloff::token::XML_VISUAL_EFFECT.
Referenced by xmloff::OControlImport::handleAttribute(), xmloff::OImagePositionImport::handleAttribute(), xmloff::OReferredControlImport::handleAttribute(), xmloff::ORadioImport::handleAttribute(), xmloff::OURLReferenceImport::handleAttribute(), xmloff::OFormLayerXMLImport_Impl::OFormLayerXMLImport_Impl(), xmloff::OXMLDataSourceImport::OXMLDataSourceImport(), xmloff::OListOptionImport::startFastElement(), xmloff::OComboItemImport::startFastElement(), xmloff::OButtonImport::startFastElement(), and xmloff::OFormImport::startFastElement().
|
static |
calculates the xml attribute representation of a database attribute.
_nId | the id of the attribute. Has to be one of the DA_* constants. |
Definition at line 184 of file formattributes.cxx.
References BoundColumn, ConvertEmpty, DataField, InputRequired, ListSource, and ListSource_TYPE.
Referenced by xmloff::OControlExport::exportDatabaseAttributes(), and xmloff::OControlExport::exportListSourceAsAttribute().
|
inlinestatic |
calculates the xml namespace key to use for a database attribute.
_nId | the id of the attribute. Has to be one of the DA_* constants. |
Definition at line 233 of file formattributes.hxx.
References XML_NAMESPACE_FORM.
Referenced by xmloff::OControlExport::exportDatabaseAttributes(), and xmloff::OControlExport::exportListSourceAsAttribute().
|
static |
calculates the xml attribute representation of a database attribute.
_nId | the id of the attribute. Has to be one of the DA_* constants. |
Definition at line 200 of file formattributes.cxx.
References BoundColumn, ConvertEmpty, DataField, InputRequired, ListSource, ListSource_TYPE, xmloff::token::XML_BOUND_COLUMN, xmloff::token::XML_CONVERT_EMPTY_TO_NULL, xmloff::token::XML_DATA_FIELD, xmloff::token::XML_INPUT_REQUIRED, xmloff::token::XML_LIST_SOURCE, xmloff::token::XML_LIST_SOURCE_TYPE, and xmloff::token::XML_NONE.
Referenced by xmloff::OListAndComboImport::handleAttribute(), xmloff::OFormLayerXMLImport_Impl::OFormLayerXMLImport_Impl(), xmloff::OListAndComboImport::startFastElement(), and xmloff::OTextLikeImport::startFastElement().
|
static |
retrieves the name of an attribute of a form xml representation
_eAttrib | enum value specifying the attribute |
Definition at line 118 of file formattributes.cxx.
References xmloff::faAction, xmloff::faAllowDeletes, xmloff::faAllowInserts, xmloff::faAllowUpdates, xmloff::faApplyFilter, xmloff::faCommand, xmloff::faCommandType, xmloff::faDatasource, xmloff::faDetailFields, xmloff::faEnctype, xmloff::faEscapeProcessing, xmloff::faFilter, xmloff::faIgnoreResult, xmloff::faMasterFields, xmloff::faMethod, xmloff::faName, xmloff::faNavigationMode, xmloff::faOrder, and xmloff::faTabbingCycle.
Referenced by xmloff::OFormExport::exportAttributes(), and xmloff::OFormLayerXMLImport_Impl::OFormLayerXMLImport_Impl().
|
static |
calculates the xml namespace key to use for an attribute of a form xml representation
_eAttrib | enum value specifying the attribute |
Definition at line 176 of file formattributes.cxx.
References xmloff::faAction, XML_NAMESPACE_FORM, and XML_NAMESPACE_XLINK.
Referenced by xmloff::OFormExport::exportAttributes().
|
static |
retrieves the name of an attribute of a form xml representation
_eAttrib | enum value specifying the attribute |
Definition at line 147 of file formattributes.cxx.
References xmloff::faAction, xmloff::faAllowDeletes, xmloff::faAllowInserts, xmloff::faAllowUpdates, xmloff::faApplyFilter, xmloff::faCommand, xmloff::faCommandType, xmloff::faDatasource, xmloff::faDetailFields, xmloff::faEnctype, xmloff::faEscapeProcessing, xmloff::faFilter, xmloff::faIgnoreResult, xmloff::faMasterFields, xmloff::faMethod, xmloff::faName, xmloff::faNavigationMode, xmloff::faOrder, xmloff::faTabbingCycle, xmloff::token::XML_ALLOW_DELETES, xmloff::token::XML_ALLOW_INSERTS, xmloff::token::XML_ALLOW_UPDATES, xmloff::token::XML_APPLY_FILTER, xmloff::token::XML_COMMAND, xmloff::token::XML_COMMAND_TYPE, xmloff::token::XML_DATASOURCE, xmloff::token::XML_DETAIL_FIELDS, xmloff::token::XML_ENCTYPE, xmloff::token::XML_ESCAPE_PROCESSING, xmloff::token::XML_FILTER, xmloff::token::XML_HREF, xmloff::token::XML_IGNORE_RESULT, xmloff::token::XML_MASTER_FIELDS, xmloff::token::XML_METHOD, xmloff::token::XML_NAME, xmloff::token::XML_NAVIGATION_MODE, xmloff::token::XML_NONE, xmloff::token::XML_ORDER, and xmloff::token::XML_TAB_CYCLE.
Referenced by xmloff::OFormImport::handleAttribute(), and xmloff::OFormLayerXMLImport_Impl::OFormLayerXMLImport_Impl().
|
static |
calculates the xml attribute representation of an attribute of the office:forms element
_nId | the id of the attribute |
Definition at line 308 of file formattributes.cxx.
References xmloff::ofaApplyDesignMode, and xmloff::ofaAutomaticFocus.
Referenced by xmloff::OFormsRootExport::implExportBool().
|
inlinestatic |
calculates the xml namedspace key of an attribute of the office:forms element
_nId | the id of the attribute |
Definition at line 290 of file formattributes.hxx.
References XML_NAMESPACE_FORM.
Referenced by xmloff::OFormsRootExport::implExportBool().
|
static |
Definition at line 320 of file formattributes.cxx.
References xmloff::ofaApplyDesignMode, xmloff::ofaAutomaticFocus, xmloff::token::XML_APPLY_DESIGN_MODE, xmloff::token::XML_AUTOMATIC_FOCUS, and xmloff::token::XML_NONE.
Referenced by xmloff::OFormsRootImport::implImportBool().
|
static |
calculates the xml attribute representation of a special attribute.
_nId | the id of the attribute. Has to be one of the SCA_* constants. |
Definition at line 242 of file formattributes.cxx.
References AutoCompletion, ColumnStyleName, CurrentState, DefaultButton, EchoChar, FocusOnClick, GroupName, IsTristate, MaxValue, MinValue, MultiLine, Multiple, PageStepSize, RepeatDelay, State, StepSize, Toggle, and Validation.
Referenced by xmloff::OColumnExport::exportAttributes(), and xmloff::OControlExport::exportSpecialAttributes().
|
static |
calculates the xml namespace key to use for a special attribute.
_nId | the id of the attribute. Has to be one of the SCA_* constants. |
Definition at line 298 of file formattributes.cxx.
References GroupName, XML_NAMESPACE_FORM, and XML_NAMESPACE_FORMX.
Referenced by xmloff::OColumnExport::exportAttributes(), and xmloff::OControlExport::exportSpecialAttributes().
|
static |
calculates the xml attribute representation of a special attribute.
_nId | the id of the attribute. Has to be one of the SCA_* constants. |
Definition at line 270 of file formattributes.cxx.
References AutoCompletion, ColumnStyleName, CurrentState, DefaultButton, EchoChar, FocusOnClick, GroupName, IsTristate, MaxValue, MinValue, MultiLine, Multiple, PageStepSize, RepeatDelay, State, StepSize, Toggle, Validation, xmloff::token::XML_AUTO_COMPLETE, xmloff::token::XML_CURRENT_STATE, xmloff::token::XML_DEFAULT_BUTTON, xmloff::token::XML_DELAY_FOR_REPEAT, xmloff::token::XML_ECHO_CHAR, xmloff::token::XML_FOCUS_ON_CLICK, xmloff::token::XML_GROUP_NAME, xmloff::token::XML_IS_TRISTATE, xmloff::token::XML_MAX_VALUE, xmloff::token::XML_MIN_VALUE, xmloff::token::XML_MULTI_LINE, xmloff::token::XML_MULTIPLE, xmloff::token::XML_PAGE_STEP_SIZE, xmloff::token::XML_STATE, xmloff::token::XML_STEP_SIZE, xmloff::token::XML_TEXT_STYLE_NAME, xmloff::token::XML_TOGGLE, xmloff::token::XML_UNKNOWN, and xmloff::token::XML_VALIDATION.
Referenced by xmloff::OControlImport::handleAttribute(), xmloff::OPasswordImport::handleAttribute(), xmloff::OValueRangeImport::handleAttribute(), xmloff::OFormLayerXMLImport_Impl::OFormLayerXMLImport_Impl(), and xmloff::OListAndComboImport::startFastElement().