Avoid potential negative array index access to cached text.
[LibreOffice.git] / framework / inc / taskcreatordefs.hxx
blobe7eca6838afb8877d40f3027c25169c88132617b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 #include <rtl/ustring.hxx>
24 /// [XFrame] if it's set, it will be used as parent frame for the new created frame.
25 inline constexpr OUString ARGUMENT_PARENTFRAME = u"ParentFrame"_ustr; // XFrame
27 /** [OUString] if it's not a special name (beginning with "_" ... which are not allowed here!)
28 it will be set as the API name of the new created frame.
30 inline constexpr OUString ARGUMENT_FRAMENAME = u"FrameName"_ustr; // OUString
32 /// [bool] If it's set to true we will make the new created frame visible.
33 inline constexpr OUString ARGUMENT_MAKEVISIBLE = u"MakeVisible"_ustr; // bool
35 /** [bool] If not "ContainerWindow" property is set it force creation of a
36 top level window as new container window.
38 inline constexpr OUString ARGUMENT_CREATETOPWINDOW = u"CreateTopWindow"_ustr; // bool
40 /// [Rectangle] Place the new created frame on this place and resize the container window.
41 inline constexpr OUString ARGUMENT_POSSIZE = u"PosSize"_ustr; // Rectangle
43 /// [XWindow] an outside created window, used as container window of the new created frame.
44 inline constexpr OUString ARGUMENT_CONTAINERWINDOW = u"ContainerWindow"_ustr; // XWindow
46 /** [bool] enable/disable special mode, where this frame will be part of
47 the persistent window state feature suitable for any office module window
49 inline constexpr OUString ARGUMENT_SUPPORTPERSISTENTWINDOWSTATE
50 = u"SupportPersistentWindowState"_ustr; // bool
52 /** [bool] enable/disable special mode, where the title bar of our
53 the new created frame will be updated automatically.
54 Default = ON !
56 inline constexpr OUString ARGUMENT_ENABLE_TITLEBARUPDATE = u"EnableTitleBarUpdate"_ustr; // bool
58 /** [bool] enable/disable if the frame is explicitly requested to be hidden
59 Default = OFF !
61 inline constexpr OUString ARGUMENT_HIDDENFORCONVERSION = u"HiddenForConversion"_ustr; // bool
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */