LibreOffice Module xmloff (master) 1
|
#include <txtflde.hxx>
Public Member Functions | |
XMLTextFieldExport (SvXMLExport &rExp, std::unique_ptr< XMLPropertyState > pCombinedCharState) | |
~XMLTextFieldExport () | |
void | ExportField (const css::uno::Reference< css::text::XTextField > &rTextField, bool bProgress, bool &rPrevCharIsSpace) |
Export this field and the surrounding span element with the formatting. More... | |
void | ExportFieldAutoStyle (const css::uno::Reference< css::text::XTextField > &rTextField, const bool bProgress, const bool bRecursive) |
collect styles (character styles, data styles, ...) for this field (if appropriate). More... | |
void | ExportFieldDeclarations () |
export field declarations. More... | |
void | ExportFieldDeclarations (const css::uno::Reference< css::text::XText > &rText) |
export field declarations for fields used in the particular XText. More... | |
void | SetExportOnlyUsedFieldDeclarations (bool bExportOnlyUsed=true) |
export all field declarations, or only those that have been used? Calling this method will reset the list of used field declarations. More... | |
Static Public Member Functions | |
static enum::xmloff::token::XMLTokenEnum | MapPlaceholderType (sal_uInt16 nType) |
map placeholder type More... | |
static enum::xmloff::token::XMLTokenEnum | MapTemplateDisplayFormat (sal_Int16 nType) |
map TemplateDisplayFormat to XML More... | |
static enum::xmloff::token::XMLTokenEnum | MapChapterDisplayFormat (sal_Int16 nType) |
map ChapterDisplayFormat to XML string More... | |
static enum::xmloff::token::XMLTokenEnum | MapFilenameDisplayFormat (sal_Int16 nType) |
map FilenameDisplayFormat to XML attribute names More... | |
static enum::xmloff::token::XMLTokenEnum | MapDocInfoFieldName (enum FieldIdEnum nToken) |
static enum::xmloff::token::XMLTokenEnum | MapReferenceSource (sal_Int16 nType) |
map ReferenceFieldPart to XML string More... | |
static enum::xmloff::token::XMLTokenEnum | MapReferenceType (sal_Int16 nType) |
map ReferenceFieldPart to XML string More... | |
static enum::xmloff::token::XMLTokenEnum | MapCountFieldName (FieldIdEnum nToken) |
map count/statistics field token to XML name More... | |
static enum::xmloff::token::XMLTokenEnum | MapBibliographyFieldName (std::u16string_view sName) |
static enum::xmloff::token::XMLTokenEnum | MapMeasureKind (sal_Int16 nKind) |
static enum::xmloff::token::XMLTokenEnum | MapPageNumberName (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, sal_Int32 &nOffset) |
static enum::xmloff::token::XMLTokenEnum | MapAuthorFieldName (const css::uno::Reference< css::beans::XPropertySet > &xPropSet) |
also adjust page offset More... | |
static enum::xmloff::token::XMLTokenEnum | MapSenderFieldName (const css::uno::Reference< css::beans::XPropertySet > &xPropSet) |
element name for sender fields More... | |
Private Member Functions | |
SvXMLExport & | GetExport () |
void | ExportFieldHelper (const css::uno::Reference< css::text::XTextField > &rTextField, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySet > &rRangePropSet, enum FieldIdEnum nToken, bool bProgress, bool &rPrevCharIsSpace) |
export a field after <text:span> is already written More... | |
void | ExportElement (enum ::xmloff::token::XMLTokenEnum eElement, bool bAddSpace=false) |
export an empty element More... | |
void | ExportElement (enum ::xmloff::token::XMLTokenEnum eElement, const OUString &sContent) |
add blanks around More... | |
void | ExportMacro (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const OUString &rContent) |
element content More... | |
void | ExportMetaField (const css::uno::Reference< css::beans::XPropertySet > &i_xMeta, bool i_bAutoStyles, bool i_bProgress, bool &rPrevCharIsSpace) |
export text:meta-field (RDF metadata) More... | |
void | ProcessBoolean (enum ::xmloff::token::XMLTokenEnum eXmlName, bool bBool, bool bDefault) |
export a boolean attribute More... | |
void | ProcessInteger (enum ::xmloff::token::XMLTokenEnum eXmlName, sal_Int32 nNum) |
attribute default; omit, if attribute differs More... | |
void | ProcessIntegerDef (enum ::xmloff::token::XMLTokenEnum eXmlName, sal_Int32 nNum, sal_Int32 nDefault) |
attribute value More... | |
void | ProcessString (enum ::xmloff::token::XMLTokenEnum eXmlName, const OUString &sValue, bool bOmitEmpty=false, sal_uInt16 nPrefix=XML_NAMESPACE_TEXT) |
default value More... | |
void | ProcessString (enum ::xmloff::token::XMLTokenEnum eXmlName, sal_uInt16 nValuePrefix, const OUString &sValue) |
attribute name prefix More... | |
void | ProcessString (enum ::xmloff::token::XMLTokenEnum eXmlName, const OUString &sValue, std::u16string_view sDefault) |
attribute value More... | |
void | ProcessString (enum ::xmloff::token::XMLTokenEnum eXmlName, sal_uInt16 nValuePrefix, const OUString &sValue, std::u16string_view sDefault) |
default value; omit if equal More... | |
void | ProcessString (enum ::xmloff::token::XMLTokenEnum eXmlName, enum ::xmloff::token::XMLTokenEnum eValue, sal_uInt16 nPrefix=XML_NAMESPACE_TEXT) |
default value; omit if equal More... | |
void | ProcessString (enum ::xmloff::token::XMLTokenEnum eXmlName, enum ::xmloff::token::XMLTokenEnum eValue, enum ::xmloff::token::XMLTokenEnum eDefault) |
attribute name prefix More... | |
void | ProcessParagraphSequence (std::u16string_view sParagraphSequence) |
default value token More... | |
void | ProcessNumberingType (sal_Int16 nNumberingType) |
export a numbering format (numeric, roman, alphabetic, etc.) More... | |
void | ProcessDisplay (bool bIsVisible, bool bIsCommand) |
numbering type key More... | |
void | ProcessValueAndType (bool bIsString, sal_Int32 nFormatKey, const OUString &sContent, std::u16string_view sDefault, double fValue, bool bExportValue, bool bExportValueType, bool bExportStyle, bool bForceSystemLanguage, bool bTimeStyle=false) |
is show command/show name? More... | |
void | ProcessDateTime (enum ::xmloff::token::XMLTokenEnum eXMLName, double dValue, bool bIsDate, bool bIsDuration, bool bOmitDurationIfZero=true, sal_uInt16 nPrefix=XML_NAMESPACE_TEXT) |
exporting a time style? More... | |
void | ProcessDateTime (enum ::xmloff::token::XMLTokenEnum eXMLName, sal_Int32 nMinutes, bool bIsDate, bool bIsDuration) |
attribute name prefix More... | |
void | ProcessDateTime (enum ::xmloff::token::XMLTokenEnum eXMLName, const css::util::DateTime &rTime) |
export as duration? More... | |
void | ProcessTimeOrDateTime (enum ::xmloff::token::XMLTokenEnum eXMLName, const css::util::DateTime &rTime) |
date/time value More... | |
void | ProcessBibliographyData (const css::uno::Reference< css::beans::XPropertySet > &rPropertySet) |
date/time value More... | |
void | ProcessCommandType (sal_Int32 nCommandType) |
export CommandTypeAttribute More... | |
void | ProcessStringSequence (const css::uno::Sequence< OUString > &rSequence, const OUString &sSelected) |
css::sdb::CommandType More... | |
void | ProcessStringSequence (const css::uno::Sequence< OUString > &rSequence, sal_Int32 nSelected) |
void | ExportDataBaseElement (enum ::xmloff::token::XMLTokenEnum eElement, const OUString &sContent, const css::uno::Reference< css::beans::XPropertySet > &rPropertySet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropertySetInfo) |
export attributes that describe a data source More... | |
Static Private Member Functions | |
static css::uno::Reference< css::beans::XPropertySet > | GetMasterPropertySet (const css::uno::Reference< css::text::XTextField > &rTextField) |
for XDependentTextFields, get PropertySet of FieldMaster More... | |
static bool | GetDependentFieldPropertySet (const css::uno::Reference< css::beans::XPropertySet > &xmaster, css::uno::Reference< css::beans::XPropertySet > &xField) |
get PropertySet of (any) DependentTextField for this FieldMaster More... | |
static enum FieldIdEnum | GetFieldID (const css::uno::Reference< css::text::XTextField > &rTextField, const css::uno::Reference< css::beans::XPropertySet > &xPropSet) |
get field ID from XTextField (and it's Property-Set) More... | |
static enum FieldIdEnum | MapFieldName (std::u16string_view sFieldName, const css::uno::Reference< css::beans::XPropertySet > &xPropSet) |
get field ID from XTextField service name (and it's PropertySet) More... | |
static bool | IsStringField (FieldIdEnum nFieldType, const css::uno::Reference< css::beans::XPropertySet > &xPropSet) |
determine, whether field has string or numeric content More... | |
static void | ExplodeFieldMasterName (std::u16string_view sMasterName, OUString &sFieldType, OUString &sVarName) |
explode a field master name into field type and field name More... | |
static OUString | MakeFootnoteRefName (sal_Int16 nSeqNo) |
out: variable name More... | |
static OUString | MakeSequenceRefName (sal_Int16 nSeqNo, std::u16string_view rSeqName) |
make reference name for a sequence field More... | |
Private Attributes | |
SvXMLExport & | rExport |
std::unique_ptr< ::std::map< css::uno::Reference< css::text::XText >, ::std::set< OUString > > > | pUsedMasters |
store used text field master names (NULL means: don't collect) More... | |
std::unique_ptr< XMLPropertyState > | pCombinedCharactersPropertyState |
Definition at line 149 of file txtflde.hxx.
XMLTextFieldExport::XMLTextFieldExport | ( | SvXMLExport & | rExp, |
std::unique_ptr< XMLPropertyState > | pCombinedCharState | ||
) |
pCombinedCharState | XMLPropertyState for the combined characters field |
Definition at line 372 of file txtflde.cxx.
References SetExportOnlyUsedFieldDeclarations().
XMLTextFieldExport::~XMLTextFieldExport | ( | ) |
Definition at line 380 of file txtflde.cxx.
|
staticprivate |
explode a field master name into field type and field name
sFieldType | name as returned by SO API |
sVarName | out: field type |
Definition at line 2821 of file txtflde.cxx.
References gsFieldMasterPrefix(), o3tl::make_unsigned(), nLength, and SAL_WARN.
|
private |
export attributes that describe a data source
Definition at line 2772 of file txtflde.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::Characters(), GetExport(), gsPropertyDataBaseName(), gsPropertyDataBaseURL(), rExport, SAL_WARN_IF, xmloff::token::XML_CONNECTION_RESOURCE, xmloff::token::XML_DATABASE_NAME, xmloff::token::XML_HREF, XML_NAMESPACE_FORM, XML_NAMESPACE_TEXT, XML_NAMESPACE_XLINK, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper().
|
private |
|
private |
add blanks around
element? export an element with string content
sContent | element token |
void XMLTextFieldExport::ExportField | ( | const css::uno::Reference< css::text::XTextField > & | rTextField, |
bool | bProgress, | ||
bool & | rPrevCharIsSpace | ||
) |
Export this field and the surrounding span element with the formatting.
export the given field to XML. Called on second pass through document
To be called for every field in the document body.
Definition at line 972 of file txtflde.cxx.
References SvXMLExport::AddAttribute(), ExportFieldHelper(), FIELD_ID_COMBINED_CHARACTERS, GetExport(), GetFieldID(), SvXMLExport::GetTextParagraphExport(), gsPropertyCharStyleNames(), hasProperty(), nToken, pCombinedCharactersPropertyState, XML_NAMESPACE_TEXT, xmloff::token::XML_SPAN, and xmloff::token::XML_STYLE_NAME.
void XMLTextFieldExport::ExportFieldAutoStyle | ( | const css::uno::Reference< css::text::XTextField > & | rTextField, |
const bool | bProgress, | ||
const bool | bRecursive | ||
) |
collect styles (character styles, data styles, ...) for this field (if appropriate).
export the styles needed by the given field.
Also collect used field masters (if pUsedMasters is set) to be called for every field during style export.
Called on first pass through document
Definition at line 749 of file txtflde.cxx.
References SvXMLExport::addDataStyle(), SvXMLExport::dataStyleForceSystemLanguage(), DBG_ASSERT, ExportMetaField(), FIELD_ID_ANNOTATION, FIELD_ID_AUTHOR, FIELD_ID_BIBLIOGRAPHY, FIELD_ID_CHAPTER, FIELD_ID_COMBINED_CHARACTERS, FIELD_ID_CONDITIONAL_TEXT, FIELD_ID_COUNT_CHARACTERS, FIELD_ID_COUNT_GRAPHICS, FIELD_ID_COUNT_OBJECTS, FIELD_ID_COUNT_PAGES, FIELD_ID_COUNT_PARAGRAPHS, FIELD_ID_COUNT_TABLES, FIELD_ID_COUNT_WORDS, FIELD_ID_DATABASE_DISPLAY, FIELD_ID_DATABASE_NAME, FIELD_ID_DATABASE_NEXT, FIELD_ID_DATABASE_NUMBER, FIELD_ID_DATABASE_SELECT, FIELD_ID_DATE, FIELD_ID_DDE, FIELD_ID_DOCINFO_CREATION_AUTHOR, FIELD_ID_DOCINFO_CREATION_DATE, FIELD_ID_DOCINFO_CREATION_TIME, FIELD_ID_DOCINFO_CUSTOM, FIELD_ID_DOCINFO_DESCRIPTION, FIELD_ID_DOCINFO_EDIT_DURATION, FIELD_ID_DOCINFO_KEYWORDS, FIELD_ID_DOCINFO_PRINT_AUTHOR, FIELD_ID_DOCINFO_PRINT_DATE, FIELD_ID_DOCINFO_PRINT_TIME, FIELD_ID_DOCINFO_REVISION, FIELD_ID_DOCINFO_SAVE_AUTHOR, FIELD_ID_DOCINFO_SAVE_DATE, FIELD_ID_DOCINFO_SAVE_TIME, FIELD_ID_DOCINFO_SUBJECT, FIELD_ID_DOCINFO_TITLE, FIELD_ID_DRAW_DATE_TIME, FIELD_ID_DRAW_FOOTER, FIELD_ID_DRAW_HEADER, FIELD_ID_DROP_DOWN, FIELD_ID_EXPRESSION, FIELD_ID_FILE_NAME, FIELD_ID_HIDDEN_PARAGRAPH, FIELD_ID_HIDDEN_TEXT, FIELD_ID_MACRO, FIELD_ID_MEASURE, FIELD_ID_META, FIELD_ID_PAGENAME, FIELD_ID_PAGENUMBER, FIELD_ID_PAGESTRING, FIELD_ID_PLACEHOLDER, FIELD_ID_REF_BOOKMARK, FIELD_ID_REF_ENDNOTE, FIELD_ID_REF_FOOTNOTE, FIELD_ID_REF_REFERENCE, FIELD_ID_REF_SEQUENCE, FIELD_ID_REFPAGE_GET, FIELD_ID_REFPAGE_SET, FIELD_ID_SCRIPT, FIELD_ID_SENDER, FIELD_ID_SEQUENCE, FIELD_ID_SHEET_NAME, FIELD_ID_TABLE_FORMULA, FIELD_ID_TEMPLATE_NAME, FIELD_ID_TEXT_INPUT, FIELD_ID_TIME, FIELD_ID_UNKNOWN, FIELD_ID_URL, FIELD_ID_USER_GET, FIELD_ID_USER_INPUT, FIELD_ID_VARIABLE_GET, FIELD_ID_VARIABLE_INPUT, FIELD_ID_VARIABLE_SET, GetBoolProperty(), GetExport(), GetFieldID(), GetIntProperty(), GetOptionalBoolProperty(), GetStringProperty(), SvXMLExport::GetTextParagraphExport(), gsPropertyInstanceName(), gsPropertyIsDataBaseFormat(), gsPropertyIsFixedLanguage(), gsPropertyNumberFormat(), IsStringField(), nToken, pCombinedCharactersPropertyState, pUsedMasters, and TEXT_TEXT.
void XMLTextFieldExport::ExportFieldDeclarations | ( | ) |
export field declarations.
export field declarations / field masters
to be called once at beginning of document body.
Definition at line 1894 of file txtflde.cxx.
References ExportFieldDeclarations().
Referenced by ExportFieldDeclarations().
void XMLTextFieldExport::ExportFieldDeclarations | ( | const css::uno::Reference< css::text::XText > & | rText | ) |
export field declarations for fields used in the particular XText.
(Requires that a list of used field declarations has previously been built-up in ExportFieldAutoStyle() )
|
private |
export a field after <text:span> is already written
export the given field to XML. Called on second pass through document
Definition at line 1028 of file txtflde.cxx.
References aBuffer, SvXMLExport::AddAttribute(), aName, SvXMLExport::Characters(), sax::Converter::convertBool(), sax::Converter::convertDateTime(), DBG_ASSERT, SvtSecurityOptions::DocWarnRemovePersonalInfo, ExportDataBaseElement(), ExportElement(), ExportMacro(), ExportMetaField(), FIELD_ID_ANNOTATION, FIELD_ID_AUTHOR, FIELD_ID_BIBLIOGRAPHY, FIELD_ID_CHAPTER, FIELD_ID_COMBINED_CHARACTERS, FIELD_ID_CONDITIONAL_TEXT, FIELD_ID_COUNT_CHARACTERS, FIELD_ID_COUNT_GRAPHICS, FIELD_ID_COUNT_OBJECTS, FIELD_ID_COUNT_PAGES, FIELD_ID_COUNT_PARAGRAPHS, FIELD_ID_COUNT_TABLES, FIELD_ID_COUNT_WORDS, FIELD_ID_DATABASE_DISPLAY, FIELD_ID_DATABASE_NAME, FIELD_ID_DATABASE_NEXT, FIELD_ID_DATABASE_NUMBER, FIELD_ID_DATABASE_SELECT, FIELD_ID_DATE, FIELD_ID_DDE, FIELD_ID_DOCINFO_CREATION_AUTHOR, FIELD_ID_DOCINFO_CREATION_DATE, FIELD_ID_DOCINFO_CREATION_TIME, FIELD_ID_DOCINFO_CUSTOM, FIELD_ID_DOCINFO_DESCRIPTION, FIELD_ID_DOCINFO_EDIT_DURATION, FIELD_ID_DOCINFO_KEYWORDS, FIELD_ID_DOCINFO_PRINT_AUTHOR, FIELD_ID_DOCINFO_PRINT_DATE, FIELD_ID_DOCINFO_PRINT_TIME, FIELD_ID_DOCINFO_REVISION, FIELD_ID_DOCINFO_SAVE_AUTHOR, FIELD_ID_DOCINFO_SAVE_DATE, FIELD_ID_DOCINFO_SAVE_TIME, FIELD_ID_DOCINFO_SUBJECT, FIELD_ID_DOCINFO_TITLE, FIELD_ID_DRAW_DATE_TIME, FIELD_ID_DRAW_FOOTER, FIELD_ID_DRAW_HEADER, FIELD_ID_DROP_DOWN, FIELD_ID_EXPRESSION, FIELD_ID_FILE_NAME, FIELD_ID_HIDDEN_PARAGRAPH, FIELD_ID_HIDDEN_TEXT, FIELD_ID_MACRO, FIELD_ID_MEASURE, FIELD_ID_META, FIELD_ID_PAGENAME, FIELD_ID_PAGENUMBER, FIELD_ID_PAGESTRING, FIELD_ID_PLACEHOLDER, FIELD_ID_REF_BOOKMARK, FIELD_ID_REF_ENDNOTE, FIELD_ID_REF_FOOTNOTE, FIELD_ID_REF_REFERENCE, FIELD_ID_REF_SEQUENCE, FIELD_ID_REFPAGE_GET, FIELD_ID_REFPAGE_SET, FIELD_ID_SCRIPT, FIELD_ID_SENDER, FIELD_ID_SEQUENCE, FIELD_ID_SHEET_NAME, FIELD_ID_TABLE_FORMULA, FIELD_ID_TEMPLATE_NAME, FIELD_ID_TEXT_INPUT, FIELD_ID_TIME, FIELD_ID_UNKNOWN, FIELD_ID_URL, FIELD_ID_USER_GET, FIELD_ID_USER_INPUT, FIELD_ID_VARIABLE_GET, FIELD_ID_VARIABLE_INPUT, FIELD_ID_VARIABLE_SET, GetBoolProperty(), GetDateTimeProperty(), GetDoubleProperty(), GetExport(), SvXMLExport::GetInfoID(), GetInt16Property(), GetInt8Property(), GetIntProperty(), GetMasterPropertySet(), GetOptionalBoolProperty(), SvXMLExport::getSaneDefaultVersion(), GetStringProperty(), GetStringSequenceProperty(), SvXMLExport::GetTextParagraphExport(), gsPropertyAdjust(), gsPropertyAuthor(), gsPropertyChapterFormat(), gsPropertyCondition(), gsPropertyContent(), gsPropertyDataColumnName(), gsPropertyDataCommandType(), gsPropertyDataTableName(), gsPropertyDateTime(), gsPropertyDateTimeValue(), gsPropertyFalseContent(), gsPropertyFileFormat(), gsPropertyHelp(), gsPropertyHint(), gsPropertyInitials(), gsPropertyIsConditionTrue(), gsPropertyIsDataBaseFormat(), gsPropertyIsFixed(), gsPropertyIsFixedLanguage(), gsPropertyIsHidden(), gsPropertyIsShowFormula(), gsPropertyIsVisible(), gsPropertyItems(), gsPropertyLevel(), gsPropertyMeasureKind(), gsPropertyName(), gsPropertyNumberFormat(), gsPropertyNumberingType(), gsPropertyOffset(), gsPropertyOn(), gsPropertyPlaceholderType(), gsPropertyReferenceFieldLanguage(), gsPropertyReferenceFieldPart(), gsPropertyReferenceFieldSource(), gsPropertyScriptType(), gsPropertySelectedItem(), gsPropertySequenceNumber(), gsPropertySequenceValue(), gsPropertySetNumber(), gsPropertySourceName(), gsPropertySubType(), gsPropertyTargetFrame(), gsPropertyTextRange(), gsPropertyTooltip(), gsPropertyTrueContent(), gsPropertyURL(), gsPropertyURLContent(), gsPropertyUserText(), gsPropertyValue(), gsPropertyVariableName(), SvtSecurityOptions::IsOptionSet(), IsStringField(), MakeFootnoteRefName(), MakeSequenceRefName(), MapAuthorFieldName(), MapChapterDisplayFormat(), MapCountFieldName(), MapDocInfoFieldName(), MapFilenameDisplayFormat(), MapMeasureKind(), MapPageNumberName(), MapPlaceholderType(), MapReferenceSource(), MapReferenceType(), MapSenderFieldName(), MapTemplateDisplayFormat(), nAdjust, nToken, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_013, SvtSaveOptions::ODFSVER_EXTENDED, ProcessBibliographyData(), ProcessBoolean(), ProcessCommandType(), ProcessDateTime(), ProcessDisplay(), ProcessInteger(), ProcessIntegerDef(), ProcessNumberingType(), ProcessParagraphSequence(), ProcessString(), ProcessStringSequence(), ProcessTimeOrDateTime(), ProcessValueAndType(), rExport, sName, u, xmloff::token::XML_A, xmloff::token::XML_ACTIVE, xmloff::token::XML_ANNOTATION, xmloff::token::XML_BIBLIOGRAPHY_MARK, xmloff::token::XML_CHAPTER, xmloff::token::XML_COLUMN_NAME, xmloff::token::XML_CONDITION, xmloff::token::XML_CONDITIONAL_TEXT, xmloff::token::XML_CONNECTION_NAME, xmloff::token::XML_CREATOR, xmloff::token::XML_CREATOR_INITIALS, xmloff::token::XML_CURRENT_VALUE, xmloff::token::XML_DATABASE_DISPLAY, xmloff::token::XML_DATABASE_NAME, xmloff::token::XML_DATABASE_NEXT, xmloff::token::XML_DATABASE_ROW_NUMBER, xmloff::token::XML_DATABASE_ROW_SELECT, xmloff::token::XML_DATE, xmloff::token::XML_DATE_ADJUST, xmloff::token::XML_DATE_TIME, xmloff::token::XML_DATE_VALUE, xmloff::token::XML_DDE_CONNECTION, xmloff::token::XML_DESCRIPTION, xmloff::token::XML_DISPLAY, xmloff::token::XML_DROP_DOWN, xmloff::token::XML_ENDNOTE, xmloff::token::XML_EXPRESSION, xmloff::token::XML_FALSE, xmloff::token::XML_FILE_NAME, xmloff::token::XML_FIXED, xmloff::token::XML_FOOTER, xmloff::token::XML_FOOTNOTE, xmloff::token::XML_FORMULA, xmloff::token::XML_HEADER, xmloff::token::XML_HELP, xmloff::token::XML_HIDDEN_PARAGRAPH, xmloff::token::XML_HIDDEN_TEXT, xmloff::token::XML_HINT, xmloff::token::XML_HREF, xmloff::token::XML_IS_HIDDEN, xmloff::token::XML_KIND, xmloff::token::XML_LANGUAGE, xmloff::token::XML_MEASURE, xmloff::token::XML_NAME, XML_NAMESPACE_DC, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_META, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOOW, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_SCRIPT, XML_NAMESPACE_TEXT, XML_NAMESPACE_XLINK, xmloff::token::XML_NOTE_CLASS, xmloff::token::XML_OUTLINE_LEVEL, xmloff::token::XML_PAGE_ADJUST, xmloff::token::XML_PAGE_CONTINUATION, xmloff::token::XML_PAGE_NAME, xmloff::token::XML_PAGE_NUMBER, xmloff::token::XML_PAGE_VARIABLE_GET, xmloff::token::XML_PAGE_VARIABLE_SET, xmloff::token::XML_PLACEHOLDER, xmloff::token::XML_PLACEHOLDER_TYPE, xmloff::token::XML_REF_NAME, xmloff::token::XML_REFERENCE_FORMAT, xmloff::token::XML_REFERENCE_LANGUAGE, xmloff::token::XML_RESOLVED, xmloff::token::XML_ROW_NUMBER, xmloff::token::XML_SCRIPT, xmloff::token::XML_SELECT_PAGE, xmloff::token::XML_SENDER_INITIALS, xmloff::token::XML_SEQUENCE, xmloff::token::XML_SHEET_NAME, xmloff::token::XML_SIMPLE, xmloff::token::XML_STRING_VALUE, xmloff::token::XML_STRING_VALUE_IF_FALSE, xmloff::token::XML_STRING_VALUE_IF_TRUE, xmloff::token::XML_TABLE_FORMULA, xmloff::token::XML_TABLE_NAME, xmloff::token::XML_TARGET_FRAME_NAME, xmloff::token::XML_TEMPLATE, xmloff::token::XML_TEMPLATE_NAME, xmloff::token::XML_TEXT_INPUT, xmloff::token::XML_TIME, xmloff::token::XML_TIME_ADJUST, xmloff::token::XML_TIME_VALUE, xmloff::token::XML_TRUE, xmloff::token::XML_TYPE, xmloff::token::XML_USER_DEFINED, xmloff::token::XML_USER_FIELD_GET, xmloff::token::XML_USER_FIELD_INPUT, xmloff::token::XML_VALUE, xmloff::token::XML_VARIABLE_GET, xmloff::token::XML_VARIABLE_INPUT, and xmloff::token::XML_VARIABLE_SET.
Referenced by ExportField().
|
private |
element content
export a macro (as used in the macro field)
Definition at line 2237 of file txtflde.cxx.
References aSeq, SvXMLExport::Characters(), XMLEventExport::ExportSingleEvent(), SvXMLExport::GetEventExport(), GetExport(), GetStringProperty(), gsPropertyHint(), comphelper::makePropertyValue(), ProcessString(), sEventType, sName, sScript, xmloff::token::XML_DESCRIPTION, xmloff::token::XML_EXECUTE_MACRO, and XML_NAMESPACE_TEXT.
Referenced by ExportFieldHelper().
|
private |
export text:meta-field (RDF metadata)
Definition at line 2289 of file txtflde.cxx.
References SvXMLExport::AddAttributeXmlId(), GetExport(), GetIntProperty(), SvXMLExport::GetTextParagraphExport(), gsPropertyNumberFormat(), SvtSaveOptions::ODFSVER_010, SvtSaveOptions::ODFSVER_011, ProcessValueAndType(), u, xmloff::token::XML_META_FIELD, and XML_NAMESPACE_TEXT.
Referenced by ExportFieldAutoStyle(), and ExportFieldHelper().
|
staticprivate |
get PropertySet of (any) DependentTextField for this FieldMaster
Definition at line 2849 of file txtflde.cxx.
References Any, DBG_ASSERT, and gsPropertyDependentTextFields().
|
inlineprivate |
Definition at line 212 of file txtflde.hxx.
References rExport.
Referenced by ExportDataBaseElement(), ExportField(), ExportFieldAutoStyle(), ExportFieldHelper(), ExportMacro(), ExportMetaField(), ProcessBibliographyData(), ProcessBoolean(), ProcessDisplay(), ProcessInteger(), ProcessNumberingType(), ProcessParagraphSequence(), and ProcessValueAndType().
|
staticprivate |
get field ID from XTextField (and it's Property-Set)
get the field ID (as in FieldIDEnum) from XTextField
Definition at line 385 of file txtflde.cxx.
References DBG_ASSERT, FIELD_ID_DRAW_DATE_TIME, FIELD_ID_DRAW_FOOTER, FIELD_ID_DRAW_HEADER, gsPresentationServicePrefix(), gsServicePrefix(), and MapFieldName().
Referenced by ExportField(), and ExportFieldAutoStyle().
|
staticprivate |
for XDependentTextFields, get PropertySet of FieldMaster
Definition at line 2840 of file txtflde.cxx.
Referenced by ExportFieldHelper(), and IsStringField().
|
staticprivate |
determine, whether field has string or numeric content
xPropSet | field ID |
Definition at line 632 of file txtflde.cxx.
References DBG_ASSERT, FIELD_ID_ANNOTATION, FIELD_ID_AUTHOR, FIELD_ID_BIBLIOGRAPHY, FIELD_ID_CHAPTER, FIELD_ID_COMBINED_CHARACTERS, FIELD_ID_CONDITIONAL_TEXT, FIELD_ID_COUNT_CHARACTERS, FIELD_ID_COUNT_GRAPHICS, FIELD_ID_COUNT_OBJECTS, FIELD_ID_COUNT_PAGES, FIELD_ID_COUNT_PARAGRAPHS, FIELD_ID_COUNT_TABLES, FIELD_ID_COUNT_WORDS, FIELD_ID_DATABASE_DISPLAY, FIELD_ID_DATABASE_NAME, FIELD_ID_DATABASE_NEXT, FIELD_ID_DATABASE_NUMBER, FIELD_ID_DATABASE_SELECT, FIELD_ID_DATE, FIELD_ID_DDE, FIELD_ID_DOCINFO_CREATION_AUTHOR, FIELD_ID_DOCINFO_CREATION_DATE, FIELD_ID_DOCINFO_CREATION_TIME, FIELD_ID_DOCINFO_CUSTOM, FIELD_ID_DOCINFO_DESCRIPTION, FIELD_ID_DOCINFO_EDIT_DURATION, FIELD_ID_DOCINFO_KEYWORDS, FIELD_ID_DOCINFO_PRINT_AUTHOR, FIELD_ID_DOCINFO_PRINT_DATE, FIELD_ID_DOCINFO_PRINT_TIME, FIELD_ID_DOCINFO_REVISION, FIELD_ID_DOCINFO_SAVE_AUTHOR, FIELD_ID_DOCINFO_SAVE_DATE, FIELD_ID_DOCINFO_SAVE_TIME, FIELD_ID_DOCINFO_SUBJECT, FIELD_ID_DOCINFO_TITLE, FIELD_ID_DRAW_DATE_TIME, FIELD_ID_DRAW_FOOTER, FIELD_ID_DRAW_HEADER, FIELD_ID_DROP_DOWN, FIELD_ID_EXPRESSION, FIELD_ID_FILE_NAME, FIELD_ID_HIDDEN_PARAGRAPH, FIELD_ID_HIDDEN_TEXT, FIELD_ID_MACRO, FIELD_ID_MEASURE, FIELD_ID_META, FIELD_ID_PAGENAME, FIELD_ID_PAGENUMBER, FIELD_ID_PAGESTRING, FIELD_ID_PLACEHOLDER, FIELD_ID_REF_BOOKMARK, FIELD_ID_REF_ENDNOTE, FIELD_ID_REF_FOOTNOTE, FIELD_ID_REF_REFERENCE, FIELD_ID_REF_SEQUENCE, FIELD_ID_REFPAGE_GET, FIELD_ID_REFPAGE_SET, FIELD_ID_SCRIPT, FIELD_ID_SENDER, FIELD_ID_SEQUENCE, FIELD_ID_SHEET_NAME, FIELD_ID_TABLE_FORMULA, FIELD_ID_TEMPLATE_NAME, FIELD_ID_TEXT_INPUT, FIELD_ID_TIME, FIELD_ID_UNKNOWN, FIELD_ID_URL, FIELD_ID_USER_GET, FIELD_ID_USER_INPUT, FIELD_ID_VARIABLE_GET, FIELD_ID_VARIABLE_INPUT, FIELD_ID_VARIABLE_SET, GetBoolProperty(), GetIntProperty(), GetMasterPropertySet(), gsPropertyIsExpression(), gsPropertyNumberFormat(), and gsPropertySubType().
Referenced by ExportFieldAutoStyle(), and ExportFieldHelper().
|
staticprivate |
out: variable name
make reference name for a foot- or endnote
Definition at line 3447 of file txtflde.cxx.
Referenced by ExportFieldHelper().
|
staticprivate |
make reference name for a sequence field
Definition at line 3454 of file txtflde.cxx.
Referenced by ExportFieldHelper().
|
static |
also adjust page offset
element name for author fields
Definition at line 2912 of file txtflde.cxx.
References GetBoolProperty(), gsPropertyFullName(), xmloff::token::XML_AUTHOR_INITIALS, and xmloff::token::XML_AUTHOR_NAME.
Referenced by ExportFieldHelper().
|
static |
Definition at line 3286 of file txtflde.cxx.
References SAL_WARN, sName, u, xmloff::token::XML_ADDRESS, xmloff::token::XML_ANNOTE, xmloff::token::XML_AUTHOR, xmloff::token::XML_BIBLIOGRAPHY_TYPE, xmloff::token::XML_BOOKTITLE, xmloff::token::XML_CHAPTER, xmloff::token::XML_CUSTOM1, xmloff::token::XML_CUSTOM2, xmloff::token::XML_CUSTOM3, xmloff::token::XML_CUSTOM4, xmloff::token::XML_CUSTOM5, xmloff::token::XML_EDITION, xmloff::token::XML_EDITOR, xmloff::token::XML_HOWPUBLISHED, xmloff::token::XML_IDENTIFIER, xmloff::token::XML_INSTITUTION, xmloff::token::XML_ISBN, xmloff::token::XML_JOURNAL, xmloff::token::XML_LOCAL_URL, xmloff::token::XML_MONTH, xmloff::token::XML_NOTE, xmloff::token::XML_NUMBER, xmloff::token::XML_ORGANIZATIONS, xmloff::token::XML_PAGES, xmloff::token::XML_PUBLISHER, xmloff::token::XML_REPORT_TYPE, xmloff::token::XML_SCHOOL, xmloff::token::XML_SERIES, xmloff::token::XML_TARGET_TYPE, xmloff::token::XML_TARGET_URL, xmloff::token::XML_TITLE, xmloff::token::XML_TOKEN_INVALID, xmloff::token::XML_URL, xmloff::token::XML_VOLUME, and xmloff::token::XML_YEAR.
Referenced by ProcessBibliographyData().
|
static |
map ChapterDisplayFormat to XML string
Definition at line 3023 of file txtflde.cxx.
References xmloff::token::XML_NAME, xmloff::token::XML_NUMBER, xmloff::token::XML_NUMBER_AND_NAME, xmloff::token::XML_PLAIN_NUMBER, xmloff::token::XML_PLAIN_NUMBER_AND_NAME, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper(), and XMLSectionExport::ExportIndexTemplateElement().
|
static |
map count/statistics field token to XML name
Definition at line 2986 of file txtflde.cxx.
References FIELD_ID_COUNT_CHARACTERS, FIELD_ID_COUNT_GRAPHICS, FIELD_ID_COUNT_OBJECTS, FIELD_ID_COUNT_PAGES, FIELD_ID_COUNT_PARAGRAPHS, FIELD_ID_COUNT_TABLES, FIELD_ID_COUNT_WORDS, nToken, xmloff::token::XML_CHARACTER_COUNT, xmloff::token::XML_IMAGE_COUNT, xmloff::token::XML_OBJECT_COUNT, xmloff::token::XML_PAGE_COUNT, xmloff::token::XML_PARAGRAPH_COUNT, xmloff::token::XML_TABLE_COUNT, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_WORD_COUNT.
Referenced by ExportFieldHelper().
|
static |
Definition at line 3225 of file txtflde.cxx.
References FIELD_ID_DOCINFO_CREATION_AUTHOR, FIELD_ID_DOCINFO_CREATION_DATE, FIELD_ID_DOCINFO_CREATION_TIME, FIELD_ID_DOCINFO_DESCRIPTION, FIELD_ID_DOCINFO_EDIT_DURATION, FIELD_ID_DOCINFO_KEYWORDS, FIELD_ID_DOCINFO_PRINT_AUTHOR, FIELD_ID_DOCINFO_PRINT_DATE, FIELD_ID_DOCINFO_PRINT_TIME, FIELD_ID_DOCINFO_REVISION, FIELD_ID_DOCINFO_SAVE_AUTHOR, FIELD_ID_DOCINFO_SAVE_DATE, FIELD_ID_DOCINFO_SAVE_TIME, FIELD_ID_DOCINFO_SUBJECT, FIELD_ID_DOCINFO_TITLE, nToken, SAL_WARN, xmloff::token::XML_CREATION_DATE, xmloff::token::XML_CREATION_TIME, xmloff::token::XML_CREATOR, xmloff::token::XML_DESCRIPTION, xmloff::token::XML_EDITING_CYCLES, xmloff::token::XML_EDITING_DURATION, xmloff::token::XML_INITIAL_CREATOR, xmloff::token::XML_KEYWORDS, xmloff::token::XML_MODIFICATION_DATE, xmloff::token::XML_MODIFICATION_TIME, xmloff::token::XML_PRINT_DATE, xmloff::token::XML_PRINT_TIME, xmloff::token::XML_PRINTED_BY, xmloff::token::XML_SUBJECT, xmloff::token::XML_TITLE, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper().
|
staticprivate |
get field ID from XTextField service name (and it's PropertySet)
Definition at line 438 of file txtflde.cxx.
References aFieldServiceNameMapping, SvXMLUnitConverter::convertEnum(), DBG_ASSERT, FIELD_ID_ANNOTATION, FIELD_ID_AUTHOR, FIELD_ID_BIBLIOGRAPHY, FIELD_ID_CHAPTER, FIELD_ID_COMBINED_CHARACTERS, FIELD_ID_CONDITIONAL_TEXT, FIELD_ID_COUNT_CHARACTERS, FIELD_ID_COUNT_GRAPHICS, FIELD_ID_COUNT_OBJECTS, FIELD_ID_COUNT_PAGES, FIELD_ID_COUNT_PARAGRAPHS, FIELD_ID_COUNT_TABLES, FIELD_ID_COUNT_WORDS, FIELD_ID_DATABASE_DISPLAY, FIELD_ID_DATABASE_NAME, FIELD_ID_DATABASE_NEXT, FIELD_ID_DATABASE_NUMBER, FIELD_ID_DATABASE_SELECT, FIELD_ID_DATE, FIELD_ID_DDE, FIELD_ID_DOCINFO_CREATION_AUTHOR, FIELD_ID_DOCINFO_CREATION_DATE, FIELD_ID_DOCINFO_CREATION_TIME, FIELD_ID_DOCINFO_CUSTOM, FIELD_ID_DOCINFO_DESCRIPTION, FIELD_ID_DOCINFO_EDIT_DURATION, FIELD_ID_DOCINFO_KEYWORDS, FIELD_ID_DOCINFO_PRINT_AUTHOR, FIELD_ID_DOCINFO_PRINT_DATE, FIELD_ID_DOCINFO_PRINT_TIME, FIELD_ID_DOCINFO_REVISION, FIELD_ID_DOCINFO_SAVE_AUTHOR, FIELD_ID_DOCINFO_SAVE_DATE, FIELD_ID_DOCINFO_SAVE_TIME, FIELD_ID_DOCINFO_SUBJECT, FIELD_ID_DOCINFO_TITLE, FIELD_ID_DROP_DOWN, FIELD_ID_EXPRESSION, FIELD_ID_FILE_NAME, FIELD_ID_HIDDEN_PARAGRAPH, FIELD_ID_HIDDEN_TEXT, FIELD_ID_MACRO, FIELD_ID_MEASURE, FIELD_ID_META, FIELD_ID_PAGENAME, FIELD_ID_PAGENUMBER, FIELD_ID_PAGESTRING, FIELD_ID_PLACEHOLDER, FIELD_ID_REF_BOOKMARK, FIELD_ID_REF_ENDNOTE, FIELD_ID_REF_FOOTNOTE, FIELD_ID_REF_REFERENCE, FIELD_ID_REF_SEQUENCE, FIELD_ID_REFPAGE_GET, FIELD_ID_REFPAGE_SET, FIELD_ID_SCRIPT, FIELD_ID_SENDER, FIELD_ID_SEQUENCE, FIELD_ID_SHEET_NAME, FIELD_ID_TABLE_FORMULA, FIELD_ID_TEMPLATE_NAME, FIELD_ID_TEXT_INPUT, FIELD_ID_TIME, FIELD_ID_UNKNOWN, FIELD_ID_URL, FIELD_ID_USER_GET, FIELD_ID_USER_INPUT, FIELD_ID_VARIABLE_GET, FIELD_ID_VARIABLE_INPUT, FIELD_ID_VARIABLE_SET, GetBoolProperty(), GetInt16Property(), GetIntProperty(), gsPropertyIsDate(), gsPropertyIsInput(), gsPropertyNumberingType(), gsPropertyReferenceFieldSource(), gsPropertySubType(), and nToken.
Referenced by GetFieldID().
|
static |
map FilenameDisplayFormat to XML attribute names
Definition at line 3055 of file txtflde.cxx.
References xmloff::token::XML_FULL, xmloff::token::XML_NAME, xmloff::token::XML_NAME_AND_EXTENSION, xmloff::token::XML_PATH, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper().
|
static |
Definition at line 3435 of file txtflde.cxx.
References xmloff::token::XML_GAP, xmloff::token::XML_UNIT, and xmloff::token::XML_VALUE.
Referenced by ExportFieldHelper().
|
static |
Definition at line 2920 of file txtflde.cxx.
References Any, gsPropertySubType(), xmloff::token::XML_CURRENT, xmloff::token::XML_NEXT, xmloff::token::XML_PREVIOUS, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper().
|
static |
map placeholder type
Definition at line 2876 of file txtflde.cxx.
References eType, nType, xmloff::token::XML_IMAGE, xmloff::token::XML_OBJECT, xmloff::token::XML_TABLE, xmloff::token::XML_TEXT, and xmloff::token::XML_TEXT_BOX.
Referenced by ExportFieldHelper().
|
static |
map ReferenceFieldPart to XML string
Definition at line 3134 of file txtflde.cxx.
References nType, xmloff::token::XML_BOOKMARK_REF, xmloff::token::XML_NOTE_REF, xmloff::token::XML_REFERENCE_REF, xmloff::token::XML_SEQUENCE_REF, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper().
|
static |
map ReferenceFieldPart to XML string
Definition at line 3082 of file txtflde.cxx.
References nType, xmloff::token::XML_CAPTION, xmloff::token::XML_CATEGORY_AND_VALUE, xmloff::token::XML_CHAPTER, xmloff::token::XML_DIRECTION, xmloff::token::XML_NUMBER, xmloff::token::XML_NUMBER_ALL_SUPERIOR, xmloff::token::XML_NUMBER_NO_SUPERIOR, xmloff::token::XML_PAGE, xmloff::token::XML_TEMPLATE, xmloff::token::XML_TEXT, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_VALUE.
Referenced by ExportFieldHelper(), and XMLSectionExport::ExportTableAndIllustrationIndexSourceAttributes().
|
static |
element name for sender fields
Definition at line 3163 of file txtflde.cxx.
References GetInt16Property(), gsPropertyFieldSubType(), SAL_WARN, xmloff::token::XML_SENDER_CITY, xmloff::token::XML_SENDER_COMPANY, xmloff::token::XML_SENDER_COUNTRY, xmloff::token::XML_SENDER_EMAIL, xmloff::token::XML_SENDER_FAX, xmloff::token::XML_SENDER_FIRSTNAME, xmloff::token::XML_SENDER_INITIALS, xmloff::token::XML_SENDER_LASTNAME, xmloff::token::XML_SENDER_PHONE_PRIVATE, xmloff::token::XML_SENDER_PHONE_WORK, xmloff::token::XML_SENDER_POSITION, xmloff::token::XML_SENDER_POSTAL_CODE, xmloff::token::XML_SENDER_STATE_OR_PROVINCE, xmloff::token::XML_SENDER_STREET, xmloff::token::XML_SENDER_TITLE, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper().
|
static |
map TemplateDisplayFormat to XML
Definition at line 2952 of file txtflde.cxx.
References xmloff::token::XML_AREA, xmloff::token::XML_FULL, xmloff::token::XML_NAME, xmloff::token::XML_NAME_AND_EXTENSION, xmloff::token::XML_PATH, xmloff::token::XML_TITLE, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper().
|
private |
date/time value
export all attributes for bibliography data fields
Definition at line 2677 of file txtflde.cxx.
References aBibliographyDataTypeMap, SvXMLExport::AddAttribute(), Any, SvXMLUnitConverter::convertEnum(), GetExport(), SvXMLExport::GetRelativeReference(), gsPropertyFields(), MapBibliographyFieldName(), rExport, xmloff::token::XML_BIBLIOGRAPHY_TYPE, xmloff::token::XML_LOCAL_URL, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_TEXT, xmloff::token::XML_TARGET_TYPE, xmloff::token::XML_TARGET_URL, and xmloff::token::XML_URL.
Referenced by ExportFieldHelper().
|
private |
export a boolean attribute
export boolean property
bBool | attribute token (namespace text) |
bDefault | attribute value |
Definition at line 2419 of file txtflde.cxx.
References SvXMLExport::AddAttribute(), GetExport(), SAL_WARN_IF, xmloff::token::XML_FALSE, XML_NAMESPACE_TEXT, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_TRUE.
Referenced by ExportFieldHelper().
|
private |
export CommandTypeAttribute
Definition at line 2728 of file txtflde.cxx.
References SvXMLExport::AddAttribute(), eToken, rExport, xmloff::token::XML_COMMAND, XML_NAMESPACE_TEXT, xmloff::token::XML_QUERY, xmloff::token::XML_TABLE, xmloff::token::XML_TABLE_TYPE, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper().
|
private |
export as duration?
export times, dates and durations according to ISO 8601
rTime | attribute token |
|
private |
exporting a time style?
export times, dates and durations according to ISO 8601
dValue | attribute token |
bIsDate | date/time value |
bIsDuration | export as date (rather than date/time)? |
bOmitDurationIfZero | export as duration |
nPrefix | omit zero-length durat. |
Referenced by ExportFieldHelper().
|
private |
attribute name prefix
export a date, time, or duration
nMinutes | attribute token |
bIsDate | date/time value in minutes |
bIsDuration | export as date? |
|
private |
numbering type key
process display related properties
export display attribute (value, formula, none)
bIsCommand | is visible? |
Definition at line 2396 of file txtflde.cxx.
References SvXMLExport::AddAttribute(), GetExport(), xmloff::token::XML_DISPLAY, xmloff::token::XML_FORMULA, XML_NAMESPACE_TEXT, xmloff::token::XML_NONE, and xmloff::token::XML_VALUE.
Referenced by ExportFieldHelper().
|
private |
attribute default; omit, if attribute differs
export an integer attribute
nNum | attribute token (namespace text) |
Definition at line 2528 of file txtflde.cxx.
References SvXMLExport::AddAttribute(), GetExport(), SAL_WARN_IF, XML_NAMESPACE_TEXT, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportFieldHelper(), and ProcessIntegerDef().
|
private |
attribute value
export an integer attribute, omit if default
nNum | attribute token (namespace text) |
nDefault | attribute value |
Definition at line 2540 of file txtflde.cxx.
References ProcessInteger().
Referenced by ExportFieldHelper().
|
private |
export a numbering format (numeric, roman, alphabetic, etc.)
export a numbering type
Definition at line 2549 of file txtflde.cxx.
References SvXMLExport::AddAttribute(), SvXMLUnitConverter::convertNumFormat(), SvXMLUnitConverter::convertNumLetterSync(), GetExport(), SvXMLExport::GetMM100UnitConverter(), XML_NAMESPACE_STYLE, xmloff::token::XML_NUM_FORMAT, and xmloff::token::XML_NUM_LETTER_SYNC.
Referenced by ExportFieldHelper().
|
private |
default value token
export a string as a sequence of paragraphs
sParagraphSequence | string containing the paragraphs |
Definition at line 2512 of file txtflde.cxx.
References SvXMLExport::Characters(), GetExport(), SvXMLTokenEnumerator::getNextToken(), XML_NAMESPACE_TEXT, and xmloff::token::XML_P.
Referenced by ExportFieldHelper().
|
private |
default value
export a string attribute
sValue | attribute token (namespace text) |
bOmitEmpty | attribute value |
nPrefix | omit attribute, if value is empty |
Referenced by ExportFieldHelper(), ExportMacro(), and ProcessTimeOrDateTime().
|
private |
attribute value
export a string attribute, omit if default
sValue | attribute token (namespace text) |
sDefault | attribute value |
|
private |
attribute name prefix
export a string attribute, omit if default
eValue | attribute token (namespace text) |
eDefault | attribute value token |
|
private |
default value; omit if equal
export a string attribute
eValue | attribute token (namespace text) |
nPrefix | attribute token |
|
private |
attribute name prefix
export a string attribute that gets a QName value
nValuePrefix | attribute token (namespace text) |
|
private |
default value; omit if equal
export a string attribute, omit if default
nValuePrefix | attribute token (namespace text) |
sDefault | attribute value |
|
private |
css::sdb::CommandType
Referenced by ExportFieldHelper().
|
private |
|
private |
date/time value
export a time or dateTime
export time or dateTime
rTime | attribute token |
Definition at line 2636 of file txtflde.cxx.
References aBuffer, sax::Converter::convertTimeOrDateTime(), and ProcessString().
Referenced by ExportFieldHelper().
|
private |
is show command/show name?
export all data-style related attributes
nFormatKey | do we process a string or a number? |
sContent | format key for NumberFormatter; possibly -1 |
sDefault | string content; possibly invalid |
fValue | default string |
bExportValue | float content; possibly invalid |
bExportValueType | export value attribute? |
bExportStyle | export value-type attribute? |
bForceSystemLanguage | export style-attribute? |
bTimeStyle | no style language export |
Definition at line 2331 of file txtflde.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::dataStyleForceSystemLanguage(), DBG_ASSERT, SvXMLExport::getDataStyleName(), GetExport(), XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(), xmloff::token::XML_DATA_STYLE_NAME, and XML_NAMESPACE_STYLE.
Referenced by ExportFieldHelper(), and ExportMetaField().
void XMLTextFieldExport::SetExportOnlyUsedFieldDeclarations | ( | bool | bExportOnlyUsed = true | ) |
export all field declarations, or only those that have been used? Calling this method will reset the list of used field declarations.
Definition at line 2194 of file txtflde.cxx.
References pUsedMasters.
Referenced by XMLTextFieldExport().
|
private |
Definition at line 409 of file txtflde.hxx.
Referenced by ExportField(), and ExportFieldAutoStyle().
|
private |
store used text field master names (NULL means: don't collect)
Definition at line 157 of file txtflde.hxx.
Referenced by ExportFieldAutoStyle(), and SetExportOnlyUsedFieldDeclarations().
|
private |
Definition at line 151 of file txtflde.hxx.
Referenced by ExportDataBaseElement(), ExportFieldHelper(), GetExport(), ProcessBibliographyData(), and ProcessCommandType().