LibreOffice Module sc (master) 1
|
#include <xmlstyli.hxx>
Public Member Functions | |
XMLTableStylesContext (SvXMLImport &rImport, bool bAutoStyles) | |
virtual | ~XMLTableStylesContext () 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 | |
const ScXMLImport & | GetScImport () const |
ScXMLImport & | GetScImport () |
Private Attributes | |
css::uno::Reference< css::container::XNameContainer > | xCellStyles |
css::uno::Reference< css::container::XNameContainer > | xColumnStyles |
css::uno::Reference< css::container::XNameContainer > | xRowStyles |
css::uno::Reference< css::container::XNameContainer > | xTableStyles |
css::uno::Reference< css::container::XNameContainer > | xGraphicStyles |
sal_Int32 | nNumberFormatIndex |
sal_Int32 | nConditionalFormatIndex |
sal_Int32 | nCellStyleIndex |
sal_Int32 | nMasterPageNameIndex |
bool | bAutoStyles |
rtl::Reference< SvXMLImportPropertyMapper > | xCellImpPropMapper |
rtl::Reference< SvXMLImportPropertyMapper > | xColumnImpPropMapper |
rtl::Reference< SvXMLImportPropertyMapper > | xRowImpPropMapper |
rtl::Reference< SvXMLImportPropertyMapper > | xTableImpPropMapper |
Additional Inherited Members | |
Static Public Member Functions inherited from SvXMLStylesContext | |
static XmlStyleFamily | GetFamily (std::u16string_view rFamily) |
Definition at line 113 of file xmlstyli.hxx.
XMLTableStylesContext::XMLTableStylesContext | ( | SvXMLImport & | rImport, |
bool | bAutoStyles | ||
) |
Definition at line 671 of file xmlstyli.cxx.
|
overridevirtual |
Definition at line 682 of file xmlstyli.cxx.
|
protectedvirtual |
Reimplemented from SvXMLStylesContext.
|
overrideprotectedvirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 645 of file xmlstyli.cxx.
References SvXMLStylesContext::CreateDefaultStyleStyleChildContext(), and GetScImport().
|
protectedvirtual |
Reimplemented from SvXMLStylesContext.
|
overrideprotectedvirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 614 of file xmlstyli.cxx.
References SvXMLStylesContext::CreateStyleStyleChildContext(), SvXMLImportContext::GetImport(), and GetScImport().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 686 of file xmlstyli.cxx.
References bAutoStyles, SvXMLImportContext::GetImport(), GetScImport(), and ScXMLImport::InsertStyles().
|
overridevirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 695 of file xmlstyli.cxx.
References XMLTextImportHelper::CreateParaExtPropMapper(), ScXMLImport::GetCellStylesPropertySetMapper(), SvXMLImportContext::GetImport(), SvXMLStylesContext::GetImportPropertyMapper(), ScXMLImport::GetRowStylesPropertySetMapper(), GetScImport(), SvXMLImportContext::SvXMLImport, xCellImpPropMapper, xColumnImpPropMapper, xRowImpPropMapper, and xTableImpPropMapper.
Referenced by GetIndex().
sal_Int32 XMLTableStylesContext::GetIndex | ( | const sal_Int16 | nContextID | ) |
Definition at line 869 of file xmlstyli.cxx.
References CTF_SC_CELLSTYLE, CTF_SC_IMPORT_MAP, CTF_SC_MASTERPAGENAME, CTF_SC_NUMBERFORMAT, GetImportPropertyMapper(), nCellStyleIndex, nConditionalFormatIndex, nMasterPageNameIndex, and nNumberFormatIndex.
|
inlineprivate |
Definition at line 132 of file xmlstyli.hxx.
References SvXMLImportContext::GetImport().
|
inlineprivate |
Definition at line 131 of file xmlstyli.hxx.
References SvXMLImportContext::GetImport().
Referenced by CreateDefaultStyleStyleChildContext(), CreateStyleStyleChildContext(), endFastElement(), GetImportPropertyMapper(), and GetStylesContainer().
|
overridevirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 841 of file xmlstyli.cxx.
References SvXMLStylesContext::GetServiceName(), gsCellStyleServiceName(), gsGraphicStyleServiceName(), sServiceName, 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 747 of file xmlstyli.cxx.
References GetScImport(), SvXMLStylesContext::GetStylesContainer(), sName, xCellStyles, xColumnStyles, xGraphicStyles, xRowStyles, and xTableStyles.
|
private |
Definition at line 124 of file xmlstyli.hxx.
Referenced by endFastElement().
|
private |
Definition at line 122 of file xmlstyli.hxx.
Referenced by GetIndex().
|
private |
Definition at line 121 of file xmlstyli.hxx.
Referenced by GetIndex().
|
private |
Definition at line 123 of file xmlstyli.hxx.
Referenced by GetIndex().
|
private |
Definition at line 120 of file xmlstyli.hxx.
Referenced by GetIndex().
|
private |
Definition at line 126 of file xmlstyli.hxx.
Referenced by GetImportPropertyMapper().
|
private |
Definition at line 115 of file xmlstyli.hxx.
Referenced by GetStylesContainer().
|
private |
Definition at line 127 of file xmlstyli.hxx.
Referenced by GetImportPropertyMapper().
|
private |
Definition at line 116 of file xmlstyli.hxx.
Referenced by GetStylesContainer().
|
private |
Definition at line 119 of file xmlstyli.hxx.
Referenced by GetStylesContainer().
|
private |
Definition at line 128 of file xmlstyli.hxx.
Referenced by GetImportPropertyMapper().
|
private |
Definition at line 117 of file xmlstyli.hxx.
Referenced by GetStylesContainer().
|
private |
Definition at line 129 of file xmlstyli.hxx.
Referenced by GetImportPropertyMapper().
|
private |
Definition at line 118 of file xmlstyli.hxx.
Referenced by GetStylesContainer().