LibreOffice Module xmloff (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
XMLImpSpanContext_Impl Class Reference

#include <txtparai.hxx>

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

Public Member Functions

 XMLImpSpanContext_Impl (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, XMLHints_Impl &rHints, bool &rIgnLeadSpace, sal_uInt8 nSFConvFlags)
 
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
 endFastElement is called before a context will be destructed, but after an elements context has been parsed. More...
 
virtual void SAL_CALL characters (const OUString &rChars) override
 This method is called for all characters that are contained in the current element. More...
 
- 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
 

Static Public Member Functions

static css::uno::Reference< css::xml::sax::XFastContextHandler > CreateSpanContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, XMLHints_Impl &rHints, bool &rIgnLeadSpace, sal_uInt8 nStarFontsConvFlags=0)
 

Private Attributes

XMLHints_Implm_rHints
 
XMLStyleHint_ImplpHint
 
bool & rIgnoreLeadingSpace
 
sal_uInt8 nStarFontsConvFlags
 

Additional Inherited Members

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

Detailed Description

Definition at line 108 of file txtparai.hxx.

Constructor & Destructor Documentation

◆ XMLImpSpanContext_Impl()

XMLImpSpanContext_Impl::XMLImpSpanContext_Impl ( SvXMLImport rImport,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
XMLHints_Impl rHints,
bool &  rIgnLeadSpace,
sal_uInt8  nSFConvFlags 
)

Member Function Documentation

◆ characters()

void XMLImpSpanContext_Impl::characters ( const OUString &  aChars)
overridevirtual

This method is called for all characters that are contained in the current element.

The default is to ignore them.

Reimplemented from SvXMLImportContext.

Definition at line 1575 of file txtparai.cxx.

References SvXMLImportContext::GetImport(), XMLStyleHint_Impl::GetStyleName(), SvXMLImport::GetTextImport(), nStarFontsConvFlags, pHint, and rIgnoreLeadingSpace.

◆ createFastChildContext()

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

◆ CreateSpanContext()

css::uno::Reference< css::xml::sax::XFastContextHandler > XMLImpSpanContext_Impl::CreateSpanContext ( SvXMLImport rImport,
sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList,
XMLHints_Impl rHints,
bool &  rIgnLeadSpace,
sal_uInt8  nStarFontsConvFlags = 0 
)
static

Definition at line 1335 of file txtparai.cxx.

References XMLShapeImportHelper::CreateGroupChildContext(), XMLTextFieldImportContext::CreateTextFieldImportContext(), DRAW, XMLChangeImportContext::END, FIELD, XMLTextFrameContext::GetAnchorType(), XMLHints_Impl::GetCrossRefHeadingBookmark(), SvXMLImport::GetTextImport(), nStarFontsConvFlags, XMLChangeImportContext::POINT, XMLHints_Impl::push_back(), rIgnoreLeadingSpace, XMLChangeImportContext::START, SvXMLImportContext::SvXMLImportContext(), TEXT, xmloff::token::XML_A, xmloff::token::XML_ALPHABETICAL_INDEX_MARK, xmloff::token::XML_ALPHABETICAL_INDEX_MARK_END, xmloff::token::XML_ALPHABETICAL_INDEX_MARK_START, xmloff::token::XML_BOOKMARK, xmloff::token::XML_BOOKMARK_END, xmloff::token::XML_BOOKMARK_START, xmloff::token::XML_CHANGE, xmloff::token::XML_CHANGE_END, xmloff::token::XML_CHANGE_START, xmloff::token::XML_CLEAR, xmloff::token::XML_CONTENT_CONTROL, xmloff::token::XML_CONTROL, XML_ELEMENT, xmloff::token::XML_FIELDMARK, xmloff::token::XML_FIELDMARK_END, xmloff::token::XML_FIELDMARK_SEPARATOR, xmloff::token::XML_FIELDMARK_START, xmloff::token::XML_FRAME, xmloff::token::XML_LINE_BREAK, xmloff::token::XML_META, xmloff::token::XML_META_FIELD, xmloff::token::XML_NOTE, xmloff::token::XML_REFERENCE_MARK, xmloff::token::XML_REFERENCE_MARK_END, xmloff::token::XML_REFERENCE_MARK_START, xmloff::token::XML_RUBY, xmloff::token::XML_S, xmloff::token::XML_SPAN, xmloff::token::XML_TAB, xmloff::token::XML_TOC_MARK, xmloff::token::XML_TOC_MARK_END, xmloff::token::XML_TOC_MARK_START, xmloff::token::XML_USER_INDEX_MARK, xmloff::token::XML_USER_INDEX_MARK_END, xmloff::token::XML_USER_INDEX_MARK_START, XMLImpSpanContext_Impl(), and XMLOFF_WARN_UNKNOWN_ELEMENT.

Referenced by XMLParaContext::createFastChildContext(), createFastChildContext(), and XMLContentControlContext::createFastChildContext().

◆ endFastElement()

void XMLImpSpanContext_Impl::endFastElement ( sal_Int32  Element)
overridevirtual

endFastElement is called before a context will be destructed, but after an elements context has been parsed.

It may be used for actions that require virtual methods. The default is to do nothing.

Reimplemented from SvXMLImportContext.

Definition at line 1323 of file txtparai.cxx.

References SvXMLImportContext::GetImport(), pHint, and XMLHint_Impl::SetEnd().

Member Data Documentation

◆ m_rHints

XMLHints_Impl& XMLImpSpanContext_Impl::m_rHints
private

Definition at line 110 of file txtparai.hxx.

Referenced by createFastChildContext(), and XMLImpSpanContext_Impl().

◆ nStarFontsConvFlags

sal_uInt8 XMLImpSpanContext_Impl::nStarFontsConvFlags
private

Definition at line 115 of file txtparai.hxx.

Referenced by characters(), createFastChildContext(), and CreateSpanContext().

◆ pHint

XMLStyleHint_Impl* XMLImpSpanContext_Impl::pHint
private

Definition at line 111 of file txtparai.hxx.

Referenced by characters(), endFastElement(), and XMLImpSpanContext_Impl().

◆ rIgnoreLeadingSpace

bool& XMLImpSpanContext_Impl::rIgnoreLeadingSpace
private

Definition at line 113 of file txtparai.hxx.

Referenced by characters(), createFastChildContext(), and CreateSpanContext().


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