|
LibreOffice Module xmloff (master) 1
|
#include <XMLFontStylesContext.hxx>
Public Member Functions | |
| XMLFontStylesContext (SvXMLImport &rImport, rtl_TextEncoding eDfltEnc) | |
| ~XMLFontStylesContext () override | |
| bool | FillProperties (const OUString &rName, ::std::vector< XMLPropertyState > &rProps, sal_Int32 nFamilyNameIdx, sal_Int32 nStyleNameIdx, sal_Int32 nFamilyIdx, sal_Int32 nPitchIdx, sal_Int32 nCharsetIdx) const |
| rtl_TextEncoding | GetDfltCharset () const |
| XMLFontFamilyNamePropHdl & | GetFamilyNameHdl () const |
| XMLFontFamilyPropHdl & | GetFamilyHdl () const |
| XMLFontPitchPropHdl & | GetPitchHdl () const |
| XMLFontEncodingPropHdl & | GetEncodingHdl () const |
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) | |
| A contexts constructor does anything that is required if an element starts. More... | |
| virtual | ~SvXMLImportContext () |
| A contexts destructor does anything that is required if an element ends. More... | |
| 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 |
| endFastElement is called before a context will be destructed, but after an elements context has been parsed. More... | |
| 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 |
| This method is called for all characters that are contained in the current element. More... | |
| 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 |
Private Member Functions | |
| virtual SvXMLStyleContext * | CreateStyleChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
| virtual SvXMLStyleContext * | CreateStyleChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) |
Private Attributes | |
| std::unique_ptr< XMLFontFamilyNamePropHdl > | m_pFamilyNameHdl |
| std::unique_ptr< XMLFontFamilyPropHdl > | m_pFamilyHdl |
| std::unique_ptr< XMLFontPitchPropHdl > | m_pPitchHdl |
| std::unique_ptr< XMLFontEncodingPropHdl > | m_pEncHdl |
| rtl_TextEncoding | m_eDefaultEncoding |
Additional Inherited Members | |
Static Public Member Functions inherited from SvXMLStylesContext | |
| static XmlStyleFamily | GetFamily (std::u16string_view rFamily) |
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 |
Definition at line 36 of file XMLFontStylesContext.hxx.
| XMLFontStylesContext::XMLFontStylesContext | ( | SvXMLImport & | rImport, |
| rtl_TextEncoding | eDfltEnc | ||
| ) |
Definition at line 323 of file XMLFontStylesContext.cxx.
|
override |
Definition at line 334 of file XMLFontStylesContext.cxx.
|
privatevirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 151 of file xmlstyle.cxx.
|
overrideprivatevirtual |
Reimplemented from SvXMLStylesContext.
Definition at line 311 of file XMLFontStylesContext.cxx.
References SvXMLStylesContext::CreateStyleChildContext(), SvXMLImportContext::GetImport(), STYLE, XML_ELEMENT, and xmloff::token::XML_FONT_FACE.
| bool XMLFontStylesContext::FillProperties | ( | const OUString & | rName, |
| ::std::vector< XMLPropertyState > & | rProps, | ||
| sal_Int32 | nFamilyNameIdx, | ||
| sal_Int32 | nStyleNameIdx, | ||
| sal_Int32 | nFamilyIdx, | ||
| sal_Int32 | nPitchIdx, | ||
| sal_Int32 | nCharsetIdx | ||
| ) | const |
Definition at line 336 of file XMLFontStylesContext.cxx.
References XMLFontStyleContextFontFace::FillProperties(), SvXMLStylesContext::FindStyleChildContext(), and XML_STYLE_FAMILY_FONT.
|
inline |
Definition at line 63 of file XMLFontStylesContext.hxx.
Referenced by XMLFontStyleContextFontFace::XMLFontStyleContextFontFace().
|
inline |
Definition at line 68 of file XMLFontStylesContext.hxx.
|
inline |
Definition at line 66 of file XMLFontStylesContext.hxx.
|
inline |
Definition at line 65 of file XMLFontStylesContext.hxx.
|
inline |
Definition at line 67 of file XMLFontStylesContext.hxx.
|
private |
Definition at line 43 of file XMLFontStylesContext.hxx.
|
private |
Definition at line 41 of file XMLFontStylesContext.hxx.
|
private |
Definition at line 39 of file XMLFontStylesContext.hxx.
|
private |
Definition at line 38 of file XMLFontStylesContext.hxx.
|
private |
Definition at line 40 of file XMLFontStylesContext.hxx.