summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtflde.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtflde.cxx')
-rw-r--r--xmloff/source/text/txtflde.cxx140
1 files changed, 70 insertions, 70 deletions
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index fa4c6541d00a..f4d32a263144 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -295,78 +295,78 @@ static Sequence<OUString> GetStringSequenceProperty(
// service names
-const OUStringLiteral gsServicePrefix(u"com.sun.star.text.textfield.");
-const OUStringLiteral gsFieldMasterPrefix(u"com.sun.star.text.FieldMaster.");
-const OUStringLiteral gsPresentationServicePrefix(u"com.sun.star.presentation.TextField.");
+constexpr OUStringLiteral gsServicePrefix(u"com.sun.star.text.textfield.");
+constexpr OUStringLiteral gsFieldMasterPrefix(u"com.sun.star.text.FieldMaster.");
+constexpr OUStringLiteral gsPresentationServicePrefix(u"com.sun.star.presentation.TextField.");
// property names
-const OUStringLiteral gsPropertyAdjust(u"Adjust");
-const OUStringLiteral gsPropertyAuthor(u"Author");
-const OUStringLiteral gsPropertyChapterFormat(u"ChapterFormat");
-const OUStringLiteral gsPropertyChapterNumberingLevel(u"ChapterNumberingLevel");
-const OUStringLiteral gsPropertyCharStyleNames(u"CharStyleNames");
-const OUStringLiteral gsPropertyCondition(u"Condition");
-const OUStringLiteral gsPropertyContent(u"Content");
-const OUStringLiteral gsPropertyDataBaseName(u"DataBaseName");
-const OUStringLiteral gsPropertyDataBaseURL(u"DataBaseURL");
-const OUStringLiteral gsPropertyDataColumnName(u"DataColumnName");
-const OUStringLiteral gsPropertyDataCommandType(u"DataCommandType");
-const OUStringLiteral gsPropertyDataTableName(u"DataTableName");
-const OUStringLiteral gsPropertyDateTime(u"DateTime");
-const OUStringLiteral gsPropertyDateTimeValue(u"DateTimeValue");
-const OUStringLiteral gsPropertyDDECommandElement(u"DDECommandElement");
-const OUStringLiteral gsPropertyDDECommandFile(u"DDECommandFile");
-const OUStringLiteral gsPropertyDDECommandType(u"DDECommandType");
-const OUStringLiteral gsPropertyDependentTextFields(u"DependentTextFields");
-const OUStringLiteral gsPropertyFalseContent(u"FalseContent");
-const OUStringLiteral gsPropertyFields(u"Fields");
-const OUStringLiteral gsPropertyFieldSubType(u"UserDataType");
-const OUStringLiteral gsPropertyFileFormat(u"FileFormat");
-const OUStringLiteral gsPropertyFullName(u"FullName");
-const OUStringLiteral gsPropertyHint(u"Hint");
-const OUStringLiteral gsPropertyInitials(u"Initials");
-const OUStringLiteral gsPropertyInstanceName(u"InstanceName");
-const OUStringLiteral gsPropertyIsAutomaticUpdate(u"IsAutomaticUpdate");
-const OUStringLiteral gsPropertyIsConditionTrue(u"IsConditionTrue");
-const OUStringLiteral gsPropertyIsDataBaseFormat(u"DataBaseFormat");
-const OUStringLiteral gsPropertyIsDate(u"IsDate");
-const OUStringLiteral gsPropertyIsExpression(u"IsExpression");
-const OUStringLiteral gsPropertyIsFixed(u"IsFixed");
-const OUStringLiteral gsPropertyIsFixedLanguage(u"IsFixedLanguage");
-const OUStringLiteral gsPropertyIsHidden(u"IsHidden");
-const OUStringLiteral gsPropertyIsInput(u"Input");
-const OUStringLiteral gsPropertyIsShowFormula(u"IsShowFormula");
-const OUStringLiteral gsPropertyIsVisible(u"IsVisible");
-const OUStringLiteral gsPropertyItems(u"Items");
-const OUStringLiteral gsPropertyLevel(u"Level");
-const OUStringLiteral gsPropertyMeasureKind(u"Kind");
-const OUStringLiteral gsPropertyName(u"Name");
-const OUStringLiteral gsPropertyNumberFormat(u"NumberFormat");
-const OUStringLiteral gsPropertyNumberingSeparator(u"NumberingSeparator");
-const OUStringLiteral gsPropertyNumberingType(u"NumberingType");
-const OUStringLiteral gsPropertyOffset(u"Offset");
-const OUStringLiteral gsPropertyOn(u"On");
-const OUStringLiteral gsPropertyPlaceholderType(u"PlaceHolderType");
-const OUStringLiteral gsPropertyReferenceFieldPart(u"ReferenceFieldPart");
-const OUStringLiteral gsPropertyReferenceFieldSource(u"ReferenceFieldSource");
-const OUStringLiteral gsPropertyReferenceFieldLanguage(u"ReferenceFieldLanguage");
-const OUStringLiteral gsPropertyScriptType(u"ScriptType");
-const OUStringLiteral gsPropertySelectedItem(u"SelectedItem");
-const OUStringLiteral gsPropertySequenceNumber(u"SequenceNumber");
-const OUStringLiteral gsPropertySequenceValue(u"SequenceValue");
-const OUStringLiteral gsPropertySetNumber(u"SetNumber");
-const OUStringLiteral gsPropertySourceName(u"SourceName");
-const OUStringLiteral gsPropertySubType(u"SubType");
-const OUStringLiteral gsPropertyTargetFrame(u"TargetFrame");
-const OUStringLiteral gsPropertyTrueContent(u"TrueContent");
-const OUStringLiteral gsPropertyURL(u"URL");
-const OUStringLiteral gsPropertyURLContent(u"URLContent");
-const OUStringLiteral gsPropertyUserText(u"UserText");
-const OUStringLiteral gsPropertyValue(u"Value");
-const OUStringLiteral gsPropertyVariableName(u"VariableName");
-const OUStringLiteral gsPropertyHelp(u"Help");
-const OUStringLiteral gsPropertyTooltip(u"Tooltip");
-const OUStringLiteral gsPropertyTextRange(u"TextRange");
+constexpr OUStringLiteral gsPropertyAdjust(u"Adjust");
+constexpr OUStringLiteral gsPropertyAuthor(u"Author");
+constexpr OUStringLiteral gsPropertyChapterFormat(u"ChapterFormat");
+constexpr OUStringLiteral gsPropertyChapterNumberingLevel(u"ChapterNumberingLevel");
+constexpr OUStringLiteral gsPropertyCharStyleNames(u"CharStyleNames");
+constexpr OUStringLiteral gsPropertyCondition(u"Condition");
+constexpr OUStringLiteral gsPropertyContent(u"Content");
+constexpr OUStringLiteral gsPropertyDataBaseName(u"DataBaseName");
+constexpr OUStringLiteral gsPropertyDataBaseURL(u"DataBaseURL");
+constexpr OUStringLiteral gsPropertyDataColumnName(u"DataColumnName");
+constexpr OUStringLiteral gsPropertyDataCommandType(u"DataCommandType");
+constexpr OUStringLiteral gsPropertyDataTableName(u"DataTableName");
+constexpr OUStringLiteral gsPropertyDateTime(u"DateTime");
+constexpr OUStringLiteral gsPropertyDateTimeValue(u"DateTimeValue");
+constexpr OUStringLiteral gsPropertyDDECommandElement(u"DDECommandElement");
+constexpr OUStringLiteral gsPropertyDDECommandFile(u"DDECommandFile");
+constexpr OUStringLiteral gsPropertyDDECommandType(u"DDECommandType");
+constexpr OUStringLiteral gsPropertyDependentTextFields(u"DependentTextFields");
+constexpr OUStringLiteral gsPropertyFalseContent(u"FalseContent");
+constexpr OUStringLiteral gsPropertyFields(u"Fields");
+constexpr OUStringLiteral gsPropertyFieldSubType(u"UserDataType");
+constexpr OUStringLiteral gsPropertyFileFormat(u"FileFormat");
+constexpr OUStringLiteral gsPropertyFullName(u"FullName");
+constexpr OUStringLiteral gsPropertyHint(u"Hint");
+constexpr OUStringLiteral gsPropertyInitials(u"Initials");
+constexpr OUStringLiteral gsPropertyInstanceName(u"InstanceName");
+constexpr OUStringLiteral gsPropertyIsAutomaticUpdate(u"IsAutomaticUpdate");
+constexpr OUStringLiteral gsPropertyIsConditionTrue(u"IsConditionTrue");
+constexpr OUStringLiteral gsPropertyIsDataBaseFormat(u"DataBaseFormat");
+constexpr OUStringLiteral gsPropertyIsDate(u"IsDate");
+constexpr OUStringLiteral gsPropertyIsExpression(u"IsExpression");
+constexpr OUStringLiteral gsPropertyIsFixed(u"IsFixed");
+constexpr OUStringLiteral gsPropertyIsFixedLanguage(u"IsFixedLanguage");
+constexpr OUStringLiteral gsPropertyIsHidden(u"IsHidden");
+constexpr OUStringLiteral gsPropertyIsInput(u"Input");
+constexpr OUStringLiteral gsPropertyIsShowFormula(u"IsShowFormula");
+constexpr OUStringLiteral gsPropertyIsVisible(u"IsVisible");
+constexpr OUStringLiteral gsPropertyItems(u"Items");
+constexpr OUStringLiteral gsPropertyLevel(u"Level");
+constexpr OUStringLiteral gsPropertyMeasureKind(u"Kind");
+constexpr OUStringLiteral gsPropertyName(u"Name");
+constexpr OUStringLiteral gsPropertyNumberFormat(u"NumberFormat");
+constexpr OUStringLiteral gsPropertyNumberingSeparator(u"NumberingSeparator");
+constexpr OUStringLiteral gsPropertyNumberingType(u"NumberingType");
+constexpr OUStringLiteral gsPropertyOffset(u"Offset");
+constexpr OUStringLiteral gsPropertyOn(u"On");
+constexpr OUStringLiteral gsPropertyPlaceholderType(u"PlaceHolderType");
+constexpr OUStringLiteral gsPropertyReferenceFieldPart(u"ReferenceFieldPart");
+constexpr OUStringLiteral gsPropertyReferenceFieldSource(u"ReferenceFieldSource");
+constexpr OUStringLiteral gsPropertyReferenceFieldLanguage(u"ReferenceFieldLanguage");
+constexpr OUStringLiteral gsPropertyScriptType(u"ScriptType");
+constexpr OUStringLiteral gsPropertySelectedItem(u"SelectedItem");
+constexpr OUStringLiteral gsPropertySequenceNumber(u"SequenceNumber");
+constexpr OUStringLiteral gsPropertySequenceValue(u"SequenceValue");
+constexpr OUStringLiteral gsPropertySetNumber(u"SetNumber");
+constexpr OUStringLiteral gsPropertySourceName(u"SourceName");
+constexpr OUStringLiteral gsPropertySubType(u"SubType");
+constexpr OUStringLiteral gsPropertyTargetFrame(u"TargetFrame");
+constexpr OUStringLiteral gsPropertyTrueContent(u"TrueContent");
+constexpr OUStringLiteral gsPropertyURL(u"URL");
+constexpr OUStringLiteral gsPropertyURLContent(u"URLContent");
+constexpr OUStringLiteral gsPropertyUserText(u"UserText");
+constexpr OUStringLiteral gsPropertyValue(u"Value");
+constexpr OUStringLiteral gsPropertyVariableName(u"VariableName");
+constexpr OUStringLiteral gsPropertyHelp(u"Help");
+constexpr OUStringLiteral gsPropertyTooltip(u"Tooltip");
+constexpr OUStringLiteral gsPropertyTextRange(u"TextRange");
XMLTextFieldExport::XMLTextFieldExport( SvXMLExport& rExp,
std::unique_ptr<XMLPropertyState> pCombinedCharState)