22#include <rtl/ustring.hxx>
42 SvXMLImport& rImport);
47 ::std::vector< XMLPropertyState >& rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex )
const override;
58 SvXMLImport& rImport);
63 ::std::vector< XMLPropertyState >& rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex )
const override;
83 const OUString& rValue )
override;
92 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
95 css::beans::XPropertySet > & rPropSet )
override;
99 void AddProperty(sal_Int16 nContextID,
const css::uno::Any& aValue);
107 void ApplyCondFormat(
const css::uno::Sequence<css::table::CellRangeAddress>& xCellRanges );
115 css::uno::Reference< css::container::XNameContainer >
xCellStyles;
117 css::uno::Reference< css::container::XNameContainer >
xRowStyles;
141 const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList )
override;
146 const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList )
override;
153 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
157 virtual css::uno::Reference< css::container::XNameContainer >
161 sal_Int32
GetIndex(
const sal_Int16 nContextID);
168 const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList )
override;
173 const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList )
override;
182 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
187 css::uno::Reference<css::beans::XPropertySet>
xPropSet;
196 const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList,
202 const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList,
205 const bool bFirst )
override;
207 virtual void Finish(
bool bOverwrite )
override;
224 const css::uno::Reference< css::beans::XPropertySet > & rPropSet )
override;
230 void Finish(
bool bOverwrite)
override;
const ScXMLImport & GetScImport() const
ScCellTextStyleContext(SvXMLImport &rImport, SvXMLStylesContext &rStyles, XmlStyleFamily nFamily)
ScXMLImport & GetScImport()
virtual void FillPropertySet(const css::uno::Reference< css::beans::XPropertySet > &rPropSet) override
virtual ~ScCellTextStyleContext() override
virtual SvXMLImportContext * CreateHeaderFooterContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const bool bFooter, const bool bLeft, const bool bFirst) override
void ClearContent(const OUString &rContent)
ScMasterPageContext(SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, bool bOverwrite)
bool bContainsRightFooter
virtual ~ScMasterPageContext() override
css::uno::Reference< css::beans::XPropertySet > xPropSet
bool bContainsRightHeader
virtual void Finish(bool bOverwrite) override
void Finish(bool bOverwrite) override
ScXMLCellImportPropertyMapper(const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLImport &rImport)
virtual ~ScXMLCellImportPropertyMapper() override
virtual void finished(::std::vector< XMLPropertyState > &rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex) const override
This method is called when all attributes have been processed.
virtual SvXMLStyleContext * CreateStyleChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
ScXMLMasterStylesContext(SvXMLImport &rImport)
virtual SvXMLStyleContext * CreateStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual bool InsertStyleFamily(XmlStyleFamily nFamily) const override
virtual ~ScXMLMasterStylesContext() override
virtual void finished(::std::vector< XMLPropertyState > &rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex) const override
This method is called when all attributes have been processed.
ScXMLRowImportPropertyMapper(const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLImport &rImport)
virtual ~ScXMLRowImportPropertyMapper() override
SvXMLImport & GetImport()
friend friend class SvXMLImport
virtual SvXMLStyleContext * CreateDefaultStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
virtual SvXMLStyleContext * CreateStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
void SetStyle(const css::uno::Reference< css::style::XStyle > &xStl)
XMLShapeStyleContext(SvXMLImport &rImport, SvXMLStylesContext &rStyles, XmlStyleFamily nFamily)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
void ApplyCondFormat(const css::uno::Sequence< css::table::CellRangeAddress > &xCellRanges)
void AddProperty(sal_Int16 nContextID, const css::uno::Any &aValue)
SCTAB GetLastSheet() const
XMLPropertyState * FindProperty(const sal_Int16 nContextID)
void SetLastSheet(SCTAB nNew)
ScXMLImport & GetScImport()
virtual void SetDefaults() override
virtual void FillPropertySet(const css::uno::Reference< css::beans::XPropertySet > &rPropSet) override
ScConditionalFormat * mpCondFormat
SvXMLStylesContext * pStyles
virtual void SetAttribute(sal_Int32 nElement, const OUString &rValue) override
const ScXMLImport & GetScImport() const
XMLTableStyleContext(ScXMLImport &rImport, SvXMLStylesContext &rStyles, XmlStyleFamily nFamily, bool bDefaultStyle=false)
sal_Int32 GetNumberFormat()
virtual ~XMLTableStyleContext() override
sal_Int32 nMasterPageNameIndex
css::uno::Reference< css::container::XNameContainer > xRowStyles
ScXMLImport & GetScImport()
sal_Int32 nConditionalFormatIndex
sal_Int32 nCellStyleIndex
sal_Int32 nNumberFormatIndex
virtual css::uno::Reference< css::container::XNameContainer > GetStylesContainer(XmlStyleFamily nFamily) const override
rtl::Reference< SvXMLImportPropertyMapper > xTableImpPropMapper
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
rtl::Reference< SvXMLImportPropertyMapper > xRowImpPropMapper
virtual ~XMLTableStylesContext() override
XMLTableStylesContext(SvXMLImport &rImport, bool bAutoStyles)
css::uno::Reference< css::container::XNameContainer > xColumnStyles
virtual OUString GetServiceName(XmlStyleFamily nFamily) const override
css::uno::Reference< css::container::XNameContainer > xCellStyles
virtual SvXMLStyleContext * CreateDefaultStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
css::uno::Reference< css::container::XNameContainer > xTableStyles
virtual rtl::Reference< SvXMLImportPropertyMapper > GetImportPropertyMapper(XmlStyleFamily nFamily) const override
virtual SvXMLStyleContext * CreateStyleStyleChildContext(XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
sal_Int32 GetIndex(const sal_Int16 nContextID)
css::uno::Reference< css::container::XNameContainer > xGraphicStyles
const ScXMLImport & GetScImport() const
rtl::Reference< SvXMLImportPropertyMapper > xCellImpPropMapper
rtl::Reference< SvXMLImportPropertyMapper > xColumnImpPropMapper