LibreOffice Module xmloff (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
XMLPropertiesTContext_Impl Class Reference
Inheritance diagram for XMLPropertiesTContext_Impl:
[legend]
Collaboration diagram for XMLPropertiesTContext_Impl:
[legend]

Public Member Functions

void SetQNameAndPropType (const OUString &rQName, XMLPropType ePropType)
 
 XMLPropertiesTContext_Impl (XMLTransformerBase &rTransformer, const OUString &rQName, XMLPropType eP, bool _bControlStyle)
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void Export () override
 
- Public Member Functions inherited from XMLPersElemContentTContext
 XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName)
 
 XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nActionMap)
 
 XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken)
 
 XMLPersElemContentTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken, sal_uInt16 nActionMap)
 
virtual ~XMLPersElemContentTContext () override
 
virtual rtl::Reference< XMLTransformerContextCreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
void AddContent (rtl::Reference< XMLTransformerContext > const &pContent)
 
bool HasElementContent () const
 
virtual void ExportContent () override
 
- Public Member Functions inherited from XMLPersAttrListTContext
 XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName)
 
 XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nActionMap)
 
 XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken)
 
 XMLPersAttrListTContext (XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken, sal_uInt16 nActionMap)
 
virtual rtl::Reference< XMLTransformerContextCreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 
virtual void EndElement () override
 
virtual void Characters (const OUString &rChars) override
 
virtual bool IsPersistent () const override
 
virtual void Export () override
 
virtual void ExportContent () override
 
const OUString & GetExportQName () const
 
void AddAttribute (sal_uInt16 nAPrefix, ::xmloff::token::XMLTokenEnum eAToken, ::xmloff::token::XMLTokenEnum eVToken)
 
void AddAttribute (sal_uInt16 nAPrefix, ::xmloff::token::XMLTokenEnum eAToken, const OUString &rValue)
 
const css::uno::Reference< css::xml::sax::XAttributeList > & GetAttrList () const
 
- Public Member Functions inherited from XMLTransformerContext
const OUString & GetQName () const
 
bool HasQName (sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken) const
 
bool HasNamespace (sal_uInt16 nPrefix) const
 
 XMLTransformerContext (XMLTransformerBase &rTransformer, OUString aQName)
 
virtual rtl::Reference< XMLTransformerContextCreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void EndElement ()
 
virtual void Characters (const OUString &rChars)
 
virtual bool IsPersistent () const
 
virtual void Export ()
 
virtual void ExportContent ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Static Public Member Functions

static XMLPropType GetPropType (std::u16string_view rLocalName)
 
static OUString const & MergeUnderline (XMLTokenEnum eUnderline, bool bBold, bool bDouble)
 
static OUString const & MergeLineThrough (XMLTokenEnum eLineThrough, bool bBold, bool bDouble, sal_Unicode c)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 

Private Attributes

css::uno::Reference< css::xml::sax::XAttributeList > m_xAttrList
 
XMLPropType m_ePropType
 
bool const m_bControlStyle
 

Additional Inherited Members

- Protected Member Functions inherited from XMLPersAttrListTContext
void SetExportQName (const OUString &r)
 
- Protected Member Functions inherited from XMLTransformerContext
XMLTransformerBaseGetTransformer ()
 
const XMLTransformerBaseGetTransformer () const
 
void SetQName (const OUString &rQName)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 61 of file StyleOASISTContext.cxx.

Constructor & Destructor Documentation

◆ XMLPropertiesTContext_Impl()

XMLPropertiesTContext_Impl::XMLPropertiesTContext_Impl ( XMLTransformerBase rTransformer,
const OUString &  rQName,
XMLPropType  eP,
bool  _bControlStyle 
)

Definition at line 95 of file StyleOASISTContext.cxx.

Member Function Documentation

◆ Export()

void XMLPropertiesTContext_Impl::Export ( )
overridevirtual

◆ GetPropType()

XMLPropType XMLPropertiesTContext_Impl::GetPropType ( std::u16string_view  rLocalName)
static

◆ MergeLineThrough()

OUString const & XMLPropertiesTContext_Impl::MergeLineThrough ( XMLTokenEnum  eLineThrough,
bool  bBold,
bool  bDouble,
sal_Unicode  c 
)
static

◆ MergeUnderline()

OUString const & XMLPropertiesTContext_Impl::MergeUnderline ( XMLTokenEnum  eUnderline,
bool  bBold,
bool  bDouble 
)
static

◆ SetQNameAndPropType()

void XMLPropertiesTContext_Impl::SetQNameAndPropType ( const OUString &  rQName,
XMLPropType  ePropType 
)
inline

Definition at line 70 of file StyleOASISTContext.cxx.

References m_ePropType, and XMLTransformerContext::SetQName().

◆ StartElement()

void XMLPropertiesTContext_Impl::StartElement ( const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList)
overridevirtual

Reimplemented from XMLPersAttrListTContext.

Definition at line 105 of file StyleOASISTContext.cxx.

References aAttrActionMaps, aBuf, sax::Converter::convertDouble(), sax::Converter::convertNumber(), sax::Converter::convertPercent(), XMLTransformerBase::DecodeStyleName(), SvXMLNamespaceMap::GetKeyByAttrName(), XMLTransformerBase::GetNamespaceMap(), SvXMLTokenEnumerator::getNextToken(), XMLTransformerBase::GetToken(), XMLTransformerContext::GetTransformer(), XMLTransformerBase::GetUserDefinedActions(), xmloff::token::GetXMLToken(), i, xmloff::token::IsXMLToken(), m_bControlStyle, m_ePropType, m_xAttrList, MAX_OASIS_PROP_ACTIONS, MergeLineThrough(), MergeUnderline(), XMLTransformerBase::NegPercent(), nIndex, nValue, XMLTransformerBase::ReplaceInWithInch(), XMLTransformerBase::ReplaceSingleInWithInch(), xmloff::token::XML_ALWAYS, xmloff::token::XML_ARROW_DOWN, xmloff::token::XML_ARROW_LEFT, xmloff::token::XML_ARROW_RIGHT, xmloff::token::XML_ARROW_UP, xmloff::token::XML_ASTERISK, XML_ATACTION_CAPTION_ESCAPE_OASIS, XML_ATACTION_COPY, XML_ATACTION_DECODE_PROTECT, XML_ATACTION_DECODE_STYLE_NAME_REF, XML_ATACTION_DRAW_MIRROR_OASIS, XML_ATACTION_GAMMA_OASIS, XML_ATACTION_IN2INCH, XML_ATACTION_INS2INCHS, XML_ATACTION_NEG_PERCENT, XML_ATACTION_OPACITY_FIX, XML_ATACTION_REMOVE, XML_ATACTION_RENAME, XML_ATACTION_RENAME_DECODE_STYLE_NAME_REF, XML_ATACTION_RENAME_NEG_PERCENT, xmloff::token::XML_AUTO, xmloff::token::XML_AUTOMATIC, xmloff::token::XML_B_SPLINE, xmloff::token::XML_BOLD, xmloff::token::XML_BOW_TIE, xmloff::token::XML_BREAK_INSIDE, xmloff::token::XML_CIRCLE, xmloff::token::XML_COLUMNSPLIT_AVOID, xmloff::token::XML_CUBIC_SPLINE, xmloff::token::XML_DIAMOND, xmloff::token::XML_DOUBLE, xmloff::token::XML_FALSE, xmloff::token::XML_GRADIENTSTYLE_SQUARE, xmloff::token::XML_HORIZONTAL, xmloff::token::XML_HORIZONTAL_BAR, xmloff::token::XML_HORIZONTAL_ON_EVEN, xmloff::token::XML_HORIZONTAL_ON_LEFT_PAGES, xmloff::token::XML_HORIZONTAL_ON_ODD, xmloff::token::XML_HORIZONTAL_ON_RIGHT_PAGES, xmloff::token::XML_HOURGLASS, xmloff::token::XML_IMAGE, xmloff::token::XML_INTERVAL_MINOR, xmloff::token::XML_MIRROR, xmloff::token::XML_MOVE_PROTECT, XML_NAMESPACE_CHART, XML_NAMESPACE_DRAW, XML_NAMESPACE_FO, XML_NAMESPACE_STYLE, xmloff::token::XML_NONE, XML_OPTACTION_CONTROL_TEXT_ALIGN, XML_OPTACTION_IMAGE_OPACITY, XML_OPTACTION_INTERPOLATION, XML_OPTACTION_INTERVAL_MAJOR, XML_OPTACTION_INTERVAL_MINOR_DIVISOR, XML_OPTACTION_KEEP_TOGETHER, XML_OPTACTION_KEEP_WITH_NEXT, XML_OPTACTION_LINE_MODE, XML_OPTACTION_LINETHROUGH_STYLE, XML_OPTACTION_LINETHROUGH_TEXT, XML_OPTACTION_LINETHROUGH_TYPE, XML_OPTACTION_LINETHROUGH_WIDTH, XML_OPTACTION_OPACITY, XML_OPTACTION_SYMBOL_NAME, XML_OPTACTION_SYMBOL_TYPE, XML_OPTACTION_UNDERLINE_STYLE, XML_OPTACTION_UNDERLINE_TYPE, XML_OPTACTION_UNDERLINE_WIDTH, xmloff::token::XML_PLUS, xmloff::token::XML_POSITION, xmloff::token::XML_SCORE_SPACES, xmloff::token::XML_SIZE, xmloff::token::XML_SIZE_PROTECT, xmloff::token::XML_SKIP_WHITE_SPACE, xmloff::token::XML_SPLINES, xmloff::token::XML_STAR, xmloff::token::XML_SYMBOL, xmloff::token::XML_TEXT_ALIGN, xmloff::token::XML_TEXT_CROSSING_OUT, xmloff::token::XML_TEXT_UNDERLINE, xmloff::token::XML_TOKEN_END, xmloff::token::XML_TRANSPARENCY, xmloff::token::XML_TRUE, xmloff::token::XML_VERTICAL_BAR, and xmloff::token::XML_X.

Member Data Documentation

◆ m_bControlStyle

bool const XMLPropertiesTContext_Impl::m_bControlStyle
private

Definition at line 66 of file StyleOASISTContext.cxx.

Referenced by StartElement().

◆ m_ePropType

XMLPropType XMLPropertiesTContext_Impl::m_ePropType
private

Definition at line 65 of file StyleOASISTContext.cxx.

Referenced by SetQNameAndPropType(), and StartElement().

◆ m_xAttrList

css::uno::Reference< css::xml::sax::XAttributeList > XMLPropertiesTContext_Impl::m_xAttrList
private

Definition at line 63 of file StyleOASISTContext.cxx.

Referenced by Export(), and StartElement().


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