diff options
Diffstat (limited to 'framework/inc/taskcreatordefs.hxx')
-rw-r--r-- | framework/inc/taskcreatordefs.hxx | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/framework/inc/taskcreatordefs.hxx b/framework/inc/taskcreatordefs.hxx index df56779d4699..e7eca6838afb 100644 --- a/framework/inc/taskcreatordefs.hxx +++ b/framework/inc/taskcreatordefs.hxx @@ -17,44 +17,47 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_TASKCREATORDEFS_HXX -#define INCLUDED_FRAMEWORK_INC_TASKCREATORDEFS_HXX +#pragma once + +#include <rtl/ustring.hxx> /// [XFrame] if it's set, it will be used as parent frame for the new created frame. -constexpr OUStringLiteral ARGUMENT_PARENTFRAME = u"ParentFrame"; // XFrame +inline constexpr OUString ARGUMENT_PARENTFRAME = u"ParentFrame"_ustr; // XFrame /** [OUString] if it's not a special name (beginning with "_" ... which are not allowed here!) it will be set as the API name of the new created frame. */ -constexpr OUStringLiteral ARGUMENT_FRAMENAME = u"FrameName"; // OUString +inline constexpr OUString ARGUMENT_FRAMENAME = u"FrameName"_ustr; // OUString -/// [sal_Bool] If it's set to sal_True we will make the new created frame visible. -constexpr OUStringLiteral ARGUMENT_MAKEVISIBLE = u"MakeVisible"; // sal_Bool +/// [bool] If it's set to true we will make the new created frame visible. +inline constexpr OUString ARGUMENT_MAKEVISIBLE = u"MakeVisible"_ustr; // bool -/** [sal_Bool] If not "ContainerWindow" property is set it force creation of a +/** [bool] If not "ContainerWindow" property is set it force creation of a top level window as new container window. */ -constexpr OUStringLiteral ARGUMENT_CREATETOPWINDOW = u"CreateTopWindow"; // sal_Bool +inline constexpr OUString ARGUMENT_CREATETOPWINDOW = u"CreateTopWindow"_ustr; // bool /// [Rectangle] Place the new created frame on this place and resize the container window. -inline constexpr OUStringLiteral ARGUMENT_POSSIZE = u"PosSize"; // Rectangle +inline constexpr OUString ARGUMENT_POSSIZE = u"PosSize"_ustr; // Rectangle /// [XWindow] an outside created window, used as container window of the new created frame. -inline constexpr OUStringLiteral ARGUMENT_CONTAINERWINDOW = u"ContainerWindow"; // XWindow +inline constexpr OUString ARGUMENT_CONTAINERWINDOW = u"ContainerWindow"_ustr; // XWindow -/** [sal_Bool] enable/disable special mode, where this frame will be part of +/** [bool] enable/disable special mode, where this frame will be part of the persistent window state feature suitable for any office module window */ -constexpr OUStringLiteral ARGUMENT_SUPPORTPERSISTENTWINDOWSTATE - = u"SupportPersistentWindowState"; // sal_Bool +inline constexpr OUString ARGUMENT_SUPPORTPERSISTENTWINDOWSTATE + = u"SupportPersistentWindowState"_ustr; // bool -/** [sal_Bool] enable/disable special mode, where the title bar of our +/** [bool] enable/disable special mode, where the title bar of our the new created frame will be updated automatically. Default = ON ! */ -inline constexpr OUStringLiteral ARGUMENT_ENABLE_TITLEBARUPDATE - = u"EnableTitleBarUpdate"; // sal_Bool +inline constexpr OUString ARGUMENT_ENABLE_TITLEBARUPDATE = u"EnableTitleBarUpdate"_ustr; // bool -#endif // INCLUDED_FRAMEWORK_INC_TASKCREATORDEFS_HXX +/** [bool] enable/disable if the frame is explicitly requested to be hidden + Default = OFF ! + */ +inline constexpr OUString ARGUMENT_HIDDENFORCONVERSION = u"HiddenForConversion"_ustr; // bool /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |