LibreOffice Module xmloff (master) 1
|
#include <sdpropls.hxx>
Public Member Functions | |
XMLShapeExportPropertyMapper (const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLExport &rExport) | |
virtual | ~XMLShapeExportPropertyMapper () override |
virtual void | handleElementItem (SvXMLExport &rExport, const XMLPropertyState &rProperty, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const override |
this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set More... | |
void | SetAutoStyles (bool bIsInAutoStyles) |
virtual void | handleSpecialItem (comphelper::AttributeList &rAttrList, const XMLPropertyState &rProperty, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const override |
this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set More... | |
Public Member Functions inherited from SvXMLExportPropertyMapper | |
SvXMLExportPropertyMapper (const rtl::Reference< XMLPropertySetMapper > &rMapper) | |
virtual | ~SvXMLExportPropertyMapper () override |
void | ChainExportMapper (const rtl::Reference< SvXMLExportPropertyMapper > &rMapper) |
std::vector< XMLPropertyState > | Filter (SvXMLExport const &rExport, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool bEnableFoFontFamily=false) const |
Filter all properties we don't want to export: Take all properties of the XPropertySet which are also found in the XMLPropertyMapEntry-array and which are not set directly (so, the value isn't default and isn't inherited) After this process It'll called 'Contextfilter' for application-specific filter-processes. More... | |
std::vector< XMLPropertyState > | FilterDefaults (SvXMLExport const &rExport, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const |
Like Filter(), except that: More... | |
bool | LessPartial (const ::std::vector< XMLPropertyState > &aProperties1, const ::std::vector< XMLPropertyState > &aProperties2) const |
Provides a partial ordering over two arrays of XMLPropertyState, Partial because implementing a full order requires quite a lot of code. More... | |
bool | Equals (const ::std::vector< XMLPropertyState > &aProperties1, const ::std::vector< XMLPropertyState > &aProperties2) const |
Compare two arrays of XMLPropertyState. More... | |
void | exportXML (SvXMLExport &rExport, const ::std::vector< XMLPropertyState > &rProperties, SvXmlExportFlags nFlags, bool bUseExtensionNamespaceForGraphicProperties=false) const |
fills the given attribute list with the items in the given set void SvXMLExportPropertyMapper::exportXML( SvXMLAttributeList& rAttrList,
const ::std::vector< XMLPropertyState >& rProperties,
const SvXMLUnitConverter& rUnitConverter,
const SvXMLNamespaceMap& rNamespaceMap,
sal_uInt16 nFlags ) const { _exportXML( rAttrList, rProperties, rUnitConverter, rNamespaceMap, nFlags, 0, -1, -1 ); } More... | |
void | exportXML (SvXMLExport &rExport, const ::std::vector< XMLPropertyState > &rProperties, sal_Int32 nPropMapStartIdx, sal_Int32 nPropMapEndIdx, SvXmlExportFlags nFlags, bool bExtensionNamespace=false) const |
like above but only properties whose property map index is within the specified range are exported More... | |
virtual void | handleElementItem (SvXMLExport &rExport, const XMLPropertyState &rProperty, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const |
this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set More... | |
virtual void | handleSpecialItem (comphelper::AttributeList &rAttrList, const XMLPropertyState &rProperty, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const |
this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set More... | |
const rtl::Reference< XMLPropertySetMapper > & | getPropertySetMapper () const |
void | SetStyleName (const OUString &rStyleName) |
const OUString & | GetStyleName () const |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
virtual void | ContextFilter (bool bEnableFoFontFamily, ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const override |
Application-specific filter. More... | |
Protected Member Functions inherited from SvXMLExportPropertyMapper | |
std::vector< XMLPropertyState > | Filter_ (SvXMLExport const &rExport, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool bDefault, bool bDisableFoFontFamily) const |
Filter all properties we don't want to export: Take all properties of the XPropertySet which are also found in the XMLPropertyMapEntry-array and which are not set directly (so, the value isn't default and isn't inherited, apart from bDefault is true) After this process It'll called 'Contextfilter' for application-specific filter-processes. More... | |
virtual void | ContextFilter (bool bEnableFoFontFamily, ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const |
Application-specific filter. More... | |
void | _exportXML (sal_uInt16 nPropType, sal_uInt16 &rPropTypeFlags, comphelper::AttributeList &rAttrList, const ::std::vector< XMLPropertyState > &rProperties, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, std::vector< sal_uInt16 > *pIndexArray, sal_Int32 nPropMapStartIdx, sal_Int32 nPropMapEndIdx) const |
fills the given attribute list with the items in the given set More... | |
void | _exportXML (comphelper::AttributeList &rAttrList, const XMLPropertyState &rProperty, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const |
void | exportElementItems (SvXMLExport &rExport, const ::std::vector< XMLPropertyState > &rProperties, SvXmlExportFlags nFlags, const std::vector< sal_uInt16 > &rIndexArray) const |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Attributes | |
SvxXMLNumRuleExport | maNumRuleExp |
bool | mbIsInAutoStyles |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 74 of file sdpropls.hxx.
XMLShapeExportPropertyMapper::XMLShapeExportPropertyMapper | ( | const rtl::Reference< XMLPropertySetMapper > & | rMapper, |
SvXMLExport & | rExport | ||
) |
Definition at line 1332 of file sdpropls.cxx.
|
overridevirtual |
Definition at line 1339 of file sdpropls.cxx.
|
overrideprotectedvirtual |
Application-specific filter.
By default do nothing.
Reimplemented from SvXMLExportPropertyMapper.
Definition at line 1343 of file sdpropls.cxx.
References aStr, SvXMLExportPropertyMapper::ContextFilter(), CTF_CAPTION_ESCABS, CTF_CAPTION_ESCREL, CTF_CAPTION_ISESCREL, CTF_CONTROLWRITINGMODE, CTF_DASHNAME, CTF_FILLBITMAPNAME, CTF_FILLGRADIENTNAME, CTF_FILLHATCHNAME, CTF_FONTWORK_ADJUST, CTF_FONTWORK_DISTANCE, CTF_FONTWORK_FORM, CTF_FONTWORK_HIDEFORM, CTF_FONTWORK_MIRROR, CTF_FONTWORK_OUTLINE, CTF_FONTWORK_SHADOW, CTF_FONTWORK_SHADOWCOLOR, CTF_FONTWORK_SHADOWOFFSETX, CTF_FONTWORK_SHADOWOFFSETY, CTF_FONTWORK_SHADOWTRANSPARENCE, CTF_FONTWORK_START, CTF_FONTWORK_STYLE, CTF_FRAME_DISPLAY_SCROLLBAR, CTF_FRAME_MARGIN_HORI, CTF_FRAME_MARGIN_VERT, CTF_NUMBERINGRULES, CTF_REPEAT_OFFSET_X, CTF_REPEAT_OFFSET_Y, CTF_SD_MOVE_PROTECT, CTF_SD_NUMBERINGRULES_NAME, CTF_SD_OLE_ISINTERNAL, CTF_SD_OLE_VIS_AREA_EXPORT_HEIGHT, CTF_SD_OLE_VIS_AREA_EXPORT_LEFT, CTF_SD_OLE_VIS_AREA_EXPORT_TOP, CTF_SD_OLE_VIS_AREA_EXPORT_WIDTH, CTF_SD_OLE_VIS_AREA_IMPORT_HEIGHT, CTF_SD_OLE_VIS_AREA_IMPORT_LEFT, CTF_SD_OLE_VIS_AREA_IMPORT_TOP, CTF_SD_OLE_VIS_AREA_IMPORT_WIDTH, CTF_SD_SIZE_PROTECT, CTF_TEXT_CLIP, CTF_TEXT_CLIP11, CTF_TEXTANIMATION_BLINKING, CTF_TEXTANIMATION_KIND, CTF_TEXTWRITINGMODE, CTF_WRITINGMODE, CTF_WRITINGMODE2, SvXMLExportPropertyMapper::getPropertySetMapper(), XMLPropertyState::maValue, mbIsInAutoStyles, XMLPropertyState::mnIndex, and nValue.
|
overridevirtual |
this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set
Reimplemented from SvXMLExportPropertyMapper.
Definition at line 1711 of file sdpropls.cxx.
References CTF_NUMBERINGRULES, SvxXMLNumRuleExport::exportNumberingRule(), SvXMLExportPropertyMapper::getPropertySetMapper(), SvXMLExportPropertyMapper::GetStyleName(), SvXMLExportPropertyMapper::handleElementItem(), maNumRuleExp, XMLPropertyState::maValue, mbIsInAutoStyles, and XMLPropertyState::mnIndex.
|
overridevirtual |
this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set
Reimplemented from SvXMLExportPropertyMapper.
Definition at line 1691 of file sdpropls.cxx.
References CTF_SD_CONTROL_SHAPE_DATA_STYLE, SvXMLExportPropertyMapper::getPropertySetMapper(), SvXMLExportPropertyMapper::handleSpecialItem(), and XMLPropertyState::mnIndex.
|
inline |
Definition at line 97 of file sdpropls.hxx.
References mbIsInAutoStyles.
Referenced by SdXMLExport::collectAutoStyles(), and SdXMLExport::ExportStyles_().
|
private |
Definition at line 77 of file sdpropls.hxx.
Referenced by handleElementItem().
|
private |
Definition at line 78 of file sdpropls.hxx.
Referenced by ContextFilter(), handleElementItem(), and SetAutoStyles().