LibreOffice Module svx (master) 1
|
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>
#include <rtl/ref.hxx>
#include <sal/types.h>
#include <svx/svxdllapi.h>
#include <tools/fldunit.hxx>
#include <tools/mapunit.hxx>
Go to the source code of this file.
Functions | |
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 with a function returning XShape. More... | |
SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XShape > | GetXShapeForSdrObject (SdrObject *pObj) noexcept |
Returns a StarOffice API wrapper for the given SdrObject. More... | |
SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > | GetXDrawPageForSdrPage (SdrPage *pPage) noexcept |
Returns a StarOffice API wrapper for the given SdrPage. More... | |
SVXCORE_DLLPUBLIC SdrPage * | GetSdrPageFromXDrawPage (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) noexcept |
Returns the SdrPage from the given StarOffice API wrapper. More... | |
SVXCORE_DLLPUBLIC bool | SvxMapUnitToMeasureUnit (const MapUnit nVcl, short &eApi) noexcept |
Maps the vcl MapUnit enum to an API constant MeasureUnit. More... | |
SVXCORE_DLLPUBLIC bool | SvxMeasureUnitToFieldUnit (const short eApi, FieldUnit &nVcl) noexcept |
Maps the API constant MeasureUnit to a vcl MapUnit enum. More... | |
SVXCORE_DLLPUBLIC bool | SvxFieldUnitToMeasureUnit (const FieldUnit nVcl, short &eApi) noexcept |
Maps the vcl MapUnit enum to an API constant MeasureUnit. More... | |
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 API name. More... | |
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 language. More... | |
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 with a function returning XShape.
css::uno::RuntimeException |
Definition at line 867 of file unopage.cxx.
References SvxDrawPage::CreateShapeByTypeAndInventor(), and nType.
Referenced by SvxUnoDrawingModel::createInstance().
|
noexcept |
Returns the SdrPage from the given StarOffice API wrapper.
|
noexcept |
Returns a StarOffice API wrapper for the given SdrPage.
Returns a StarOffice API wrapper for the given SdrPage.
Definition at line 873 of file unopage.cxx.
Referenced by sdr::contact::ViewObjectContactOfPageObj::createPrimitive2DSequence(), sdr::contact::PagePrimitiveExtractor::createPrimitive2DSequenceForPage(), sdr::contact::ObjectContactOfPageView::DoProcessDisplay(), and sdr::contact::ObjectContactOfObjListPainter::ProcessDisplay().
|
noexcept |
Returns a StarOffice API wrapper for the given SdrObject.
Returns a StarOffice API wrapper for the given SdrObject.
Definition at line 4013 of file unoshape.cxx.
Referenced by svx::FontworkBar::execute(), SdrObjCustomShape::GetCustomShapeEngine(), accessibility::AccessibleShape::getGroupPosition(), and SvxShape::getPropertyValueImpl().
|
noexcept |
Maps the vcl MapUnit enum to an API constant MeasureUnit.
Returns false if conversion is not supported.
Maps the vcl MapUnit enum to an API constant MeasureUnit.
Returns false if conversion is not supported.
Definition at line 986 of file unoprov.cxx.
|
noexcept |
Maps the vcl MapUnit enum to an API constant MeasureUnit.
Returns false if conversion is not supported.
Maps the vcl MapUnit enum to an API constant MeasureUnit.
Returns false if conversion is not supported.
Definition at line 934 of file unoprov.cxx.
|
noexcept |
Maps the API constant MeasureUnit to a vcl MapUnit enum.
Returns false if conversion is not supported.
Maps the API constant MeasureUnit to a vcl MapUnit enum.
Returns false if conversion is not supported.
Definition at line 960 of file unoprov.cxx.
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 API name.
std::exception |
If the given name is a predefined name for the current language it is replaced by the corresponding API name.
Definition at line 1991 of file unoprov.cxx.
References nCount, SAL_N_ELEMENTS, SvxUnoColorNameDefResId, SvxUnoColorNameResId, SvxUnoConvertResourceStringBuiltInToApi(), SvxUnoConvertResourceStringToApi(), SvxUnoGetResourceRanges(), and XATTR_LINECOLOR().
Referenced by createNamesForPool(), SvxUnoNameItemTable::getElementNames(), XFillBitmapItem::QueryValue(), XFillGradientItem::QueryValue(), XFillHatchItem::QueryValue(), XLineDashItem::QueryValue(), XLineEndItem::QueryValue(), and XLineStartItem::QueryValue().
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 language.
std::exception |
If the given name is a predefined API name it is replaced by the predefined name for the current language.
Definition at line 2024 of file unoprov.cxx.
References nCount, SAL_N_ELEMENTS, SvxUnoColorNameDefResId, SvxUnoColorNameResId, SvxUnoConvertResourceStringBuiltInFromApi(), SvxUnoConvertResourceStringFromApi(), SvxUnoGetResourceRanges(), and XATTR_LINECOLOR().
Referenced by NameOrIndex::CheckNamedItem(), SvxUnoNameItemTable::getByName(), SvxUnoNameItemTable::hasByName(), SvxUnoNameItemTable::insertByName(), SvxUnoNameItemTable::removeByName(), SvxUnoNameItemTable::replaceByName(), and SvxShape::SetFillAttribute().