LibreOffice Module sfx2 (master) 1
|
#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
#include <o3tl/typed_flags_set.hxx>
#include <vcl/window.hxx>
#include <sfx2/chalign.hxx>
#include <sfx2/basedlgs.hxx>
Go to the source code of this file.
Classes | |
struct | o3tl::typed_flags< SfxChildWindowFlags > |
struct | SfxChildWinInfo |
struct | SfxChildWinFactory |
class | SfxChildWindow |
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::frame |
namespace | o3tl |
Macros | |
#define | CHILDWIN_NOPOS USHRT_MAX |
#define | SFX_DECL_CHILDWINDOW(Class) |
#define | SFX_DECL_CHILDWINDOW_WITHID(Class) |
#define | SFX_IMPL_CHILDWINDOW(Class, MyID) SFX_IMPL_POS_CHILDWINDOW(Class, MyID, CHILDWIN_NOPOS) |
#define | SFX_IMPL_CHILDWINDOW_WITHID(Class, MyID) SFX_IMPL_POS_CHILDWINDOW_WITHID(Class, MyID, CHILDWIN_NOPOS) |
#define | SFX_IMPL_POS_CHILDWINDOW(Class, MyID, Pos) |
#define | SFX_IMPL_POS_CHILDWINDOW_WITHID(Class, MyID, Pos) |
#define | SFX_IMPL_MODELESSDIALOGCONTOLLER(Class, MyID) |
#define | SFX_IMPL_MODELESSDIALOGCONTOLLER_WITHID(Class, MyID) |
#define | SFX_IMPL_DOCKINGWINDOW(Class, MyID) |
#define | SFX_IMPL_DOCKINGWINDOW_WITHID(Class, MyID) |
Typedefs | |
typedef std::unique_ptr< SfxChildWindow >(* | SfxChildWinCtor) (vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo) |
Enumerations | |
enum class | SfxChildWindowFlags { NONE = 0x000 , FORCEDOCK = 0x004 , TASK = 0x010 , CANTGETFOCUS = 0x020 , ALWAYSAVAILABLE = 0x040 , NEVERHIDE = 0x080 , NEVERCLONE = 0x100 } |
Functions | |
SFX2_DLLPUBLIC bool | ParentIsFloatingWindow (const vcl::Window *pParent) |
bool | GetPosSizeFromString (std::u16string_view rStr, Point &rPos, Size &rSize) |
bool | GetSplitSizeFromString (std::u16string_view rStr, Size &rSize) |
Variables | |
const int | nCloseResponseToJustHide = -42 |
#define CHILDWIN_NOPOS USHRT_MAX |
Definition at line 58 of file childwin.hxx.
#define SFX_DECL_CHILDWINDOW | ( | Class | ) |
Definition at line 160 of file childwin.hxx.
#define SFX_DECL_CHILDWINDOW_WITHID | ( | Class | ) |
Definition at line 167 of file childwin.hxx.
#define SFX_IMPL_CHILDWINDOW | ( | Class, | |
MyID | |||
) | SFX_IMPL_POS_CHILDWINDOW(Class, MyID, CHILDWIN_NOPOS) |
Definition at line 171 of file childwin.hxx.
#define SFX_IMPL_CHILDWINDOW_WITHID | ( | Class, | |
MyID | |||
) | SFX_IMPL_POS_CHILDWINDOW_WITHID(Class, MyID, CHILDWIN_NOPOS) |
Definition at line 174 of file childwin.hxx.
#define SFX_IMPL_DOCKINGWINDOW | ( | Class, | |
MyID | |||
) |
Definition at line 213 of file childwin.hxx.
#define SFX_IMPL_DOCKINGWINDOW_WITHID | ( | Class, | |
MyID | |||
) |
Definition at line 221 of file childwin.hxx.
#define SFX_IMPL_MODELESSDIALOGCONTOLLER | ( | Class, | |
MyID | |||
) |
Definition at line 197 of file childwin.hxx.
#define SFX_IMPL_MODELESSDIALOGCONTOLLER_WITHID | ( | Class, | |
MyID | |||
) |
Definition at line 205 of file childwin.hxx.
#define SFX_IMPL_POS_CHILDWINDOW | ( | Class, | |
MyID, | |||
Pos | |||
) |
Definition at line 177 of file childwin.hxx.
#define SFX_IMPL_POS_CHILDWINDOW_WITHID | ( | Class, | |
MyID, | |||
Pos | |||
) |
Definition at line 192 of file childwin.hxx.
typedef std::unique_ptr< SfxChildWindow >(* SfxChildWinCtor) (vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo) |
Definition at line 80 of file childwin.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
FORCEDOCK | |
TASK | |
CANTGETFOCUS | |
ALWAYSAVAILABLE | |
NEVERHIDE | |
NEVERCLONE |
Definition at line 41 of file childwin.hxx.
Definition at line 109 of file childwin.cxx.
References o3tl::getToken(), comphelper::string::getTokenCount(), Size::Height(), Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), o3tl::toInt32(), and Size::Width().
Referenced by SfxChildWinInfo::GetExtraData_Impl(), and SfxDockingWindow::Initialize().
bool GetSplitSizeFromString | ( | std::u16string_view | rStr, |
Size & | rSize | ||
) |
Definition at line 124 of file childwin.cxx.
References aStr, o3tl::getToken(), comphelper::string::getTokenCount(), Size::Height(), nCount, nIndex, Size::setHeight(), Size::setWidth(), o3tl::toInt32(), and Size::Width().
Referenced by SfxDockingWindow::Initialize().
SFX2_DLLPUBLIC bool ParentIsFloatingWindow | ( | const vcl::Window * | pParent | ) |
Definition at line 415 of file childwin.cxx.
References vcl::Window::GetType().
const int nCloseResponseToJustHide = -42 |
Definition at line 158 of file childwin.hxx.
Referenced by SfxChildWindow::Hide(), SfxChildWindow::Show(), and SfxWorkWindow::ShowChildren_Impl().