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

#include <imp_share.hxx>

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

Public Member Functions

 ImportContext (DialogImport *pImport, css::uno::Reference< css::beans::XPropertySet > xControlModel_, OUString id)
 
const css::uno::Reference< css::beans::XPropertySet > & getControlModel () const
 
void importScollableSettings (css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
void importDefaults (sal_Int32 nBaseX, sal_Int32 nBaseY, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes, bool supportPrintable=true)
 
void importEvents (std::vector< css::uno::Reference< css::xml::input::XElement > > const &rEvents)
 
bool importStringProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importDoubleProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importBooleanProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importShortProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importLongProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importLongProperty (sal_Int32 nOffset, OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importHexLongProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importAlignProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importVerticalAlignProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importGraphicOrImageProperty (OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importImageAlignProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importImagePositionProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importDateProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importDateFormatProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importTimeProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importTimeFormatProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importOrientationProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importButtonTypeProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importLineEndFormatProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importSelectionTypeProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importDataAwareProperty (OUString const &rPropName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 
bool importImageScaleModeProperty (OUString const &rPropName, OUString const &rAttrName, css::uno::Reference< css::xml::input::XAttributes > const &xAttributes)
 

Protected Attributes

DialogImport *const _pImport
 
const css::uno::Reference< css::beans::XPropertySet_xControlModel
 
const OUString _aId
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ImportContext()

xmlscript::ImportContext::ImportContext ( DialogImport pImport,
css::uno::Reference< css::beans::XPropertySet xControlModel_,
OUString  id 
)
inline

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

References _xControlModel.

Member Function Documentation

◆ getControlModel()

const css::uno::Reference< css::beans::XPropertySet > & xmlscript::ImportContext::getControlModel ( ) const
inline

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

References _xControlModel.

Referenced by importDataAwareProperty(), and importGraphicOrImageProperty().

◆ importAlignProperty()

bool xmlscript::ImportContext::importAlignProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importBooleanProperty()

bool xmlscript::ImportContext::importBooleanProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importButtonTypeProperty()

bool xmlscript::ImportContext::importButtonTypeProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importDataAwareProperty()

bool xmlscript::ImportContext::importDataAwareProperty ( OUString const &  rPropName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importDateFormatProperty()

bool xmlscript::ImportContext::importDateFormatProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importDateProperty()

bool xmlscript::ImportContext::importDateProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importDefaults()

void xmlscript::ImportContext::importDefaults ( sal_Int32  nBaseX,
sal_Int32  nBaseY,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes,
bool  supportPrintable = true 
)

◆ importDoubleProperty()

bool xmlscript::ImportContext::importDoubleProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importEvents()

void xmlscript::ImportContext::importEvents ( std::vector< css::uno::Reference< css::xml::input::XElement > > const &  rEvents)

◆ importGraphicOrImageProperty()

bool xmlscript::ImportContext::importGraphicOrImageProperty ( OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importHexLongProperty()

bool xmlscript::ImportContext::importHexLongProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importImageAlignProperty()

bool xmlscript::ImportContext::importImageAlignProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importImagePositionProperty()

bool xmlscript::ImportContext::importImagePositionProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importImageScaleModeProperty()

bool xmlscript::ImportContext::importImageScaleModeProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importLineEndFormatProperty()

bool xmlscript::ImportContext::importLineEndFormatProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importLongProperty() [1/2]

bool xmlscript::ImportContext::importLongProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importLongProperty() [2/2]

bool xmlscript::ImportContext::importLongProperty ( sal_Int32  nOffset,
OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importOrientationProperty()

bool xmlscript::ImportContext::importOrientationProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importScollableSettings()

void xmlscript::ImportContext::importScollableSettings ( css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes)

Definition at line 1539 of file xmldlg_import.cxx.

References importBooleanProperty(), and importLongProperty().

◆ importSelectionTypeProperty()

bool xmlscript::ImportContext::importSelectionTypeProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importShortProperty()

bool xmlscript::ImportContext::importShortProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importStringProperty()

bool xmlscript::ImportContext::importStringProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

Definition at line 669 of file xmldlg_import.cxx.

References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.

Referenced by importDefaults().

◆ importTimeFormatProperty()

bool xmlscript::ImportContext::importTimeFormatProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importTimeProperty()

bool xmlscript::ImportContext::importTimeProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

◆ importVerticalAlignProperty()

bool xmlscript::ImportContext::importVerticalAlignProperty ( OUString const &  rPropName,
OUString const &  rAttrName,
css::uno::Reference< css::xml::input::XAttributes > const &  xAttributes 
)

Member Data Documentation

◆ _aId

const OUString xmlscript::ImportContext::_aId
protected

◆ _pImport

DialogImport* const xmlscript::ImportContext::_pImport
protected

◆ _xControlModel

const css::uno::Reference< css::beans::XPropertySet > xmlscript::ImportContext::_xControlModel
protected

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