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 | |
enum SdrInventor sal_uInt32 SVXCORE_DLLPUBLIC rtl::Reference< SvxShape > | CreateSvxShapeByTypeAndInventor (sal_uInt16 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) throw () |
Returns a StarOffice API wrapper for the given SdrObject. More... | |
SVXCORE_DLLPUBLIC SdrObject * | GetSdrObjectFromXShape (const css::uno::Reference< css::drawing::XShape > &xShape) throw () |
Returns the SdrObject from the given StarOffice API wrapper. More... | |
SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > | GetXDrawPageForSdrPage (SdrPage *pPage) throw () |
Returns a StarOffice API wrapper for the given SdrPage. More... | |
SVXCORE_DLLPUBLIC SdrPage * | GetSdrPageFromXDrawPage (const css::uno::Reference< css::drawing::XDrawPage > &xDrawPage) throw () |
Returns the SdrPage from the given StarOffice API wrapper. More... | |
SVXCORE_DLLPUBLIC bool | SvxMapUnitToMeasureUnit (const MapUnit nVcl, short &eApi) throw () |
Maps the vcl MapUnit enum to an API constant MeasureUnit. More... | |
SVXCORE_DLLPUBLIC bool | SvxMeasureUnitToFieldUnit (const short eApi, FieldUnit &nVcl) throw () |
Maps the API constant MeasureUnit to a vcl MapUnit enum. More... | |
SVXCORE_DLLPUBLIC bool | SvxFieldUnitToMeasureUnit (const FieldUnit nVcl, short &eApi) throw () |
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... | |
|
strong |
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 864 of file unopage.cxx.
References SvxDrawPage::CreateShapeByTypeAndInventor().
Referenced by SvxUnoDrawingModel::createInstance().
SVXCORE_DLLPUBLIC SdrObject* GetSdrObjectFromXShape | ( | const css::uno::Reference< css::drawing::XShape > & | xShape | ) | |
throw | ( | ||||
) |
Returns the SdrObject from the given StarOffice API wrapper.
SVXCORE_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage | ( | const css::uno::Reference< css::drawing::XDrawPage > & | xDrawPage | ) | |
throw | ( | ||||
) |
Returns the SdrPage from the given StarOffice API wrapper.
SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > GetXDrawPageForSdrPage | ( | SdrPage * | pPage | ) | |
throw | ( | ||||
) |
Returns a StarOffice API wrapper for the given SdrPage.
Returns a StarOffice API wrapper for the given SdrPage.
Definition at line 870 of file unopage.cxx.
Referenced by sdr::contact::ViewObjectContactOfPageObj::createPrimitive2DSequence(), sdr::contact::PagePrimitiveExtractor::createPrimitive2DSequenceForPage(), sdr::contact::ObjectContactOfPageView::DoProcessDisplay(), and sdr::contact::ObjectContactOfObjListPainter::ProcessDisplay().
SVXCORE_DLLPUBLIC css::uno::Reference< css::drawing::XShape > GetXShapeForSdrObject | ( | SdrObject * | pObj | ) | |
throw | ( | ||||
) |
Returns a StarOffice API wrapper for the given SdrObject.
Returns a StarOffice API wrapper for the given SdrObject.
Definition at line 3965 of file unoshape.cxx.
Referenced by svx::FontworkBar::execute(), SdrObjCustomShape::GetCustomShapeEngine(), accessibility::AccessibleShape::getGroupPosition(), and SvxShape::getPropertyValueImpl().
SVXCORE_DLLPUBLIC bool SvxFieldUnitToMeasureUnit | ( | const FieldUnit | eVcl, |
short & | eApi | ||
) | |||
throw | ( | ||
) |
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 1009 of file unoprov.cxx.
SVXCORE_DLLPUBLIC bool SvxMapUnitToMeasureUnit | ( | const MapUnit | eVcl, |
short & | eApi | ||
) | |||
throw | ( | ||
) |
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 957 of file unoprov.cxx.
SVXCORE_DLLPUBLIC bool SvxMeasureUnitToFieldUnit | ( | const short | eApi, |
FieldUnit & | eVcl | ||
) | |||
throw | ( | ||
) |
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 983 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 1952 of file unoprov.cxx.
References nCount, SAL_N_ELEMENTS, SvxUnoConvertResourceString(), SvxUnoConvertResourceStringBuiltIn(), SvxUnoGetResourceRanges(), and XATTR_LINECOLOR().
Referenced by createNamesForPool(), SvxUnoNameItemTable::getElementNames(), XLineStartItem::QueryValue(), XLineEndItem::QueryValue(), XFillHatchItem::QueryValue(), XFillGradientItem::QueryValue(), XLineDashItem::QueryValue(), and XFillBitmapItem::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 1985 of file unoprov.cxx.
References nCount, SAL_N_ELEMENTS, SvxUnoConvertResourceString(), SvxUnoConvertResourceStringBuiltIn(), SvxUnoGetResourceRanges(), and XATTR_LINECOLOR().
Referenced by NameOrIndex::CheckNamedItem(), SvxUnoNameItemTable::getByName(), SvxUnoNameItemTable::hasByName(), SvxUnoNameItemTable::insertByName(), SvxUnoNameItemTable::removeByName(), SvxUnoNameItemTable::replaceByName(), and SvxShape::SetFillAttribute().