36 SvXMLImport& rImport, sal_Int32 nElement,
37 const Reference< xml::sax::XFastAttributeList > & xAttrList,
39 ::std::vector< XMLPropertyState > &rProps,
41 OUString& rDCTextStyleName ) :
44 rDropCapTextStyleName( rDCTextStyleName )
54 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList,
55 ::std::vector< XMLPropertyState > &rProperties,
58 switch(
mxMapper->getPropertySetMapper()
59 ->GetEntryContextId( rProp.
mnIndex ) )
80 ->GetEntryContextId( rProp.
mnIndex-2 ),
81 "invalid property map!");
97 ->GetEntryContextId( rProp.
mnIndex-2 ) &&
99 ->GetEntryContextId( rProp.
mnIndex-1 ),
100 "invalid property map!");
104 sal_Int32 nTranspIndex = -1;
107 mxMapper->getPropertySetMapper()->GetEntryContextId(
109 nTranspIndex = rProp.
mnIndex-3;
132 rProperties, rProp );
SvXMLImport & GetImport()
rtl::Reference< SvXMLImportPropertyMapper > mxMapper
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
const OUString & GetStyleName() const
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, ::std::vector< XMLPropertyState > &rProperties, const XMLPropertyState &rProp) override
This method is called from this instance implementation of CreateChildContext if the element matches ...
XMLTextPropertySetContext(SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, sal_uInt32 nFamily, ::std::vector< XMLPropertyState > &rProps, const rtl::Reference< SvXMLImportPropertyMapper > &rMap, OUString &rDopCapTextStyleName)
OUString & rDropCapTextStyleName
virtual ~XMLTextPropertySetContext() override
#define DBG_ASSERT(sCon, aError)
Smart struct to transport an Any with an index to the appropriate property-name.
#define CTF_BACKGROUND_POS
#define CTF_BACKGROUND_FILTER
#define CTF_DROPCAPFORMAT
#define CTF_COMPLEX_COLOR
#define CTF_BACKGROUND_URL
#define CTF_SECTION_ENDNOTE_END
#define CTF_BACKGROUND_TRANSPARENCY
#define CTF_SECTION_FOOTNOTE_END
#define CTF_DROPCAPWHOLEWORD