20#ifndef INCLUDED_SVX_UNOAPI_HXX
21#define INCLUDED_SVX_UNOAPI_HXX
23#include <com/sun/star/drawing/XShape.hpp>
24#include <com/sun/star/drawing/XDrawPage.hpp>
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
#define SVXCORE_DLLPUBLIC
SVXCORE_DLLPUBLIC SdrPage * GetSdrPageFromXDrawPage(const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) noexcept
Returns the SdrPage from the given StarOffice API wrapper.
SVXCORE_DLLPUBLIC bool SvxMeasureUnitToFieldUnit(const short eApi, FieldUnit &nVcl) noexcept
Maps the API constant MeasureUnit to a vcl MapUnit enum.
SVXCORE_DLLPUBLIC OUString SvxUnogetApiNameForItem(const sal_uInt16 nWhich, const OUString &rInternalName)
If the given name is a predefined name for the current language it is replaced by the corresponding A...
SVXCORE_DLLPUBLIC bool SvxFieldUnitToMeasureUnit(const FieldUnit nVcl, short &eApi) noexcept
Maps the vcl MapUnit enum to an API constant MeasureUnit.
SVXCORE_DLLPUBLIC bool SvxMapUnitToMeasureUnit(const MapUnit nVcl, short &eApi) noexcept
Maps the vcl MapUnit enum to an API constant MeasureUnit.
SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > GetXDrawPageForSdrPage(SdrPage *pPage) noexcept
Returns a StarOffice API wrapper for the given SdrPage.
OUString SvxUnogetInternalNameForItem(const sal_uInt16 nWhich, const OUString &rApiName)
If the given name is a predefined API name it is replaced by the predefined name for the current lang...
SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XShape > GetXShapeForSdrObject(SdrObject *pObj) noexcept
Returns a StarOffice API wrapper for the given SdrObject.
SVXCORE_DLLPUBLIC rtl::Reference< SvxShape > CreateSvxShapeByTypeAndInventor(SdrObjKind nType, SdrInventor nInventor, OUString const &referer)
Creates a StarOffice API wrapper with the given type and inventor Deprecated: This will be replaced w...