LibreOffice Module xmloff (master)
1
|
PropertyHandler for the XML-data-type: More...
#include <backhdl.hxx>
Public Member Functions | |
virtual | ~XMLBackGraphicPositionPropHdl () override |
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. More... | |
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. More... | |
![]() | |
virtual | ~XMLPropertyHandler () |
virtual bool | equals (const css::uno::Any &r1, const css::uno::Any &r2) const |
Compares two Any's in case of the given XML-data-type. More... | |
Static Private Member Functions | |
static void | MergeXMLHoriPos (css::style::GraphicLocation &ePos, css::style::GraphicLocation eHori) |
static void | MergeXMLVertPos (css::style::GraphicLocation &ePos, css::style::GraphicLocation eVert) |
PropertyHandler for the XML-data-type:
Definition at line 29 of file backhdl.hxx.
|
overridevirtual |
Definition at line 49 of file backhdl.cxx.
|
overridevirtual |
Exports the given value according to the XML-data-type corresponding to the derived class.
Implements XMLPropertyHandler.
Definition at line 139 of file backhdl.cxx.
References xmloff::token::GetXMLToken(), nValue, xmloff::token::XML_BOTTOM, xmloff::token::XML_CENTER, xmloff::token::XML_LEFT, xmloff::token::XML_RIGHT, and xmloff::token::XML_TOP.
|
overridevirtual |
Imports the given value according to the XML-data-type corresponding to the derived class.
true | if the value was successfully converted to Any |
false | if the value was not recognised (warning will be printed) |
Implements XMLPropertyHandler.
Definition at line 54 of file backhdl.cxx.
References SvXMLUnitConverter::convertEnum(), sax::Converter::convertPercent(), ePos, SvXMLTokenEnumerator::getNextToken(), xmloff::token::IsXMLToken(), MergeXMLHoriPos(), MergeXMLVertPos(), and xmloff::token::XML_CENTER.
|
staticprivate |
|
staticprivate |
Definition at line 214 of file backhdl.cxx.
Referenced by importXML().