LibreOffice Module framework (master) 1
Namespaces | Functions | Variables
helpers.cxx File Reference
#include "helpers.hxx"
#include <com/sun/star/ui/DockingArea.hpp>
#include <com/sun/star/awt/Toolkit.hpp>
#include <com/sun/star/awt/XTopWindow.hpp>
#include <com/sun/star/frame/DispatchHelper.hpp>
#include <com/sun/star/awt/XDockableWindow.hpp>
#include <com/sun/star/awt/XDockableWindowListener.hpp>
#include <com/sun/star/awt/XWindowListener.hpp>
#include <com/sun/star/ui/XUIElement.hpp>
#include <comphelper/lok.hxx>
#include <comphelper/propertyvalue.hxx>
#include <unotools/mediadescriptor.hxx>
#include <vcl/svapp.hxx>
#include <o3tl/string_view.hxx>
#include <toolkit/helper/vclunohelper.hxx>
Include dependency graph for helpers.cxx:

Go to the source code of this file.

Namespaces

namespace  framework
 

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::isReverseOrderDockingArea (const sal_Int32 nDockArea)
 
bool framework::isToolboxHorizontalAligned (ToolBox const *pToolBox)
 
bool framework::isHorizontalDockingArea (const ui::DockingArea &nDockingArea)
 
bool framework::isHorizontalDockingArea (const sal_Int32 nDockArea)
 
OUString framework::retrieveToolbarNameFromHelpURL (vcl::Window *pWindow)
 
ToolBoxframework::getToolboxPtr (vcl::Window *pWindow)
 
vcl::Windowframework::getWindowFromXUIElement (const uno::Reference< ui::XUIElement > &xUIElement)
 
SystemWindowframework::getTopSystemWindow (const uno::Reference< awt::XWindow > &xWindow)
 
bool framework::lcl_checkUIElement (const uno::Reference< ui::XUIElement > &xUIElement, awt::Rectangle &_rPosSize, uno::Reference< awt::XWindow > &_xWindow)
 
uno::Reference< awt::XVclWindowPeer > framework::createToolkitWindow (const uno::Reference< uno::XComponentContext > &rxContext, const uno::Reference< awt::XVclWindowPeer > &rParent, const char *pService)
 
WindowAlign framework::ImplConvertAlignment (ui::DockingArea aAlignment)
 
std::u16string_view framework::getElementTypeFromResourceURL (std::u16string_view aResourceURL)
 
void framework::parseResourceURL (std::u16string_view aResourceURL, OUString &aElementType, OUString &aElementName)
 
css::awt::Rectangle framework::putRectangleValueToAWT (const ::tools::Rectangle &rRect)
 
::tools::Rectangle framework::putAWTToRectangle (const css::awt::Rectangle &rRect)
 
bool framework::equalRectangles (const css::awt::Rectangle &rRect1, const css::awt::Rectangle &rRect2)
 
uno::Reference< frame::XModel > framework::impl_getModelFromFrame (const uno::Reference< frame::XFrame > &rFrame)
 
bool framework::implts_isPreviewModel (const uno::Reference< frame::XModel > &xModel)
 
bool framework::implts_isFrameOrWindowTop (const uno::Reference< 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

const sal_Int32 framework::DOCKWIN_ID_BASE = 9800