LibreOffice Module framework (master) 1
Namespaces | Macros | Functions | Variables
helpers.hxx File Reference
#include <com/sun/star/awt/XVclWindowPeer.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/ui/XUIElement.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/ui/DockingArea.hpp>
#include <com/sun/star/awt/Point.hpp>
#include <vcl/window.hxx>
#include <vcl/toolbox.hxx>
Include dependency graph for helpers.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  framework
 

Macros

#define UIRESOURCETYPE_MENUBAR   "menubar"
 

Functions

bool framework::hasEmptySize (const css::awt::Size &rSize)
 
bool framework::hasDefaultPosValue (const css::awt::Point &rPos)
 
bool framework::isDefaultPos (const css::awt::Point &rPos)
 
bool framework::isToolboxHorizontalAligned (ToolBox const *pToolBox)
 
bool framework::isReverseOrderDockingArea (const sal_Int32 nDockArea)
 
bool framework::isHorizontalDockingArea (const sal_Int32 nDockArea)
 
bool framework::isHorizontalDockingArea (const css::ui::DockingArea &nDockArea)
 
OUString framework::retrieveToolbarNameFromHelpURL (vcl::Window *pWindow)
 
ToolBoxframework::getToolboxPtr (vcl::Window *pWindow)
 
vcl::Windowframework::getWindowFromXUIElement (const css::uno::Reference< css::ui::XUIElement > &xUIElement)
 
SystemWindowframework::getTopSystemWindow (const css::uno::Reference< css::awt::XWindow > &xWindow)
 
bool framework::equalRectangles (const css::awt::Rectangle &rRect1, const css::awt::Rectangle &rRect2)
 
bool framework::lcl_checkUIElement (const css::uno::Reference< css::ui::XUIElement > &xUIElement, css::awt::Rectangle &_rPosSize, css::uno::Reference< css::awt::XWindow > &_xWindow)
 
css::uno::Reference< css::awt::XVclWindowPeer > framework::createToolkitWindow (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::awt::XVclWindowPeer > &rParent, const char *pService)
 
WindowAlign framework::ImplConvertAlignment (css::ui::DockingArea aAlignment)
 
std::u16string_view framework::getElementTypeFromResourceURL (std::u16string_view aResourceURL)
 
void framework::parseResourceURL (std::u16string_view aResourceURL, OUString &aElementType, OUString &aElementName)
 
::tools::Rectangle framework::putAWTToRectangle (const css::awt::Rectangle &rRect)
 
css::awt::Rectangle framework::putRectangleValueToAWT (const ::tools::Rectangle &rRect)
 
css::uno::Reference< css::frame::XModel > framework::impl_getModelFromFrame (const css::uno::Reference< css::frame::XFrame > &rFrame)
 
bool framework::implts_isPreviewModel (const css::uno::Reference< css::frame::XModel > &xModel)
 
bool framework::implts_isFrameOrWindowTop (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
void framework::impl_setDockingWindowVisibility (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &rFrame, std::u16string_view rDockingWindowName, bool bVisible)
 
void framework::impl_addWindowListeners (const css::uno::Reference< css::uno::XInterface > &xThis, const css::uno::Reference< css::ui::XUIElement > &xUIElement)
 

Variables

constexpr OUStringLiteral UIRESOURCE_URL = u"private:resource"
 
constexpr OUStringLiteral UIRESOURCETYPE_TOOLBAR = u"toolbar"
 

Macro Definition Documentation

◆ UIRESOURCETYPE_MENUBAR

#define UIRESOURCETYPE_MENUBAR   "menubar"

Definition at line 35 of file helpers.hxx.

Variable Documentation

◆ UIRESOURCE_URL

constexpr OUStringLiteral UIRESOURCE_URL = u"private:resource"
inlineconstexpr

◆ UIRESOURCETYPE_TOOLBAR

constexpr OUStringLiteral UIRESOURCETYPE_TOOLBAR = u"toolbar"
inlineconstexpr