LibreOffice Module vbahelper (master) 1
Classes | Namespaces | Macros | Functions
vbahelper.hxx File Reference
#include <memory>
#include <string_view>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <basic/sbxmeth.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <tools/color.hxx>
#include <vbahelper/vbadllapi.h>
#include <vcl/ptrstyle.hxx>
#include <comphelper/errcode.hxx>
Include dependency graph for vbahelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ooo::vba::Millimeter
 
class  ooo::vba::AbstractGeometryAttributes
 
class  ooo::vba::ShapeHelper
 
class  ooo::vba::ConcreteXShapeGeometryAttributes
 
class  ooo::vba::UserFormGeometryHelper
 
class  ooo::vba::ContainerUtilities
 
class  ooo::vba::DebugHelper
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::awt
 
namespace  com::sun::star::beans
 
namespace  com::sun::star::drawing
 
namespace  com::sun::star::frame
 
namespace  com::sun::star::script
 
namespace  com::sun::star::uno
 
namespace  ooo
 
namespace  ooo::vba
 

Macros

#define VBA_LEFT   "PositionX"
 
#define VBA_TOP   "PositionY"
 

Functions

template<class T >
css::uno::Reference< T > ooo::vba::getXSomethingFromArgs (css::uno::Sequence< css::uno::Any > const &args, sal_Int32 nPos, bool bCanBeNull=true)
 
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. More...
 
uno::Reference< XHelperInterface > ooo::vba::getUnoDocModule (std::u16string_view aModName, SfxObjectShell const *pShell)
 
VBAHELPER_DLLPUBLIC SfxObjectShellooo::vba::getSfxObjShell (const css::uno::Reference< css::frame::XModel > &xModel)
 
uno::Reference< frame::XModel > ooo::vba::getCurrentDoc (const OUString &sKey)
 
VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > ooo::vba::getThisExcelDoc (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > ooo::vba::getThisWordDoc (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > ooo::vba::getCurrentExcelDoc (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
VBAHELPER_DLLPUBLIC css::uno::Reference< css::frame::XModel > ooo::vba::getCurrentWordDoc (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
VBAHELPER_DLLPUBLIC css::uno::Reference< css::beans::XIntrospectionAccess > ooo::vba::getIntrospectionAccess (const css::uno::Any &aObject)
 
VBAHELPER_DLLPUBLIC css::uno::Reference< css::script::XTypeConverter > const & ooo::vba::getTypeConverter (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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::dispatchExecute (SfxViewShell const *pViewShell, sal_uInt16 nSlot)
 
sal_Int32 ooo::vba::OORGBToXLRGB (sal_Int32 nCol)
 
sal_Int32 ooo::vba::OORGBToXLRGB (::Color n)
 
sal_Int32 ooo::vba::XLRGBToOORGB (sal_Int32 nCol)
 
VBAHELPER_DLLPUBLIC css::uno::Any ooo::vba::OORGBToXLRGB (const css::uno::Any &)
 
VBAHELPER_DLLPUBLIC css::uno::Any ooo::vba::XLRGBToOORGB (const css::uno::Any &)
 
const uno::Anyooo::vba::aNULL ()
 
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::PrintPreviewHelper (const css::uno::Any &, SfxViewShell const *pViewShell)
 
void ooo::vba::WaitUntilPreviewIsClosed (SfxViewFrame *pViewFrame)
 
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. More...
 
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. More...
 
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. More...
 
VBAHELPER_DLLPUBLIC OUString ooo::vba::getAnyAsString (const css::uno::Any &pvargItem)
 
OUString ooo::vba::VBAToRegexp (const OUString &rIn)
 
double ooo::vba::PointsToPixels (const css::uno::Reference< css::awt::XDevice > &xDevice, double fPoints, bool bVertical)
 
double ooo::vba::PixelsToPoints (const css::uno::Reference< css::awt::XDevice > &xDevice, double fPixels, bool bVertical)
 
VBAHELPER_DLLPUBLIC PointerStyle ooo::vba::getPointerStyle (const css::uno::Reference< css::frame::XModel > &)
 
VBAHELPER_DLLPUBLIC void ooo::vba::setCursorHelper (const css::uno::Reference< css::frame::XModel > &xModel, PointerStyle nPointer, bool bOverWrite)
 
VBAHELPER_DLLPUBLIC void ooo::vba::setDefaultPropByIntrospection (const css::uno::Any &aObj, const css::uno::Any &aValue)
 
VBAHELPER_DLLPUBLIC css::uno::Any ooo::vba::getPropertyValue (const css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName)
 
VBAHELPER_DLLPUBLIC bool ooo::vba::setPropertyValue (css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName, const css::uno::Any &aValue)
 
VBAHELPER_DLLPUBLIC void ooo::vba::setOrAppendPropertyValue (css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName, const css::uno::Any &aValue)
 
bool ooo::vba::executeRunTimeLibrary (const std::u16string_view &rSbRtl_command, SbxArray *pParameters)
 

Macro Definition Documentation

◆ VBA_LEFT

#define VBA_LEFT   "PositionX"

Definition at line 210 of file vbahelper.hxx.

◆ VBA_TOP

#define VBA_TOP   "PositionY"

Definition at line 211 of file vbahelper.hxx.