|
LibreOffice Module xmloff (master) 1
|
#include <sal/config.h>#include <cassert>#include <txtfldi.hxx>#include <txtvfldi.hxx>#include <utility>#include <xmloff/xmlimp.hxx>#include <xmloff/txtimp.hxx>#include <xmloff/xmlnamespace.hxx>#include <xmloff/namespacemap.hxx>#include <xmloff/xmltoken.hxx>#include <xmloff/xmluconv.hxx>#include <xmloff/xmlement.hxx>#include <XMLStringBufferImportContext.hxx>#include <xmloff/XMLEventsImportContext.hxx>#include <com/sun/star/frame/XModel.hpp>#include <com/sun/star/xml/sax/XAttributeList.hpp>#include <com/sun/star/text/UserDataPart.hpp>#include <com/sun/star/style/NumberingType.hpp>#include <com/sun/star/text/PlaceholderType.hpp>#include <com/sun/star/text/ReferenceFieldPart.hpp>#include <com/sun/star/text/ReferenceFieldSource.hpp>#include <com/sun/star/text/XTextContent.hpp>#include <com/sun/star/beans/XPropertySet.hpp>#include <com/sun/star/beans/XPropertySetInfo.hpp>#include <com/sun/star/lang/XMultiServiceFactory.hpp>#include <com/sun/star/text/XTextFieldsSupplier.hpp>#include <com/sun/star/text/XDependentTextField.hpp>#include <com/sun/star/text/FilenameDisplayFormat.hpp>#include <com/sun/star/text/ChapterFormat.hpp>#include <com/sun/star/text/TemplateDisplayFormat.hpp>#include <com/sun/star/beans/PropertyValue.hpp>#include <com/sun/star/text/BibliographyDataType.hpp>#include <com/sun/star/util/XUpdatable.hpp>#include <com/sun/star/sdb/CommandType.hpp>#include <com/sun/star/container/XIndexReplace.hpp>#include <sax/tools/converter.hxx>#include <rtl/ustring.hxx>#include <rtl/ustrbuf.hxx>#include <sal/log.hxx>#include <rtl/math.hxx>#include <tools/debug.hxx>#include <osl/diagnose.h>#include <comphelper/diagnose_ex.hxx>Go to the source code of this file.
Functions | |
| constexpr OUStringLiteral | gsPropertyFieldSubType (u"UserDataType") |
| constexpr OUStringLiteral | gsPropertyAuthorFullName (u"FullName") |
| constexpr OUStringLiteral | gsPropertyUserText (u"UserText") |
| constexpr OUStringLiteral | gsPropertyPlaceholderType (u"PlaceHolderType") |
| constexpr OUStringLiteral | gsPropertyPlaceholder (u"PlaceHolder") |
| constexpr OUStringLiteral | gsPropertyAdjust (u"Adjust") |
| constexpr OUStringLiteral | gsPropertyDataBaseName (u"DataBaseName") |
| constexpr OUStringLiteral | gsPropertyDataBaseURL (u"DataBaseURL") |
| constexpr OUStringLiteral | gsPropertyTableName (u"DataTableName") |
| constexpr OUStringLiteral | gsPropertyDataCommandType (u"DataCommandType") |
| constexpr OUStringLiteral | gsPropertyIsVisible (u"IsVisible") |
| constexpr OUStringLiteral | sPropertyRevision (u"Revision") |
| constexpr OUStringLiteral | gsPropertyTrueContent (u"TrueContent") |
| constexpr OUStringLiteral | gsPropertyFalseContent (u"FalseContent") |
| constexpr OUStringLiteral | gsPropertyIsConditionTrue (u"IsConditionTrue") |
| constexpr OUStringLiteral | gsPropertyChapterFormat (u"ChapterFormat") |
| constexpr OUStringLiteral | gsPropertyLevel (u"Level") |
| static bool | lcl_ProcessLabel (const Reference< XFastAttributeList > &xAttrList, OUString &rLabel, bool &rIsSelected) |
Variables | |
| constexpr OUStringLiteral | sAPI_textfield_prefix = u"com.sun.star.text.TextField." |
| constexpr char16_t | sAPI_fieldmaster_prefix [] = u"com.sun.star.text.FieldMaster." |
| constexpr OUStringLiteral | sAPI_presentation_prefix = u"com.sun.star.presentation.TextField." |
| constexpr OUStringLiteral | sAPI_date_time = u"DateTime" |
| constexpr OUStringLiteral | sAPI_page_number = u"PageNumber" |
| constexpr OUStringLiteral | sAPI_docinfo_change_date_time = u"DocInfo.ChangeDateTime" |
| constexpr OUStringLiteral | sAPI_docinfo_create_date_time = u"DocInfo.CreateDateTime" |
| constexpr OUStringLiteral | sAPI_docinfo_custom = u"DocInfo.Custom" |
| constexpr OUStringLiteral | sAPI_docinfo_print_date_time = u"DocInfo.PrintDateTime" |
| constexpr OUStringLiteral | sAPI_dde = u"DDE" |
| constexpr OUStringLiteral | sAPI_url = u"URL" |
| constexpr OUStringLiteral | sAPI_is_fixed = u"IsFixed" |
| constexpr OUStringLiteral | sAPI_content = u"Content" |
| constexpr OUStringLiteral | sAPI_author = u"Author" |
| constexpr OUStringLiteral | sAPI_hint = u"Hint" |
| constexpr OUStringLiteral | sAPI_name = u"Name" |
| constexpr OUStringLiteral | sAPI_sub_type = u"SubType" |
| constexpr OUStringLiteral | sAPI_date_time_value = u"DateTimeValue" |
| constexpr OUStringLiteral | sAPI_number_format = u"NumberFormat" |
| constexpr OUStringLiteral | sAPI_numbering_type = u"NumberingType" |
| constexpr OUStringLiteral | sAPI_offset = u"Offset" |
| constexpr OUStringLiteral | sAPI_condition = u"Condition" |
| constexpr OUStringLiteral | sAPI_set_number = u"SetNumber" |
| constexpr OUStringLiteral | sAPI_file_format = u"FileFormat" |
| constexpr OUStringLiteral | sAPI_is_date = u"IsDate" |
| constexpr OUStringLiteral | sAPI_current_presentation = u"CurrentPresentation" |
| constexpr OUStringLiteral | sAPI_is_hidden = u"IsHidden" |
| constexpr OUStringLiteral | sAPI_is_fixed_language = u"IsFixedLanguage" |
| constexpr OUStringLiteral | sAPI_true = u"TRUE" |
| SvXMLEnumMapEntry< PageNumberType > const | lcl_aSelectPageAttrMap [] |
| const SvXMLEnumMapEntry< sal_uInt16 > | aFilenameDisplayMap [] |
| const SvXMLEnumMapEntry< sal_uInt16 > | aTemplateDisplayMap [] |
| const SvXMLEnumMapEntry< sal_uInt16 > | aChapterDisplayMap [] |
| SvXMLEnumMapEntry< sal_uInt16 > const | lcl_aReferenceTypeTokenMap [] |
| SvXMLEnumMapEntry< sal_uInt16 > const | aBibliographyDataTypeMap [] |
|
constexpr |
Referenced by XMLTimeFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLAuthorFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLChapterImportContext::PrepareField().
|
constexpr |
Referenced by XMLDatabaseFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLDatabaseFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLDatabaseFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLConditionalTextImportContext::PrepareField().
|
constexpr |
Referenced by XMLSenderFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLConditionalTextImportContext::PrepareField().
|
constexpr |
Referenced by XMLDatabaseFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLChapterImportContext::PrepareField().
|
constexpr |
Referenced by XMLPlaceholderFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLPlaceholderFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLDatabaseFieldImportContext::PrepareField().
|
constexpr |
Referenced by XMLConditionalTextImportContext::PrepareField().
|
constexpr |
Referenced by XMLPageContinuationImportContext::PrepareField().
|
static |
Definition at line 3457 of file txtfldi.cxx.
References sax_fastparser::castToFastAttributeList(), sax::Converter::convertBool(), TEXT, xmloff::token::XML_CURRENT_SELECTED, XML_ELEMENT, xmloff::token::XML_VALUE, and XMLOFF_WARN_UNKNOWN.
Referenced by XMLDropDownFieldImportContext::createFastChildContext().
|
constexpr |
Referenced by XMLRevisionDocInfoImportContext::PrepareField().
| SvXMLEnumMapEntry<sal_uInt16> const aBibliographyDataTypeMap[] |
Definition at line 2906 of file txtfldi.cxx.
Referenced by XMLBibliographyFieldImportContext::startFastElement().
| const SvXMLEnumMapEntry<sal_uInt16> aChapterDisplayMap[] |
Definition at line 2089 of file txtfldi.cxx.
Referenced by XMLChapterImportContext::ProcessAttribute().
| const SvXMLEnumMapEntry<sal_uInt16> aFilenameDisplayMap[] |
Definition at line 1954 of file txtfldi.cxx.
Referenced by XMLFileNameImportContext::ProcessAttribute().
| const SvXMLEnumMapEntry<sal_uInt16> aTemplateDisplayMap[] |
Definition at line 2035 of file txtfldi.cxx.
Referenced by XMLTemplateNameImportContext::ProcessAttribute().
| SvXMLEnumMapEntry<sal_uInt16> const lcl_aReferenceTypeTokenMap[] |
Definition at line 2476 of file txtfldi.cxx.
Referenced by XMLReferenceFieldImportContext::ProcessAttribute().
| SvXMLEnumMapEntry<PageNumberType> const lcl_aSelectPageAttrMap[] |
Definition at line 671 of file txtfldi.cxx.
Referenced by XMLPageContinuationImportContext::ProcessAttribute(), and XMLPageNumberImportContext::ProcessAttribute().
|
constexpr |
Definition at line 106 of file txtfldi.cxx.
Referenced by XMLAnnotationImportContext::PrepareField(), and XMLAuthorFieldImportContext::XMLAuthorFieldImportContext().
|
constexpr |
Definition at line 114 of file txtfldi.cxx.
|
constexpr |
Definition at line 105 of file txtfldi.cxx.
Referenced by XMLAnnotationImportContext::PrepareField(), and XMLScriptImportContext::PrepareField().
|
constexpr |
Definition at line 118 of file txtfldi.cxx.
Referenced by XMLPageVarGetFieldImportContext::PrepareField(), and XMLReferenceFieldImportContext::PrepareField().
|
constexpr |
Definition at line 94 of file txtfldi.cxx.
|
constexpr |
Definition at line 110 of file txtfldi.cxx.
Referenced by XMLAnnotationImportContext::PrepareField().
|
constexpr |
Definition at line 100 of file txtfldi.cxx.
Referenced by XMLDdeFieldImportContext::endFastElement(), and XMLDdeFieldDeclImportContext::startFastElement().
|
constexpr |
Definition at line 96 of file txtfldi.cxx.
Referenced by XMLSimpleDocInfoImportContext::MapTokenToServiceName().
|
constexpr |
Definition at line 97 of file txtfldi.cxx.
Referenced by XMLSimpleDocInfoImportContext::MapTokenToServiceName().
|
constexpr |
Definition at line 98 of file txtfldi.cxx.
Referenced by XMLSimpleDocInfoImportContext::MapTokenToServiceName(), and XMLUserDocInfoImportContext::ProcessAttribute().
|
constexpr |
Definition at line 99 of file txtfldi.cxx.
Referenced by XMLSimpleDocInfoImportContext::MapTokenToServiceName().
|
constexpr |
Definition at line 91 of file txtfldi.cxx.
Referenced by XMLDdeFieldImportContext::endFastElement(), and XMLDdeFieldDeclImportContext::startFastElement().
|
constexpr |
Definition at line 116 of file txtfldi.cxx.
|
constexpr |
Definition at line 107 of file txtfldi.cxx.
Referenced by XMLMacroFieldImportContext::PrepareField().
|
constexpr |
Definition at line 117 of file txtfldi.cxx.
|
constexpr |
Definition at line 104 of file txtfldi.cxx.
|
constexpr |
Definition at line 120 of file txtfldi.cxx.
|
constexpr |
Definition at line 119 of file txtfldi.cxx.
|
constexpr |
Definition at line 108 of file txtfldi.cxx.
Referenced by XMLAnnotationImportContext::endFastElement(), XMLAnnotationImportContext::PrepareField(), and XMLDdeFieldDeclImportContext::startFastElement().
|
constexpr |
Definition at line 111 of file txtfldi.cxx.
|
constexpr |
Definition at line 112 of file txtfldi.cxx.
Referenced by XMLPageVarGetFieldImportContext::PrepareField().
|
constexpr |
Definition at line 113 of file txtfldi.cxx.
Referenced by XMLPageVarSetFieldImportContext::PrepareField().
|
constexpr |
Definition at line 95 of file txtfldi.cxx.
|
constexpr |
Definition at line 92 of file txtfldi.cxx.
Referenced by XMLDateTimeFieldImportContext::XMLDateTimeFieldImportContext(), XMLFooterFieldImportContext::XMLFooterFieldImportContext(), and XMLHeaderFieldImportContext::XMLHeaderFieldImportContext().
|
constexpr |
Definition at line 115 of file txtfldi.cxx.
|
constexpr |
Definition at line 109 of file txtfldi.cxx.
|
constexpr |
Definition at line 90 of file txtfldi.cxx.
Referenced by XMLDdeFieldImportContext::endFastElement().
|
constexpr |
Definition at line 122 of file txtfldi.cxx.
|
constexpr |
Definition at line 101 of file txtfldi.cxx.
Referenced by XMLUrlFieldImportContext::PrepareField().