LibreOffice Module xmloff (master) 1
|
#include <txtparai.hxx>
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_Impl & | m_rHints |
XMLStyleHint_Impl * | pHint |
bool & | rIgnoreLeadingSpace |
sal_uInt8 | nStarFontsConvFlags |
Additional Inherited Members | |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 109 of file txtparai.hxx.
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 | ||
) |
Definition at line 1292 of file txtparai.cxx.
References sax_fastparser::castToFastAttributeList(), SvXMLImportContext::GetImport(), sax_fastparser::FastAttributeList::FastAttributeIter::getToken(), m_rHints, pHint, XMLHints_Impl::push_back(), TEXT, sax_fastparser::FastAttributeList::FastAttributeIter::toString(), XML_ELEMENT, and xmloff::token::XML_STYLE_NAME.
Referenced by CreateSpanContext().
|
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 1576 of file txtparai.cxx.
References SvXMLImportContext::GetImport(), XMLStyleHint_Impl::GetStyleName(), nStarFontsConvFlags, pHint, and rIgnoreLeadingSpace.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 1566 of file txtparai.cxx.
References CreateSpanContext(), SvXMLImportContext::GetImport(), m_rHints, nStarFontsConvFlags, and rIgnoreLeadingSpace.
|
static |
Definition at line 1336 of file txtparai.cxx.
References XMLShapeImportHelper::CreateGroupChildContext(), XMLTextFieldImportContext::CreateTextFieldImportContext(), DRAW, XMLChangeImportContext::END, FIELD, XMLTextFrameContext::GetAnchorType(), XMLHints_Impl::GetCrossRefHeadingBookmark(), 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().
|
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 1324 of file txtparai.cxx.
References SvXMLImportContext::GetImport(), pHint, and XMLHint_Impl::SetEnd().
|
private |
Definition at line 111 of file txtparai.hxx.
Referenced by createFastChildContext(), and XMLImpSpanContext_Impl().
|
private |
Definition at line 116 of file txtparai.hxx.
Referenced by characters(), createFastChildContext(), and CreateSpanContext().
|
private |
Definition at line 112 of file txtparai.hxx.
Referenced by characters(), endFastElement(), and XMLImpSpanContext_Impl().
|
private |
Definition at line 114 of file txtparai.hxx.
Referenced by characters(), createFastChildContext(), and CreateSpanContext().