24#include <rtl/ustrbuf.hxx>
25#include <com/sun/star/style/ParagraphAdjust.hpp>
26#include <com/sun/star/uno/Any.hxx>
34 {
XML_START, style::ParagraphAdjust_LEFT },
35 {
XML_END, style::ParagraphAdjust_RIGHT },
39 {
XML_LEFT, style::ParagraphAdjust_LEFT },
40 {
XML_RIGHT, style::ParagraphAdjust_RIGHT },
46 {
XML_START, style::ParagraphAdjust_LEFT },
63 style::ParagraphAdjust eAdjust;
66 rValue <<= static_cast<sal_Int16>(eAdjust);
82 rStrExpValue = aOut.makeStringAndClear();
97 style::ParagraphAdjust eAdjust;
100 rValue <<= static_cast<sal_Int16>(eAdjust);
113 if(
static_cast<style::ParagraphAdjust
>(nVal) != style::ParagraphAdjust_LEFT )
116 rStrExpValue = aOut.makeStringAndClear();
SvXMLEnumMapEntry< style::ParagraphAdjust > const pXML_Para_Align_Last_Enum[]
SvXMLEnumMapEntry< style::ParagraphAdjust > const pXML_Para_Adjust_Enum[]
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
static bool convertEnum(EnumT &rEnum, std::u16string_view rValue, const SvXMLEnumMapEntry< EnumT > *pMap)
convert string to enum using given enum map, if the enum is not found in the map, this method will re...
virtual bool importXML(const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Imports the given value according to the XML-data-type corresponding to the derived class.
virtual bool exportXML(OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Exports the given value according to the XML-data-type corresponding to the derived class.
virtual ~XMLLastLineAdjustPropHdl() override
virtual bool exportXML(OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Exports the given value according to the XML-data-type corresponding to the derived class.
virtual bool importXML(const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Imports the given value according to the XML-data-type corresponding to the derived class.
virtual ~XMLParaAdjustPropHdl() override
Handling of tokens in XML: