LibreOffice Module reportdesign (master) 1
|
#include <xmlStyleImport.hxx>
Public Member Functions | |
OReportStylesContext (ORptFilter &rImport, const bool bAutoStyles) | |
virtual | ~OReportStylesContext () override |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
virtual rtl::Reference< SvXMLImportPropertyMapper > | GetImportPropertyMapper (XmlStyleFamily nFamily) const override |
virtual css::uno::Reference< css::container::XNameContainer > | GetStylesContainer (XmlStyleFamily nFamily) const override |
virtual OUString | GetServiceName (XmlStyleFamily nFamily) const override |
sal_Int32 | GetIndex (const sal_Int16 nContextID) |
Public Member Functions inherited from SvXMLStylesContext | |
SvXMLStylesContext (SvXMLImport &rImport, bool bAutomatic=false) | |
virtual | ~SvXMLStylesContext () override |
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 | AddStyle (SvXMLStyleContext &rNew) |
const SvXMLStyleContext * | FindStyleChildContext (XmlStyleFamily nFamily, const OUString &rName, bool bCreateIndex=false) const |
virtual rtl::Reference< SvXMLImportPropertyMapper > | GetImportPropertyMapper (XmlStyleFamily nFamily) const |
virtual css::uno::Reference< css::container::XNameContainer > | GetStylesContainer (XmlStyleFamily nFamily) const |
virtual OUString | GetServiceName (XmlStyleFamily nFamily) const |
css::uno::Reference< css::style::XAutoStyleFamily > | GetAutoStyles (XmlStyleFamily nFamily) const |
void | CopyAutoStylesToDoc () |
void | CopyStylesToDoc (bool bOverwrite, bool bFinish=true) |
void | FinishStyles (bool bOverwrite) |
void | dispose () |
bool | IsAutomaticStyle () const |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
virtual | ~SvXMLImportContext () |
virtual void SAL_CALL | startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | endFastElement (sal_Int32 Element) override |
virtual void SAL_CALL | endUnknownElement (const OUString &Namespace, const OUString &Name) override |
virtual css::uno::Reference< XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | characters (const OUString &aChars) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) final override |
virtual void SAL_CALL | acquire () noexcept final override |
virtual void SAL_CALL | release () noexcept final override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () final override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () final override |
Protected Member Functions | |
virtual SvXMLStyleContext * | CreateStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
virtual SvXMLStyleContext * | CreateDefaultStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
virtual SvXMLStyleContext * | CreateStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) |
virtual SvXMLStyleContext * | CreateDefaultStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) |
Protected Member Functions inherited from SvXMLStylesContext | |
sal_uInt32 | GetStyleCount () const |
SvXMLStyleContext * | GetStyle (sal_uInt32 i) |
const SvXMLStyleContext * | GetStyle (sal_uInt32 i) const |
virtual SvXMLStyleContext * | CreateStyleChildContext (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) |
virtual SvXMLStyleContext * | CreateDefaultStyleStyleChildContext (XmlStyleFamily nFamily, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) |
virtual bool | InsertStyleFamily (XmlStyleFamily nFamily) const |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Private Member Functions | |
ORptFilter & | GetOwnImport () const |
OReportStylesContext (const OReportStylesContext &)=delete | |
void | operator= (const OReportStylesContext &)=delete |
Private Attributes | |
ORptFilter & | m_rImport |
sal_Int32 | m_nNumberFormatIndex |
bool | bAutoStyles: 1 |
rtl::Reference< SvXMLImportPropertyMapper > | m_xCellImpPropMapper |
rtl::Reference< SvXMLImportPropertyMapper > | m_xColumnImpPropMapper |
rtl::Reference< SvXMLImportPropertyMapper > | m_xRowImpPropMapper |
rtl::Reference< SvXMLImportPropertyMapper > | m_xTableImpPropMapper |
css::uno::Reference< css::container::XNameContainer > | m_xCellStyles |
css::uno::Reference< css::container::XNameContainer > | m_xColumnStyles |
css::uno::Reference< css::container::XNameContainer > | m_xRowStyles |
css::uno::Reference< css::container::XNameContainer > | m_xTableStyles |
Additional Inherited Members | |
Static Public Member Functions inherited from SvXMLStylesContext | |
static XmlStyleFamily | GetFamily (std::u16string_view rFamily) |
Definition at line 62 of file xmlStyleImport.hxx.
|
privatedelete |
rptxml::OReportStylesContext::OReportStylesContext | ( | ORptFilter & | rImport, |
const bool | bAutoStyles | ||
) |
Definition at line 146 of file xmlStyleImport.cxx.
References m_rImport.
|
overridevirtual |
Definition at line 157 of file xmlStyleImport.cxx.
|
protectedvirtual |
Reimplemented from SvXMLStylesContext.
|
overrideprotectedvirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 229 of file xmlStyleImport.cxx.
References SvXMLImportContext::GetImport().
|
protectedvirtual |
Reimplemented from SvXMLStylesContext.
|
overrideprotectedvirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 243 of file xmlStyleImport.cxx.
References SvXMLStylesContext::CreateStyleStyleChildContext(), and GetOwnImport().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 163 of file xmlStyleImport.cxx.
References bAutoStyles, and SvXMLImportContext::GetImport().
|
overridevirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 173 of file xmlStyleImport.cxx.
References XMLTextImportHelper::CreateParaExtPropMapper(), rptxml::ORptFilter::GetCellStylesPropertySetMapper(), rptxml::ORptFilter::GetColumnStylesPropertySetMapper(), SvXMLStylesContext::GetImportPropertyMapper(), GetOwnImport(), rptxml::ORptFilter::GetRowStylesPropertySetMapper(), rptxml::OXMLHelper::GetTableStyleProps(), m_rImport, m_xCellImpPropMapper, m_xColumnImpPropMapper, m_xRowImpPropMapper, and m_xTableImpPropMapper.
Referenced by GetIndex().
sal_Int32 rptxml::OReportStylesContext::GetIndex | ( | const sal_Int16 | nContextID | ) |
Definition at line 377 of file xmlStyleImport.cxx.
References CTF_RPT_NUMBERFORMAT, GetImportPropertyMapper(), and m_nNumberFormatIndex.
|
inlineprivate |
Definition at line 79 of file xmlStyleImport.hxx.
References m_rImport.
Referenced by CreateStyleStyleChildContext(), GetImportPropertyMapper(), and GetStylesContainer().
|
overridevirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 350 of file xmlStyleImport.cxx.
References SvXMLStylesContext::GetServiceName(), sServiceName, XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME, XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME, XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME, and XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME.
|
overridevirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 269 of file xmlStyleImport.cxx.
References SvXMLImportContext::GetImport(), GetOwnImport(), SvXMLStylesContext::GetStylesContainer(), m_xCellStyles, m_xColumnStyles, m_xRowStyles, m_xTableStyles, sName, and SvXMLImportContext::SvXMLImport.
|
privatedelete |
|
private |
Definition at line 66 of file xmlStyleImport.hxx.
Referenced by endFastElement().
|
private |
Definition at line 65 of file xmlStyleImport.hxx.
Referenced by GetIndex().
|
private |
Definition at line 64 of file xmlStyleImport.hxx.
Referenced by GetImportPropertyMapper(), and GetOwnImport().
|
mutableprivate |
Definition at line 69 of file xmlStyleImport.hxx.
Referenced by GetImportPropertyMapper().
|
mutableprivate |
Definition at line 74 of file xmlStyleImport.hxx.
Referenced by GetStylesContainer().
|
mutableprivate |
Definition at line 70 of file xmlStyleImport.hxx.
Referenced by GetImportPropertyMapper().
|
mutableprivate |
Definition at line 75 of file xmlStyleImport.hxx.
Referenced by GetStylesContainer().
|
mutableprivate |
Definition at line 71 of file xmlStyleImport.hxx.
Referenced by GetImportPropertyMapper().
|
mutableprivate |
Definition at line 76 of file xmlStyleImport.hxx.
Referenced by GetStylesContainer().
|
mutableprivate |
Definition at line 72 of file xmlStyleImport.hxx.
Referenced by GetImportPropertyMapper().
|
mutableprivate |
Definition at line 77 of file xmlStyleImport.hxx.
Referenced by GetStylesContainer().