LibreOffice Module sw (master) 1
|
#include <xmlbrshi.hxx>
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 SvxBrushItem & | GetItem () 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< SvxBrushItem > | m_pItem |
Additional Inherited Members | |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 37 of file xmlbrshi.hxx.
SwXMLBrushItemImportContext::SwXMLBrushItemImportContext | ( | SvXMLImport & | rImport, |
sal_Int32 | nElement, | ||
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList, | ||
const SvXMLUnitConverter & | rUnitConv, | ||
const SvxBrushItem & | rItem | ||
) |
SwXMLBrushItemImportContext::SwXMLBrushItemImportContext | ( | SvXMLImport & | rImport, |
sal_Int32 | nElement, | ||
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList, | ||
const SvXMLUnitConverter & | rUnitConv, | ||
sal_uInt16 | nWhich | ||
) |
|
overridevirtual |
Definition at line 141 of file xmlbrsh.cxx.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 76 of file xmlbrsh.cxx.
References SvXMLImportContext::GetImport(), m_xBase64Stream, TOKEN_MASK, xmloff::token::XML_BINARY_DATA, and XMLOFF_WARN_UNKNOWN_ELEMENT.
|
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.
|
inline |
Definition at line 72 of file xmlbrshi.hxx.
References m_pItem.
|
private |
Definition at line 40 of file xmlbrsh.cxx.
References sax_fastparser::castToFastAttributeList(), SvXMLImportContext::GetImport(), m_pItem, m_xGraphic, MID_GRAPHIC_FILTER, MID_GRAPHIC_POSITION, MID_GRAPHIC_REPEAT, SvXMLImportItemMapper::PutXMLValue(), STYLE, XML_ACTUATE, XML_ELEMENT, XML_FILTER_NAME, XML_HREF, XML_POSITION, XML_REPEAT, XML_SHOW, XML_TYPE, and XMLOFF_WARN_UNKNOWN.
|
private |
Definition at line 43 of file xmlbrshi.hxx.
Referenced by endFastElement(), GetItem(), and ProcessAttrs().
|
private |
Definition at line 40 of file xmlbrshi.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 41 of file xmlbrshi.hxx.
Referenced by endFastElement(), and ProcessAttrs().