LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXMLBrushItemImportContext Class Reference

#include <xmlbrshi.hxx>

Inheritance diagram for SwXMLBrushItemImportContext:
[legend]
Collaboration diagram for SwXMLBrushItemImportContext:
[legend]

Public Member Functions

 SwXMLBrushItemImportContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const SvXMLUnitConverter &rUnitConv, const SvxBrushItem &rItem)
 
 SwXMLBrushItemImportContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const SvXMLUnitConverter &rUnitConv, sal_uInt16 nWhich)
 
virtual ~SwXMLBrushItemImportContext () 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
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 
const SvxBrushItemGetItem () 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
 

Private Member Functions

void ProcessAttrs (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const SvXMLUnitConverter &rUnitConv)
 

Private Attributes

css::uno::Reference< css::io::XOutputStream > m_xBase64Stream
 
css::uno::Reference< css::graphic::XGraphic > m_xGraphic
 
std::unique_ptr< SvxBrushItemm_pItem
 

Additional Inherited Members

- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 37 of file xmlbrshi.hxx.

Constructor & Destructor Documentation

◆ SwXMLBrushItemImportContext() [1/2]

SwXMLBrushItemImportContext::SwXMLBrushItemImportContext ( SvXMLImport rImport,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
const SvXMLUnitConverter rUnitConv,
const SvxBrushItem rItem 
)

◆ SwXMLBrushItemImportContext() [2/2]

SwXMLBrushItemImportContext::SwXMLBrushItemImportContext ( SvXMLImport rImport,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
const SvXMLUnitConverter rUnitConv,
sal_uInt16  nWhich 
)

◆ ~SwXMLBrushItemImportContext()

SwXMLBrushItemImportContext::~SwXMLBrushItemImportContext ( )
overridevirtual

Definition at line 141 of file xmlbrsh.cxx.

Member Function Documentation

◆ createFastChildContext()

css::uno::Reference< css::xml::sax::XFastContextHandler > SwXMLBrushItemImportContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  AttrList 
)
overridevirtual

◆ endFastElement()

void SwXMLBrushItemImportContext::endFastElement ( sal_Int32  nElement)
overridevirtual

Reimplemented from SvXMLImportContext.

Definition at line 93 of file xmlbrsh.cxx.

References SvXMLImportContext::GetImport(), GPOS_NONE, GPOS_TILED, m_pItem, m_xBase64Stream, and m_xGraphic.

◆ GetItem()

const SvxBrushItem & SwXMLBrushItemImportContext::GetItem ( ) const
inline

Definition at line 72 of file xmlbrshi.hxx.

References m_pItem.

◆ ProcessAttrs()

void SwXMLBrushItemImportContext::ProcessAttrs ( const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
const SvXMLUnitConverter rUnitConv 
)
private

Member Data Documentation

◆ m_pItem

std::unique_ptr<SvxBrushItem> SwXMLBrushItemImportContext::m_pItem
private

Definition at line 43 of file xmlbrshi.hxx.

Referenced by endFastElement(), GetItem(), and ProcessAttrs().

◆ m_xBase64Stream

css::uno::Reference<css::io::XOutputStream> SwXMLBrushItemImportContext::m_xBase64Stream
private

Definition at line 40 of file xmlbrshi.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ m_xGraphic

css::uno::Reference<css::graphic::XGraphic> SwXMLBrushItemImportContext::m_xGraphic
private

Definition at line 41 of file xmlbrshi.hxx.

Referenced by endFastElement(), and ProcessAttrs().


The documentation for this class was generated from the following files: