19#ifndef INCLUDED_XMLOFF_PRSTYLEI_HXX
20#define INCLUDED_XMLOFF_PRSTYLEI_HXX
28#include <unordered_set>
44 css::uno::Reference < css::style::XStyle >
mxStyle;
54 bool doNewDrawingLayerFillStyleDefinitionsExist(
55 std::u16string_view rFillStyleTag)
const;
63 void deactivateOldFillStyleDefinitions(
70 void translateNameBasedDrawingLayerFillStyleDefinitionsToStyleDisplayNames();
77 virtual void SetAttribute( sal_Int32 nElement,
const OUString& rValue )
override;
84 virtual css::uno::Reference< css::style::XStyle >
Create();
91 bool bDefaultStyle=
false );
95 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
97 virtual void FillPropertySet(
98 const css::uno::Reference< css::beans::XPropertySet > & rPropSet );
105 const css::uno::Reference< css::style::XStyle >&
108 const css::uno::Reference< css::style::XStyle >& xStl) { mxStyle = xStl; }
113 virtual void Finish(
bool bOverwrite )
override;
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
virtual void SetAttribute(sal_Int32 nElement, const OUString &rValue)
virtual void Finish(bool bOverwrite)
virtual void CreateAndInsert(bool bOverwrite)
virtual void SetDefaults()
virtual bool isEmptyDataStyleName()
const css::uno::Reference< css::style::XStyle > & GetStyle() const
::std::vector< XMLPropertyState > & GetProperties()
XMLPropStyleContext(XMLPropStyleContext const &)=delete
const SvXMLStylesContext * GetStyles() const
void SetStyle(const css::uno::Reference< css::style::XStyle > &xStl)
css::uno::Reference< css::style::XStyle > mxStyle
rtl::Reference< SvXMLStylesContext > mxStyles
::std::vector< XMLPropertyState > maProperties
SvXMLStylesContext * GetStyles()
const ::std::vector< XMLPropertyState > & GetProperties() const
SvGenericNameContainerMapImpl maProperties
class SAL_NO_VTABLE XPropertySet
std::unordered_set< OUString > OldFillStyleDefinitionSet
Smart struct to transport an Any with an index to the appropriate property-name.