LibreOffice Module xmlscript (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
xmlscript::StyleElement Class Reference

#include <imp_share.hxx>

Inheritance diagram for xmlscript::StyleElement:
[legend]
Collaboration diagram for xmlscript::StyleElement:
[legend]

Public Member Functions

virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startChildElement (sal_Int32 nUid, OUString const &rLocalName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes) override
 
virtual void SAL_CALL endElement () override
 
void importTextColorStyle (css::uno::Reference< css::beans::XPropertySet > const &xProps)
 
void importTextLineColorStyle (css::uno::Reference< css::beans::XPropertySet > const &xProps)
 
void importFillColorStyle (css::uno::Reference< css::beans::XPropertySet > const &xProps)
 
void importBackgroundColorStyle (css::uno::Reference< css::beans::XPropertySet > const &xProps)
 
void importFontStyle (css::uno::Reference< css::beans::XPropertySet > const &xProps)
 
void importBorderStyle (css::uno::Reference< css::beans::XPropertySet > const &xProps)
 
void importVisualEffectStyle (css::uno::Reference< css::beans::XPropertySet > const &xProps)
 
 StyleElement (OUString const &rLocalName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes, ElementBase *pParent, DialogImport *pImport)
 
- Public Member Functions inherited from xmlscript::ElementBase
 ElementBase (sal_Int32 nUid, OUString aLocalName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes, ElementBase *pParent, DialogImport *pImport)
 
virtual ~ElementBase () override
 
virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL getParent () override
 
virtual OUString SAL_CALL getLocalName () override
 
virtual sal_Int32 SAL_CALL getUid () override
 
virtual css::uno::Reference< css::xml::input::XAttributes > SAL_CALL getAttributes () override
 
virtual void SAL_CALL ignorableWhitespace (OUString const &rWhitespaces) override
 
virtual void SAL_CALL characters (OUString const &rChars) override
 
virtual void SAL_CALL processingInstruction (OUString const &Target, OUString const &Data) override
 
virtual void SAL_CALL endElement () override
 
virtual css::uno::Reference< css::xml::input::XElement > SAL_CALL startChildElement (sal_Int32 nUid, OUString const &rLocalName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes) override
 

Private Member Functions

void setFontProperties (css::uno::Reference< css::beans::XPropertySet > const &xProps) const
 

Private Attributes

sal_Int32 _backgroundColor
 
sal_Int32 _textColor
 
sal_Int32 _textLineColor
 
sal_Int16 _border
 
sal_Int32 _borderColor
 
css::awt::FontDescriptor _descr
 
sal_Int16 _fontRelief
 
sal_Int16 _fontEmphasisMark
 
sal_Int32 _fillColor
 
sal_Int16 _visualEffect
 
short _inited
 
short _hasValue
 

Additional Inherited Members

- Protected Attributes inherited from xmlscript::ElementBase
DialogImportm_pImport
 
ElementBasem_pParent
 
const css::uno::Reference< css::xml::input::XAttributes > _xAttributes
 

Detailed Description

Definition at line 249 of file xmldlg_imexp/imp_share.hxx.

Constructor & Destructor Documentation

◆ StyleElement()

xmlscript::StyleElement::StyleElement ( OUString const &  rLocalName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes,
ElementBase pParent,
DialogImport pImport 
)
inline

Definition at line 291 of file xmldlg_imexp/imp_share.hxx.

References NONE.

Member Function Documentation

◆ endElement()

void xmlscript::StyleElement::endElement ( )
overridevirtual

◆ importBackgroundColorStyle()

void xmlscript::StyleElement::importBackgroundColorStyle ( css::uno::Reference< css::beans::XPropertySet > const &  xProps)

◆ importBorderStyle()

void xmlscript::StyleElement::importBorderStyle ( css::uno::Reference< css::beans::XPropertySet > const &  xProps)

◆ importFillColorStyle()

void xmlscript::StyleElement::importFillColorStyle ( css::uno::Reference< css::beans::XPropertySet > const &  xProps)

◆ importFontStyle()

void xmlscript::StyleElement::importFontStyle ( css::uno::Reference< css::beans::XPropertySet > const &  xProps)

◆ importTextColorStyle()

void xmlscript::StyleElement::importTextColorStyle ( css::uno::Reference< css::beans::XPropertySet > const &  xProps)

◆ importTextLineColorStyle()

void xmlscript::StyleElement::importTextLineColorStyle ( css::uno::Reference< css::beans::XPropertySet > const &  xProps)

◆ importVisualEffectStyle()

void xmlscript::StyleElement::importVisualEffectStyle ( css::uno::Reference< css::beans::XPropertySet > const &  xProps)

◆ setFontProperties()

void xmlscript::StyleElement::setFontProperties ( css::uno::Reference< css::beans::XPropertySet > const &  xProps) const
private

Definition at line 278 of file xmldlg_import.cxx.

References _descr, _fontEmphasisMark, _fontRelief, and Any.

Referenced by importFontStyle().

◆ startChildElement()

Reference< xml::input::XElement > xmlscript::StyleElement::startChildElement ( sal_Int32  nUid,
OUString const &  rLocalName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)
overridevirtual

Reimplemented from xmlscript::ElementBase.

Definition at line 1748 of file xmldlg_impmodels.cxx.

References Any.

Member Data Documentation

◆ _backgroundColor

sal_Int32 xmlscript::StyleElement::_backgroundColor
private

Definition at line 252 of file xmldlg_imexp/imp_share.hxx.

Referenced by importBackgroundColorStyle().

◆ _border

sal_Int16 xmlscript::StyleElement::_border
private

Definition at line 255 of file xmldlg_imexp/imp_share.hxx.

Referenced by importBorderStyle().

◆ _borderColor

sal_Int32 xmlscript::StyleElement::_borderColor
private

Definition at line 256 of file xmldlg_imexp/imp_share.hxx.

Referenced by importBorderStyle().

◆ _descr

css::awt::FontDescriptor xmlscript::StyleElement::_descr
private

Definition at line 257 of file xmldlg_imexp/imp_share.hxx.

Referenced by importFontStyle(), and setFontProperties().

◆ _fillColor

sal_Int32 xmlscript::StyleElement::_fillColor
private

Definition at line 260 of file xmldlg_imexp/imp_share.hxx.

Referenced by importFillColorStyle().

◆ _fontEmphasisMark

sal_Int16 xmlscript::StyleElement::_fontEmphasisMark
private

Definition at line 259 of file xmldlg_imexp/imp_share.hxx.

Referenced by importFontStyle(), and setFontProperties().

◆ _fontRelief

sal_Int16 xmlscript::StyleElement::_fontRelief
private

Definition at line 258 of file xmldlg_imexp/imp_share.hxx.

Referenced by importFontStyle(), and setFontProperties().

◆ _hasValue

short xmlscript::StyleElement::_hasValue
private

◆ _inited

short xmlscript::StyleElement::_inited
private

◆ _textColor

sal_Int32 xmlscript::StyleElement::_textColor
private

Definition at line 253 of file xmldlg_imexp/imp_share.hxx.

Referenced by importTextColorStyle().

◆ _textLineColor

sal_Int32 xmlscript::StyleElement::_textLineColor
private

Definition at line 254 of file xmldlg_imexp/imp_share.hxx.

Referenced by importTextLineColorStyle().

◆ _visualEffect

sal_Int16 xmlscript::StyleElement::_visualEffect
private

Definition at line 261 of file xmldlg_imexp/imp_share.hxx.

Referenced by importVisualEffectStyle().


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