LibreOffice Module xmlscript (master) 1
|
#include <imp_share.hxx>
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 |
Definition at line 365 of file xmldlg_imexp/imp_share.hxx.
|
inline |
Definition at line 373 of file xmldlg_imexp/imp_share.hxx.
References _xControlModel.
|
inline |
Definition at line 382 of file xmldlg_imexp/imp_share.hxx.
References _xControlModel.
Referenced by importDataAwareProperty(), and importGraphicOrImageProperty().
bool xmlscript::ImportContext::importAlignProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 774 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importBooleanProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 699 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, xmlscript::getBoolAttr(), and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
Referenced by importDefaults(), and importScollableSettings().
bool xmlscript::ImportContext::importButtonTypeProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1065 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importDataAwareProperty | ( | OUString const & | rPropName, |
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 899 of file xmldlg_import.cxx.
References _pImport, getControlModel(), xmlscript::DialogImport::getDocOwner(), and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importDateFormatProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1102 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importDateProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1188 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, Date::GetUNODate(), xmlscript::toInt32(), and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
void xmlscript::ImportContext::importDefaults | ( | sal_Int32 | nBaseX, |
sal_Int32 | nBaseY, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes, | ||
bool | supportPrintable = true |
||
) |
Definition at line 1562 of file xmldlg_import.cxx.
References _aId, _pImport, _xControlModel, Any, bVisible, DBG_UNHANDLED_EXCEPTION, Exception, xmlscript::getBoolAttr(), xmlscript::getLongAttr(), importBooleanProperty(), importLongProperty(), importShortProperty(), importStringProperty(), and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importDoubleProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 684 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
void xmlscript::ImportContext::importEvents | ( | std::vector< css::uno::Reference< css::xml::input::XElement > > const & | rEvents | ) |
Definition at line 1427 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, xmlscript::g_pEventTranslations, xmlscript::ElementBase::getAttributes(), xmlscript::ElementBase::getLocalName(), xmlscript::getStringAttr(), xmlscript::ElementBase::getUid(), OUStringToOString(), p, SAL_WARN_IF, xmlscript::DialogImport::XMLNS_DIALOGS_UID, and xmlscript::DialogImport::XMLNS_SCRIPT_UID.
bool xmlscript::ImportContext::importGraphicOrImageProperty | ( | OUString const & | rAttrName, |
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 845 of file xmldlg_import.cxx.
References _pImport, Any, xmlscript::DialogImport::getComponentContext(), getControlModel(), xmlscript::DialogImport::getDocOwner(), and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importHexLongProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 744 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, xmlscript::toInt32(), and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importImageAlignProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 955 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importImagePositionProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 992 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importImageScaleModeProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1350 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importLineEndFormatProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1279 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importLongProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Referenced by importDefaults(), and importScollableSettings().
bool xmlscript::ImportContext::importLongProperty | ( | sal_Int32 | nOffset, |
OUString const & | rPropName, | ||
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
bool xmlscript::ImportContext::importOrientationProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1250 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
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().
bool xmlscript::ImportContext::importSelectionTypeProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1312 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importShortProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 759 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, xmlscript::toInt32(), and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
Referenced by importDefaults().
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().
bool xmlscript::ImportContext::importTimeFormatProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1205 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importTimeProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 1171 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, tools::Time::GetUNOTime(), tools::Time::nanoPerCenti, xmlscript::toInt32(), and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
bool xmlscript::ImportContext::importVerticalAlignProperty | ( | OUString const & | rPropName, |
OUString const & | rAttrName, | ||
css::uno::Reference< css::xml::input::XAttributes > const & | xAttributes | ||
) |
Definition at line 811 of file xmldlg_import.cxx.
References _pImport, _xControlModel, Any, and xmlscript::DialogImport::XMLNS_DIALOGS_UID.
|
protected |
Definition at line 370 of file xmldlg_imexp/imp_share.hxx.
Referenced by xmlscript::ControlImportContext::finish(), and importDefaults().
|
protected |
Definition at line 368 of file xmldlg_imexp/imp_share.hxx.
Referenced by xmlscript::ControlImportContext::finish(), importAlignProperty(), importBooleanProperty(), importButtonTypeProperty(), importDataAwareProperty(), importDateFormatProperty(), importDateProperty(), importDefaults(), importDoubleProperty(), importEvents(), importGraphicOrImageProperty(), importHexLongProperty(), importImageAlignProperty(), importImagePositionProperty(), importImageScaleModeProperty(), importLineEndFormatProperty(), importOrientationProperty(), importSelectionTypeProperty(), importShortProperty(), importStringProperty(), importTimeFormatProperty(), importTimeProperty(), and importVerticalAlignProperty().
|
protected |
Definition at line 369 of file xmldlg_imexp/imp_share.hxx.
Referenced by xmlscript::ControlImportContext::finish(), getControlModel(), importAlignProperty(), importBooleanProperty(), importButtonTypeProperty(), ImportContext(), importDateFormatProperty(), importDateProperty(), importDefaults(), importDoubleProperty(), importEvents(), importHexLongProperty(), importImageAlignProperty(), importImagePositionProperty(), importImageScaleModeProperty(), importLineEndFormatProperty(), importOrientationProperty(), importSelectionTypeProperty(), importShortProperty(), importStringProperty(), importTimeFormatProperty(), importTimeProperty(), and importVerticalAlignProperty().