LibreOffice Module toolkit (master) 1
|
#include <vclunohelper.hxx>
Static Public Member Functions | |
static css::uno::Reference< css::awt::XToolkit > | CreateToolkit () |
static BitmapEx | GetBitmap (const css::uno::Reference< css::awt::XBitmap > &rxBitmap) |
static css::uno::Reference< css::awt::XBitmap > | CreateBitmap (const BitmapEx &rBitmap) |
static vcl::Window * | GetWindow (const css::uno::Reference< css::awt::XWindow > &rxWindow) |
static vcl::Window * | GetWindow (const css::uno::Reference< css::awt::XWindow2 > &rxWindow2) |
static vcl::Window * | GetWindow (const css::uno::Reference< css::awt::XWindowPeer > &rxWindowPeer) |
static css::uno::Reference< css::awt::XWindow > | GetInterface (vcl::Window *pWindow) |
static OutputDevice * | GetOutputDevice (const css::uno::Reference< css::awt::XDevice > &rxDevice) |
static OutputDevice * | GetOutputDevice (const css::uno::Reference< css::awt::XGraphics > &rxGraphics) |
static vcl::Region | GetRegion (const css::uno::Reference< css::awt::XRegion > &rxRegion) |
static tools::Polygon | CreatePolygon (const css::uno::Sequence< sal_Int32 > &DataX, const css::uno::Sequence< sal_Int32 > &DataY) |
static css::awt::FontDescriptor | CreateFontDescriptor (const vcl::Font &rFont) |
convert Font to css::awt::FontDescriptor More... | |
static vcl::Font | CreateFont (const css::awt::FontDescriptor &rDescr, const vcl::Font &rInitFont) |
static vcl::Font | CreateFont (const css::uno::Reference< css::awt::XFont > &rxFont) |
static css::awt::SimpleFontMetric | CreateFontMetric (const FontMetric &rFontMetric) |
static bool | IsZero (const css::awt::Rectangle &rRect) |
static css::uno::Reference< css::awt::XControlContainer > | CreateControlContainer (vcl::Window *pWindow) |
static MapUnit | UnoEmbed2VCLMapUnit (sal_Int32 nUnoEmbedMapUnit) |
static sal_Int32 | VCL2UnoEmbedMapUnit (MapUnit nVCLMapUnit) |
static sal_Int16 | ConvertToMeasurementUnit (FieldUnit _nFieldUnit, sal_Int16 _rFieldToUNOValueFactor) |
small helper to convert between MeasurementUnit and FieldUnit More... | |
static FieldUnit | ConvertToFieldUnit (sal_Int16 _nMeasurementUnit, sal_Int16 &_rFieldToUNOValueFactor) |
static MapUnit | ConvertToMapModeUnit (sal_Int16 _nMeasureUnit) |
::Size | ConvertToVCLSize (css::awt::Size const &_aSize) |
static css::awt::Size | ConvertToAWTSize (::Size const &_aSize) |
::Point | ConvertToVCLPoint (css::awt::Point const &_aPoint) |
static css::awt::Point | ConvertToAWTPoint (::Point const &_aPoint) |
::tools::Rectangle | ConvertToVCLRect (css::awt::Rectangle const &_rRect) |
static css::awt::Rectangle | ConvertToAWTRect (::tools::Rectangle const &_rRect) |
static css::awt::MouseEvent | createMouseEvent (const ::MouseEvent &_rVclEvent, const css::uno::Reference< css::uno::XInterface > &_rxContext) |
::MouseEvent | createVCLMouseEvent (const css::awt::MouseEvent &_rAwtEvent) |
static css::awt::KeyEvent | createKeyEvent (const ::KeyEvent &_rVclEvent, const css::uno::Reference< css::uno::XInterface > &_rxContext) |
::KeyEvent | createVCLKeyEvent (const css::awt::KeyEvent &_rAwtEvent) |
::PointerStyle | getMousePointer (const css::uno::Reference< css::awt::XWindowPeer > &rWindowPeer) |
static void | setMousePointer (const css::uno::Reference< css::awt::XWindowPeer > &rWindowPeer, ::PointerStyle mousepointer) |
Definition at line 69 of file vclunohelper.hxx.
|
static |
Definition at line 500 of file vclunohelper.cxx.
References Point::X(), and Point::Y().
Referenced by VCLXDevice::convertPointToLogic(), and VCLXDevice::convertPointToPixel().
|
static |
Definition at line 511 of file vclunohelper.cxx.
References tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), and tools::Rectangle::Top().
Referenced by TreeControlPeer::getNodeRect().
|
static |
Definition at line 487 of file vclunohelper.cxx.
References Size::Height(), and Size::Width().
Referenced by VCLXFixedHyperlink::calcAdjustedSize(), VCLXFixedText::calcAdjustedSize(), VCLXDevice::convertSizeToLogic(), and VCLXDevice::convertSizeToPixel().
|
static |
Definition at line 412 of file vclunohelper.cxx.
|
static |
css::lang::IllegalArgumentException |
Definition at line 418 of file vclunohelper.cxx.
References eMode.
Referenced by VCLXDevice::convertPointToLogic(), VCLXDevice::convertPointToPixel(), VCLXDevice::convertSizeToLogic(), and VCLXDevice::convertSizeToPixel().
|
static |
small helper to convert between MeasurementUnit and FieldUnit
Definition at line 406 of file vclunohelper.cxx.
|
static |
Definition at line 494 of file vclunohelper.cxx.
Referenced by VCLXDevice::convertPointToLogic(), and VCLXDevice::convertPointToPixel().
|
static |
Definition at line 506 of file vclunohelper.cxx.
Referenced by VCLXGraphics::clear().
|
static |
Definition at line 481 of file vclunohelper.cxx.
Referenced by VCLXFixedHyperlink::calcAdjustedSize(), VCLXFixedText::calcAdjustedSize(), VCLXDevice::convertSizeToLogic(), and VCLXDevice::convertSizeToPixel().
|
static |
Definition at line 99 of file vclunohelper.cxx.
References Graphic::GetXGraphic().
|
static |
Definition at line 185 of file vclunohelper.cxx.
References vcl::Window::GetComponentInterface().
|
static |
Definition at line 217 of file vclunohelper.cxx.
References vcl::unohelper::ConvertFontSlant(), vcl::unohelper::ConvertFontWeight(), vcl::unohelper::ConvertFontWidth(), FAMILY_DONTKNOW, LINESTYLE_DONTKNOW, PITCH_DONTKNOW, vcl::Font::SetCharSet(), vcl::Font::SetFamily(), vcl::Font::SetFamilyName(), vcl::Font::SetFontSize(), vcl::Font::SetItalic(), vcl::Font::SetKerning(), vcl::Font::SetOrientation(), vcl::Font::SetPitch(), vcl::Font::SetStrikeout(), vcl::Font::SetStyleName(), vcl::Font::SetUnderline(), vcl::Font::SetWeight(), vcl::Font::SetWidthType(), vcl::Font::SetWordLineMode(), and STRIKEOUT_DONTKNOW.
Referenced by VCLXDevice::getFont(), toolkit::WindowStyleSettings::ImplSetStyleFont(), VCLXGraphics::selectFont(), VCLXWindow::setControlFont(), VCLXGraphics::setFont(), and VCLXWindow::setProperty().
|
static |
Definition at line 251 of file vclunohelper.cxx.
References VCLXFont::GetFont().
|
static |
convert Font to css::awt::FontDescriptor
rFont | Font to be converted |
Definition at line 195 of file vclunohelper.cxx.
References vcl::unohelper::ConvertFontSlant(), vcl::unohelper::ConvertFontWeight(), vcl::unohelper::ConvertFontWidth(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), vcl::Font::GetCharSet(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), vcl::Font::GetFontSize(), vcl::Font::GetItalic(), vcl::Font::GetOrientation(), vcl::Font::GetPitch(), vcl::Font::GetStrikeout(), vcl::Font::GetStyleName(), vcl::Font::GetUnderline(), vcl::Font::GetWeight(), vcl::Font::GetWidthType(), Size::Height(), vcl::Font::IsKerning(), vcl::Font::IsWordLineMode(), and Size::Width().
Referenced by VCLXFont::getFontDescriptor(), VCLXDevice::getFontDescriptors(), VCLXWindow::getProperty(), VCLXWindow::getStyles(), and toolkit::WindowStyleSettings::ImplGetStyleFont().
|
static |
Definition at line 261 of file vclunohelper.cxx.
References FontMetric::GetAscent(), FontMetric::GetDescent(), FontMetric::GetInternalLeading(), and FontMetric::GetSlant().
Referenced by VCLXFont::getFontMetric(), and VCLXGraphics::getFontMetric().
|
static |
Definition at line 553 of file vclunohelper.cxx.
Referenced by VCLXWindow::ProcessWindowEvent().
|
static |
Definition at line 516 of file vclunohelper.cxx.
Referenced by VCLXWindow::ProcessWindowEvent().
|
static |
Definition at line 168 of file vclunohelper.cxx.
References n, Point::setX(), and Point::setY().
Referenced by VCLXGraphics::drawPolygon(), VCLXGraphics::drawPolyLine(), and VCLXGraphics::drawPolyPolygon().
|
static |
Definition at line 57 of file vclunohelper.cxx.
Referenced by UnoControl::createPeer(), and UnoWrapper::GetVCLToolkit().
|
static |
Definition at line 575 of file vclunohelper.cxx.
|
static |
Definition at line 545 of file vclunohelper.cxx.
|
static |
Definition at line 64 of file vclunohelper.cxx.
References VCLXBitmap::GetBitmap(), Graphic::GetBitmapEx(), Bitmap::Invert(), and ReadDIB().
Referenced by VCLXDevice::createDisplayBitmap(), and VCLXGraphics::draw().
|
static |
Definition at line 139 of file vclunohelper.cxx.
References vcl::Window::GetComponentInterface().
|
static |
Definition at line 587 of file vclunohelper.cxx.
References eType, and GetWindow().
|
static |
Definition at line 150 of file vclunohelper.cxx.
References VCLXDevice::GetOutputDevice().
Referenced by VCLXWindow::draw(), VCLXTabPageContainer::draw(), VCLXFrame::draw(), VCLXDialog::draw(), VCLXTabPage::draw(), VCLXMultiPage::draw(), VCLXFont::getCharWidth(), VCLXFont::getCharWidths(), VCLXFont::getStringWidth(), VCLXFont::getStringWidthArray(), VCLXFont::hasGlyphs(), VCLXFont::ImplAssertValidFontMetric(), VCLXWindow::setGraphics(), and VCLXWindow::setProperty().
|
static |
Definition at line 159 of file vclunohelper.cxx.
References VCLXGraphics::GetOutputDevice().
|
static |
Definition at line 124 of file vclunohelper.cxx.
References VCLXRegion::GetRegion(), vcl::Region::Union(), and VCLRectangle().
Referenced by VCLXRegion::excludeRegion(), VCLXGraphics::intersectClipRegion(), VCLXRegion::intersectRegion(), VCLXGraphics::setClipRegion(), VCLXRegion::unionRegion(), and VCLXRegion::xOrRegion().
|
static |
Definition at line 106 of file vclunohelper.cxx.
References VCLXWindow::GetWindow().
Referenced by UnoControl::createPeer(), VCLXTabPageContainer::elementInserted(), VCLXMenu::execute(), getMousePointer(), UnoWrapper::GetWindow(), toolkit::OAccessibleControlContext::implGetWindow(), UnoControl::ImplModelPropertiesChanged(), VCLXWindow::isChild(), VCLXContainer::setGroup(), setMousePointer(), and VCLXContainer::setTabOrder().
|
static |
Definition at line 112 of file vclunohelper.cxx.
References VCLXWindow::GetWindow().
|
static |
Definition at line 118 of file vclunohelper.cxx.
References VCLXWindow::GetWindow().
|
static |
Definition at line 273 of file vclunohelper.cxx.
|
static |
Definition at line 596 of file vclunohelper.cxx.
References GetWindow().
|
static |
Definition at line 278 of file vclunohelper.cxx.
|
static |
Definition at line 310 of file vclunohelper.cxx.