|
LibreOffice Module vbahelper (master) 1
|
Namespaces | |
| namespace | excel |
| namespace | msforms |
| namespace | word |
Classes | |
| class | AbstractGeometryAttributes |
| class | ConcreteXShapeGeometryAttributes |
| class | ContainerUtilities |
| class | DebugHelper |
| class | DefaultReturnHelper |
| struct | MacroResolvedInfo |
| class | Millimeter |
| class | ReturnInteger |
| class | ShapeHelper |
| class | UserFormGeometryHelper |
| class | VBAMacroResolver |
Typedefs | |
| typedef ::cppu::WeakImplHelper< css::lang::XServiceInfo, css::lang::XInitialization, css::script::vba::XVBAMacroResolver > | VBAMacroResolverBase |
| typedef DefaultReturnHelper< sal_Int32, ov::msforms::XReturnInteger > | ReturnInteger_BASE |
Functions | |
| constexpr OUStringLiteral | sUrlPart0 (u"vnd.sun.star.script:") |
| constexpr OUStringLiteral | sUrlPart1 (u"?language=Basic&location=document") |
| OUString | makeMacroURL (std::u16string_view sMacroName) |
| OUString | extractMacroName (std::u16string_view rMacroUrl) |
| static std::u16string_view | trimMacroName (std::u16string_view rMacroName) |
| OUString | resolveVBAMacro (SfxObjectShell const *pShell, const OUString &rLibName, const OUString &rModuleName, const OUString &rMacroName, bool bOnlyPublic, const OUString &sSkipModule) |
| MacroResolvedInfo | resolveVBAMacro (SfxObjectShell *pShell, const OUString &MacroName, bool bSearchGlobalTemplates) |
| bool | executeMacro (SfxObjectShell *pShell, const OUString &sMacroName, uno::Sequence< uno::Any > &aArgs, uno::Any &aRet, const uno::Any &) |
| static bool | getModifier (sal_Unicode c, sal_uInt16 &mod) |
| static sal_uInt16 | parseChar (sal_Unicode c) |
| awt::KeyEvent | parseKeyEvent (std::u16string_view Key) |
| void | applyShortCutKeyBinding (const uno::Reference< frame::XModel > &rxModel, const awt::KeyEvent &rKeyEvent, const OUString &rMacroName) |
| MSFILTER_DLLPUBLIC OUString | getDefaultProjectName (SfxObjectShell const *pShell) |
| MSFILTER_DLLPUBLIC bool | executeMacro (SfxObjectShell *pShell, const OUString &sMacroName, css::uno::Sequence< css::uno::Any > &aArgs, css::uno::Any &aRet, const css::uno::Any &aCaller) |
| MSFILTER_DLLPUBLIC void | applyShortCutKeyBinding (const css::uno::Reference< css::frame::XModel > &rxDoc, const css::awt::KeyEvent &rKeyEvent, const OUString &sMacro) |
| static bool | isInPrintPreview (SfxViewFrame *pView) |
| uno::Reference< beans::XIntrospectionAccess > | getIntrospectionAccess (const uno::Any &aObject) |
| uno::Reference< script::XTypeConverter > const & | getTypeConverter (const uno::Reference< uno::XComponentContext > &xContext) |
| const uno::Any & | aNULL () |
| void | dispatchExecute (SfxViewShell const *pViewShell, sal_uInt16 nSlot) |
| void | dispatchRequests (const uno::Reference< frame::XModel > &xModel, const OUString &aUrl, const uno::Sequence< beans::PropertyValue > &sProps) |
| void | dispatchRequests (const uno::Reference< frame::XModel > &xModel, const OUString &aUrl) |
| uno::Reference< frame::XModel > | getCurrentDoc (const OUString &sKey) |
| static uno::Reference< frame::XModel > | getCurrentDocCtx (const OUString &ctxName, const uno::Reference< uno::XComponentContext > &xContext) |
| uno::Reference< frame::XModel > | getThisExcelDoc (const uno::Reference< uno::XComponentContext > &xContext) |
| uno::Reference< frame::XModel > | getThisWordDoc (const uno::Reference< uno::XComponentContext > &xContext) |
| uno::Reference< frame::XModel > | getCurrentExcelDoc (const uno::Reference< uno::XComponentContext > &xContext) |
| uno::Reference< frame::XModel > | getCurrentWordDoc (const uno::Reference< uno::XComponentContext > &xContext) |
| sal_Int32 | OORGBToXLRGB (sal_Int32 nCol) |
| sal_Int32 | XLRGBToOORGB (sal_Int32 nCol) |
| uno::Any | OORGBToXLRGB (const uno::Any &aCol) |
| uno::Any | XLRGBToOORGB (const uno::Any &aCol) |
| void | PrintOutHelper (SfxViewShell const *pViewShell, const uno::Any &From, const uno::Any &To, const uno::Any &Copies, const uno::Any &Preview, const uno::Any &, const uno::Any &, const uno::Any &Collate, const uno::Any &PrToFileName, bool bUseSelection) |
| void | PrintPreviewHelper (const css::uno::Any &, SfxViewShell const *pViewShell) |
| void | WaitUntilPreviewIsClosed (SfxViewFrame *pViewFrame) |
| bool | extractBoolFromAny (const uno::Any &rAny) |
| OUString | extractStringFromAny (const uno::Any &rAny, bool bUppercaseBool) |
| OUString | extractStringFromAny (const uno::Any &rAny, const OUString &rDefault, bool bUppercaseBool) |
| OUString | getAnyAsString (const uno::Any &pvargItem) |
| static bool | NeedEsc (sal_Unicode cCode) |
| OUString | VBAToRegexp (const OUString &rIn) |
| static double | getPixelToMeterConversionFactor (const css::uno::Reference< css::awt::XDevice > &xDevice, bool bVertical) |
| double | PointsToPixels (const css::uno::Reference< css::awt::XDevice > &xDevice, double fPoints, bool bVertical) |
| double | PixelsToPoints (const css::uno::Reference< css::awt::XDevice > &xDevice, double fPixels, bool bVertical) |
| PointerStyle | getPointerStyle (const uno::Reference< frame::XModel > &xModel) |
| void | setCursorHelper (const uno::Reference< frame::XModel > &xModel, PointerStyle nPointer, bool bOverWrite) |
| void | setDefaultPropByIntrospection (const uno::Any &aObj, const uno::Any &aValue) |
| uno::Any | getPropertyValue (const uno::Sequence< beans::PropertyValue > &aProp, const OUString &aName) |
| bool | setPropertyValue (uno::Sequence< beans::PropertyValue > &aProp, const OUString &aName, const uno::Any &aValue) |
| void | setOrAppendPropertyValue (uno::Sequence< beans::PropertyValue > &aProp, const OUString &aName, const uno::Any &aValue) |
| bool | executeRunTimeLibrary (const std::u16string_view &rSbRtl_command, SbxArray *pParameters) |
| uno::Reference< XHelperInterface > | getVBADocument (const uno::Reference< frame::XModel > &xModel) |
| uno::Reference< XHelperInterface > | getUnoDocModule (std::u16string_view aModName, SfxObjectShell const *pShell) |
| SfxObjectShell * | getSfxObjShell (const uno::Reference< frame::XModel > &xModel) |
| css::uno::Reference< css::lang::XMultiServiceFactory > | getVBAServiceFactory (SfxObjectShell const *pShell) |
| css::uno::Reference< css::uno::XInterface > | createVBAUnoAPIServiceWithArgs (SfxObjectShell const *pShell, const char *_pAsciiName, const css::uno::Sequence< css::uno::Any > &aArgs) |
| bool | isAlienDoc (SfxObjectShell const &rDocShell, const char *pMimeType) |
| bool | isAlienExcelDoc (SfxObjectShell const &rDocShell) |
| bool | isAlienWordDoc (SfxObjectShell const &rDocShell) |
| template<class T > | |
| css::uno::Reference< T > | getXSomethingFromArgs (css::uno::Sequence< css::uno::Any > const &args, sal_Int32 nPos, bool bCanBeNull=true) |
| VBAHELPER_DLLPUBLIC css::uno::Reference< XHelperInterface > | getVBADocument (const css::uno::Reference< css::frame::XModel > &xModel) |
| Returns the VBA document implementation object representing the passed UNO document model. More... | |
| VBAHELPER_DLLPUBLIC SfxObjectShell * | getSfxObjShell (const css::uno::Reference< css::frame::XModel > &xModel) |
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > | getThisExcelDoc (const css::uno::Reference< css::uno::XComponentContext > &xContext) |
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > | getThisWordDoc (const css::uno::Reference< css::uno::XComponentContext > &xContext) |
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > | getCurrentExcelDoc (const css::uno::Reference< css::uno::XComponentContext > &xContext) |
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > | getCurrentWordDoc (const css::uno::Reference< css::uno::XComponentContext > &xContext) |
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::beans::XIntrospectionAccess > | getIntrospectionAccess (const css::uno::Any &aObject) |
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::script::XTypeConverter > const & | getTypeConverter (const css::uno::Reference< css::uno::XComponentContext > &xContext) |
| VBAHELPER_DLLPUBLIC void | dispatchRequests (const css::uno::Reference< css::frame::XModel > &xModel, const OUString &aUrl) |
| VBAHELPER_DLLPUBLIC void | dispatchRequests (const css::uno::Reference< css::frame::XModel > &xModel, const OUString &aUrl, const css::uno::Sequence< css::beans::PropertyValue > &sProps) |
| sal_Int32 | OORGBToXLRGB (::Color n) |
| VBAHELPER_DLLPUBLIC css::uno::Any | OORGBToXLRGB (const css::uno::Any &) |
| VBAHELPER_DLLPUBLIC css::uno::Any | XLRGBToOORGB (const css::uno::Any &) |
| VBAHELPER_DLLPUBLIC void | PrintOutHelper (SfxViewShell const *pViewShell, const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &Copies, const css::uno::Any &Preview, const css::uno::Any &ActivePrinter, const css::uno::Any &PrintToFile, const css::uno::Any &Collate, const css::uno::Any &PrToFileName, bool bSelection) |
| VBAHELPER_DLLPUBLIC bool | extractBoolFromAny (const css::uno::Any &rAny) |
| Extracts a boolean value from the passed Any, which may contain a Boolean or an integer or floating-point value. More... | |
| VBAHELPER_DLLPUBLIC OUString | extractStringFromAny (const css::uno::Any &rAny, bool bUppercaseBool=false) |
| Extracts a string from the passed Any, which may contain a Boolean, a value, or a string. More... | |
| VBAHELPER_DLLPUBLIC OUString | extractStringFromAny (const css::uno::Any &rAny, const OUString &rDefault, bool bUppercaseBool) |
| Extracts a string from the passed Any, which may contain a Boolean, a value, or a string. More... | |
| VBAHELPER_DLLPUBLIC OUString | getAnyAsString (const css::uno::Any &pvargItem) |
| VBAHELPER_DLLPUBLIC PointerStyle | getPointerStyle (const css::uno::Reference< css::frame::XModel > &) |
| VBAHELPER_DLLPUBLIC void | setCursorHelper (const css::uno::Reference< css::frame::XModel > &xModel, PointerStyle nPointer, bool bOverWrite) |
| VBAHELPER_DLLPUBLIC void | setDefaultPropByIntrospection (const css::uno::Any &aObj, const css::uno::Any &aValue) |
| VBAHELPER_DLLPUBLIC css::uno::Any | getPropertyValue (const css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName) |
| VBAHELPER_DLLPUBLIC bool | setPropertyValue (css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName, const css::uno::Any &aValue) |
| VBAHELPER_DLLPUBLIC void | setOrAppendPropertyValue (css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName, const css::uno::Any &aValue) |
Variables | |
| constexpr OUStringLiteral | saPosXName = u"PositionX" |
| constexpr OUStringLiteral | saPosYName = u"PositionY" |
| constexpr OUStringLiteral | saWidthName = u"Width" |
| constexpr OUStringLiteral | saHeightName = u"Height" |
| typedef DefaultReturnHelper< sal_Int32, ov::msforms::XReturnInteger > ooo::vba::ReturnInteger_BASE |
Definition at line 43 of file vbareturntypes.hxx.
| VBAHELPER_DLLPUBLIC const css::uno::Any & ooo::vba::aNULL | ( | ) |
Definition at line 114 of file vbahelper.cxx.
|
inline |
| css::uno::Exception |
Definition at line 51 of file vbaaccesshelper.hxx.
References getVBAServiceFactory().
| VBAHELPER_DLLPUBLIC void ooo::vba::dispatchExecute | ( | SfxViewShell const * | pViewShell, |
| sal_uInt16 | nSlot | ||
| ) |
Definition at line 120 of file vbahelper.cxx.
References SfxDispatcher::Execute(), SfxViewFrame::GetDispatcher(), and SfxViewShell::GetViewFrame().
Referenced by PrintPreviewHelper().
| VBAHELPER_DLLPUBLIC void ooo::vba::dispatchRequests | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
| const OUString & | aUrl | ||
| ) |
| VBAHELPER_DLLPUBLIC void ooo::vba::dispatchRequests | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
| const OUString & | aUrl, | ||
| const css::uno::Sequence< css::beans::PropertyValue > & | sProps | ||
| ) |
| void ooo::vba::dispatchRequests | ( | const uno::Reference< frame::XModel > & | xModel, |
| const OUString & | aUrl | ||
| ) |
Definition at line 172 of file vbahelper.cxx.
References dispatchRequests(), and xModel.
| void ooo::vba::dispatchRequests | ( | const uno::Reference< frame::XModel > & | xModel, |
| const OUString & | aUrl, | ||
| const uno::Sequence< beans::PropertyValue > & | sProps | ||
| ) |
Definition at line 136 of file vbahelper.cxx.
References comphelper::getProcessComponentContext(), xController, xFrame, and xModel.
Referenced by dispatchRequests(), VbaDocumentBase::Save(), VbaDialogBase::Show(), and VbaApplicationBase::Undo().
| VBAHELPER_DLLPUBLIC bool ooo::vba::executeRunTimeLibrary | ( | const std::u16string_view & | rSbRtl_command, |
| SbxArray * | pParameters | ||
| ) |
Definition at line 749 of file vbahelper.cxx.
References SbxVariable::Broadcast(), SbxObject::Find(), StarBASIC::GetActiveModule(), SbxVariable::GetParent(), StarBASIC::GetRtl(), and SbxVariable::SetParameters().
| VBAHELPER_DLLPUBLIC bool ooo::vba::extractBoolFromAny | ( | const css::uno::Any & | rAny | ) |
Extracts a boolean value from the passed Any, which may contain a Boolean or an integer or floating-point value.
| css::uno::RuntimeException | if the Any is empty or contains an incompatible type. |
| bool ooo::vba::extractBoolFromAny | ( | const uno::Any & | rAny | ) |
Definition at line 444 of file vbahelper.cxx.
Referenced by VbaEventsHelperBase::processVbaEvent().
| VBAHELPER_DLLPUBLIC OUString ooo::vba::extractStringFromAny | ( | const css::uno::Any & | rAny, |
| bool | bUppercaseBool = false |
||
| ) |
Extracts a string from the passed Any, which may contain a Boolean, a value, or a string.
| css::uno::RuntimeException | if the Any is empty or contains an incompatible type. |
| VBAHELPER_DLLPUBLIC OUString ooo::vba::extractStringFromAny | ( | const css::uno::Any & | rAny, |
| const OUString & | rDefault, | ||
| bool | bUppercaseBool | ||
| ) |
Extracts a string from the passed Any, which may contain a Boolean, a value, or a string.
Returns rDefault, if rAny is empty.
| css::uno::RuntimeException | if the Any contains an incompatible type. |
| OUString ooo::vba::extractStringFromAny | ( | const uno::Any & | rAny, |
| bool | bUppercaseBool | ||
| ) |
Definition at line 465 of file vbahelper.cxx.
Referenced by extractStringFromAny(), getAnyAsString(), ScVbaComboBox::setValue(), and ScVbaTextBox::setValue().
| OUString ooo::vba::extractStringFromAny | ( | const uno::Any & | rAny, |
| const OUString & | rDefault, | ||
| bool | bUppercaseBool | ||
| ) |
Definition at line 490 of file vbahelper.cxx.
References extractStringFromAny(), and uno::Any::hasValue().
| VBAHELPER_DLLPUBLIC OUString ooo::vba::getAnyAsString | ( | const css::uno::Any & | pvargItem | ) |
| css::uno::RuntimeException |
| OUString ooo::vba::getAnyAsString | ( | const uno::Any & | pvargItem | ) |
Definition at line 495 of file vbahelper.cxx.
References extractStringFromAny().
Referenced by ListControlHelper::AddItem(), and ScVbaListBox::setValue().
| css::uno::Reference< css::frame::XModel > ooo::vba::getCurrentDoc | ( | const OUString & | sKey | ) |
| css::uno::RuntimeException |
Definition at line 179 of file vbahelper.cxx.
References SbxObject::Find(), SfxApplication::GetBasic(), SbxVariable::GetParent(), SAL_INFO, sbxToUnoValue(), and xModel.
Referenced by getCurrentExcelDoc(), and getCurrentWordDoc().
|
static |
| uno::RuntimeException |
Definition at line 225 of file vbahelper.cxx.
References xModel.
Referenced by getThisExcelDoc(), and getThisWordDoc().
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > ooo::vba::getCurrentExcelDoc | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext | ) |
| css::uno::RuntimeException |
| uno::Reference< frame::XModel > ooo::vba::getCurrentExcelDoc | ( | const uno::Reference< uno::XComponentContext > & | xContext | ) |
Definition at line 247 of file vbahelper.cxx.
References getCurrentDoc(), getThisExcelDoc(), and xModel.
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > ooo::vba::getCurrentWordDoc | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext | ) |
| css::uno::RuntimeException |
| uno::Reference< frame::XModel > ooo::vba::getCurrentWordDoc | ( | const uno::Reference< uno::XComponentContext > & | xContext | ) |
Definition at line 268 of file vbahelper.cxx.
References getCurrentDoc(), getThisWordDoc(), and xModel.
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::beans::XIntrospectionAccess > ooo::vba::getIntrospectionAccess | ( | const css::uno::Any & | aObject | ) |
| css::uno::RuntimeException |
| uno::Reference< beans::XIntrospectionAccess > ooo::vba::getIntrospectionAccess | ( | const uno::Any & | aObject | ) |
Definition at line 101 of file vbahelper.cxx.
References comphelper::getProcessComponentContext(), and xIntrospection.
Referenced by setDefaultPropByIntrospection(), and ScVbaUserForm::setValue().
|
static |
Definition at line 611 of file vbahelper.cxx.
Referenced by PixelsToPoints(), and PointsToPixels().
| VBAHELPER_DLLPUBLIC PointerStyle ooo::vba::getPointerStyle | ( | const css::uno::Reference< css::frame::XModel > & | ) |
| PointerStyle ooo::vba::getPointerStyle | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 635 of file vbahelper.cxx.
References DBG_UNHANDLED_EXCEPTION, vcl::Window::GetPointer(), vcl::Window::GetSystemWindow(), VCLUnoHelper::GetWindow(), xController, xFrame, and xModel.
| VBAHELPER_DLLPUBLIC css::uno::Any ooo::vba::getPropertyValue | ( | const css::uno::Sequence< css::beans::PropertyValue > & | aProp, |
| const OUString & | aName | ||
| ) |
| uno::Any ooo::vba::getPropertyValue | ( | const uno::Sequence< beans::PropertyValue > & | aProp, |
| const OUString & | aName | ||
| ) |
Definition at line 714 of file vbahelper.cxx.
References aName.
Referenced by ScVbaCommandBarControl::Controls(), ScVbaCommandBarControls::createCollectionObject(), VbaCommandBarHelper::findControlByName(), ScVbaCommandBarControl::getCaption(), ScVbaCommandBarControl::getEnabled(), ScVbaCommandBar::getName(), ScVbaCommandBarControl::getOnAction(), ScVbaCommandBar::getVisible(), ScVbaCommandBarControl::getVisible(), ScVbaCommandBarControl::setEnabled(), and ScVbaCommandBarControl::setVisible().
| VBAHELPER_DLLPUBLIC SfxObjectShell * ooo::vba::getSfxObjShell | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
| css::uno::RuntimeException |
| SfxObjectShell * ooo::vba::getSfxObjShell | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 1113 of file vbahelper.cxx.
References xModel.
Referenced by getVBADocument(), VbaApplicationBase::Run(), ScVbaCommandBarControl::setOnAction(), and VbaEventsHelperBase::VbaEventsHelperBase().
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > ooo::vba::getThisExcelDoc | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext | ) |
| css::uno::RuntimeException |
| uno::Reference< frame::XModel > ooo::vba::getThisExcelDoc | ( | const uno::Reference< uno::XComponentContext > & | xContext | ) |
Definition at line 235 of file vbahelper.cxx.
References getCurrentDocCtx().
Referenced by getCurrentExcelDoc().
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > ooo::vba::getThisWordDoc | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext | ) |
| css::uno::RuntimeException |
| uno::Reference< frame::XModel > ooo::vba::getThisWordDoc | ( | const uno::Reference< uno::XComponentContext > & | xContext | ) |
Definition at line 241 of file vbahelper.cxx.
References getCurrentDocCtx().
Referenced by getCurrentWordDoc().
| VBAHELPER_DLLPUBLIC css::uno::Reference< css::script::XTypeConverter > const & ooo::vba::getTypeConverter | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext | ) |
| css::uno::RuntimeException |
| uno::Reference< script::XTypeConverter > const & ooo::vba::getTypeConverter | ( | const uno::Reference< uno::XComponentContext > & | xContext | ) |
Definition at line 108 of file vbahelper.cxx.
Referenced by ScVbaShapes::getShapesByArrayIndices().
| VBAHELPER_DLLPUBLIC css::uno::Reference< XHelperInterface > ooo::vba::getUnoDocModule | ( | std::u16string_view | aModName, |
| SfxObjectShell const * | pShell | ||
| ) |
Definition at line 1091 of file vbahelper.cxx.
References SfxObjectShell::GetBasicManager(), BasicManager::GetLib(), BasicManager::GetName(), and comphelper::Automation::AutomationInvokedZone::isActive().
Referenced by getVBADocument().
| VBAHELPER_DLLPUBLIC css::uno::Reference< XHelperInterface > ooo::vba::getVBADocument | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
Returns the VBA document implementation object representing the passed UNO document model.
| uno::Reference< XHelperInterface > ooo::vba::getVBADocument | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 1075 of file vbahelper.cxx.
References getSfxObjShell(), getUnoDocModule(), and xModel.
|
inline |
Definition at line 41 of file vbaaccesshelper.hxx.
References SfxObjectShell::GetBasicManager(), and BasicManager::GetGlobalUNOConstant().
Referenced by createVBAUnoAPIServiceWithArgs().
| css::uno::Reference< T > ooo::vba::getXSomethingFromArgs | ( | css::uno::Sequence< css::uno::Any > const & | args, |
| sal_Int32 | nPos, | ||
| bool | bCanBeNull = true |
||
| ) |
| css::lang::IllegalArgumentException |
Definition at line 60 of file vbahelper.hxx.
|
inline |
Definition at line 60 of file vbaaccesshelper.hxx.
References SfxMedium::GetFilter(), and SfxObjectShell::GetMedium().
Referenced by isAlienExcelDoc(), and isAlienWordDoc().
|
inline |
Definition at line 69 of file vbaaccesshelper.hxx.
References isAlienDoc().
|
inline |
Definition at line 72 of file vbaaccesshelper.hxx.
References isAlienDoc().
|
static |
Definition at line 86 of file vbahelper.cxx.
References SfxViewFrame::GetCurViewId(), SfxObjectShell::GetFactory(), SfxViewFrame::GetObjectShell(), SfxViewFactory::GetOrdinal(), SfxObjectFactory::GetViewFactory(), SfxObjectFactory::GetViewFactoryCount(), and SfxObjectShell::IsInPlaceActive().
Referenced by WaitUntilPreviewIsClosed().
|
static |
Definition at line 533 of file vbahelper.cxx.
Referenced by VBAToRegexp().
|
inline |
Definition at line 98 of file vbahelper.hxx.
References n, and OORGBToXLRGB().
| VBAHELPER_DLLPUBLIC css::uno::Any ooo::vba::OORGBToXLRGB | ( | const css::uno::Any & | ) |
Definition at line 323 of file vbahelper.cxx.
References OORGBToXLRGB().
| VBAHELPER_DLLPUBLIC sal_Int32 ooo::vba::OORGBToXLRGB | ( | sal_Int32 | nCol | ) |
Definition at line 289 of file vbahelper.cxx.
Referenced by VbaFontBase::getColor(), ScVbaControl::getForeColor(), ScVbaColorFormat::getRGB(), OORGBToXLRGB(), and VbaFontBase::setColorIndex().
| VBAHELPER_DLLPUBLIC double ooo::vba::PixelsToPoints | ( | const css::uno::Reference< css::awt::XDevice > & | xDevice, |
| double | fPixels, | ||
| bool | bVertical | ||
| ) |
Definition at line 621 of file vbahelper.cxx.
References o3tl::convert(), getPixelToMeterConversionFactor(), o3tl::m, and o3tl::pt.
| VBAHELPER_DLLPUBLIC double ooo::vba::PointsToPixels | ( | const css::uno::Reference< css::awt::XDevice > & | xDevice, |
| double | fPoints, | ||
| bool | bVertical | ||
| ) |
Definition at line 616 of file vbahelper.cxx.
References o3tl::convert(), getPixelToMeterConversionFactor(), o3tl::m, and o3tl::pt.
| VBAHELPER_DLLPUBLIC void ooo::vba::PrintOutHelper | ( | SfxViewShell const * | pViewShell, |
| const css::uno::Any & | From, | ||
| const css::uno::Any & | To, | ||
| const css::uno::Any & | Copies, | ||
| const css::uno::Any & | Preview, | ||
| const css::uno::Any & | ActivePrinter, | ||
| const css::uno::Any & | PrintToFile, | ||
| const css::uno::Any & | Collate, | ||
| const css::uno::Any & | PrToFileName, | ||
| bool | bSelection | ||
| ) |
| void ooo::vba::PrintOutHelper | ( | SfxViewShell const * | pViewShell, |
| const uno::Any & | From, | ||
| const uno::Any & | To, | ||
| const uno::Any & | Copies, | ||
| const uno::Any & | Preview, | ||
| const uno::Any & | , | ||
| const uno::Any & | , | ||
| const uno::Any & | Collate, | ||
| const uno::Any & | PrToFileName, | ||
| bool | bUseSelection | ||
| ) |
Definition at line 339 of file vbahelper.cxx.
References Copies, SfxDispatcher::Execute(), SfxViewFrame::GetDispatcher(), SfxViewFrame::GetFrame(), SfxViewShell::GetViewFrame(), SfxFrame::IsInPlace(), Preview, SfxItemSet::Put(), SfxGetpApp(), To, WaitUntilPreviewIsClosed(), and SfxPoolItem::Which().
| VBAHELPER_DLLPUBLIC void ooo::vba::PrintPreviewHelper | ( | const css::uno::Any & | , |
| SfxViewShell const * | pViewShell | ||
| ) |
Definition at line 423 of file vbahelper.cxx.
References dispatchExecute(), SfxViewFrame::GetFrame(), SfxViewShell::GetViewFrame(), SfxFrame::IsInPlace(), and WaitUntilPreviewIsClosed().
| VBAHELPER_DLLPUBLIC void ooo::vba::setCursorHelper | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
| PointerStyle | nPointer, | ||
| bool | bOverWrite | ||
| ) |
| void ooo::vba::setCursorHelper | ( | const uno::Reference< frame::XModel > & | xModel, |
| PointerStyle | nPointer, | ||
| bool | bOverWrite | ||
| ) |
Definition at line 659 of file vbahelper.cxx.
References VCLUnoHelper::GetWindow(), SAL_WARN_IF, xController, xFrame, and xModel.
| VBAHELPER_DLLPUBLIC void ooo::vba::setDefaultPropByIntrospection | ( | const css::uno::Any & | aObj, |
| const css::uno::Any & | aValue | ||
| ) |
| css::uno::RuntimeException |
Definition at line 697 of file vbahelper.cxx.
References getIntrospectionAccess().
| VBAHELPER_DLLPUBLIC void ooo::vba::setOrAppendPropertyValue | ( | css::uno::Sequence< css::beans::PropertyValue > & | aProp, |
| const OUString & | aName, | ||
| const css::uno::Any & | aValue | ||
| ) |
| void ooo::vba::setOrAppendPropertyValue | ( | uno::Sequence< beans::PropertyValue > & | aProp, |
| const OUString & | aName, | ||
| const uno::Any & | aValue | ||
| ) |
Definition at line 736 of file vbahelper.cxx.
References aName, nLength, and setPropertyValue().
| VBAHELPER_DLLPUBLIC bool ooo::vba::setPropertyValue | ( | css::uno::Sequence< css::beans::PropertyValue > & | aProp, |
| const OUString & | aName, | ||
| const css::uno::Any & | aValue | ||
| ) |
| bool ooo::vba::setPropertyValue | ( | uno::Sequence< beans::PropertyValue > & | aProp, |
| const OUString & | aName, | ||
| const uno::Any & | aValue | ||
| ) |
Definition at line 723 of file vbahelper.cxx.
References aName, begin, and end.
Referenced by setOrAppendPropertyValue().
| VBAHELPER_DLLPUBLIC OUString ooo::vba::VBAToRegexp | ( | const OUString & | rIn | ) |
Definition at line 538 of file vbahelper.cxx.
| VBAHELPER_DLLPUBLIC void ooo::vba::WaitUntilPreviewIsClosed | ( | SfxViewFrame * | pViewFrame | ) |
Definition at line 438 of file vbahelper.cxx.
References isInPrintPreview(), Application::IsQuit(), and Application::Yield().
Referenced by PrintOutHelper(), and PrintPreviewHelper().
| VBAHELPER_DLLPUBLIC css::uno::Any ooo::vba::XLRGBToOORGB | ( | const css::uno::Any & | ) |
Definition at line 331 of file vbahelper.cxx.
References XLRGBToOORGB().
| VBAHELPER_DLLPUBLIC sal_Int32 ooo::vba::XLRGBToOORGB | ( | sal_Int32 | nCol | ) |
Definition at line 306 of file vbahelper.cxx.
Referenced by VbaFontBase::getColorIndex(), ScVbaControl::setBackColor(), VbaFontBase::setColor(), ScVbaColorFormat::setRGB(), and XLRGBToOORGB().
|
constexpr |
Definition at line 860 of file vbahelper.cxx.
Referenced by ooo::vba::UserFormGeometryHelper::implGetSize(), and ooo::vba::UserFormGeometryHelper::implSetSize().
|
constexpr |
Definition at line 857 of file vbahelper.cxx.
Referenced by ooo::vba::UserFormGeometryHelper::implGetPos(), and ooo::vba::UserFormGeometryHelper::implSetPos().
|
constexpr |
Definition at line 858 of file vbahelper.cxx.
Referenced by ooo::vba::UserFormGeometryHelper::implGetPos(), and ooo::vba::UserFormGeometryHelper::implSetPos().
|
constexpr |
Definition at line 859 of file vbahelper.cxx.
Referenced by ooo::vba::UserFormGeometryHelper::implGetSize(), and ooo::vba::UserFormGeometryHelper::implSetSize().