merge the formfield patch from ooo-build
[ooovba.git] / lotuswordpro / source / filter / lwplayoutdef.hxx
blob0588c8c3dc84db2b192d0539b1088858ad37296d
1 /*************************************************************************
3 * The Contents of this file are made available subject to the terms of
4 * either of the following licenses
6 * - GNU Lesser General Public License Version 2.1
7 * - Sun Industry Standards Source License Version 1.1
9 * Sun Microsystems Inc., October, 2000
11 * GNU Lesser General Public License Version 2.1
12 * =============================================
13 * Copyright 2000 by Sun Microsystems, Inc.
14 * 901 San Antonio Road, Palo Alto, CA 94303, USA
16 * This library is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU Lesser General Public
18 * License version 2.1, as published by the Free Software Foundation.
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with this library; if not, write to the Free Software
27 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28 * MA 02111-1307 USA
31 * Sun Industry Standards Source License Version 1.1
32 * =================================================
33 * The contents of this file are subject to the Sun Industry Standards
34 * Source License Version 1.1 (the "License"); You may not use this file
35 * except in compliance with the License. You may obtain a copy of the
36 * License at http://www.openoffice.org/license.html.
38 * Software provided under this License is provided on an "AS IS" basis,
39 * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
40 * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
41 * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
42 * See the License for the specific provisions governing your rights and
43 * obligations concerning the Software.
45 * The Initial Developer of the Original Code is: IBM Corporation
47 * Copyright: 2008 by IBM Corporation
49 * All Rights Reserved.
51 * Contributor(s): _______________________________________
54 ************************************************************************/
55 #ifndef _LWPLAYOUTDEF_HXX
56 #define _LWPLAYOUTDEF_HXX
58 #define STYLE_AUTOLINK 0x01UL /* content span's to next container */
59 #define STYLE_SELECTABLE 0x02UL /* selectable container */
60 #define STYLE_SHARED 0x04UL /* is this a global layout style */
61 #define STYLE_PAINTMARGINSINCOLOR 0x8UL /* does this layout paint margins */
62 #define STYLE_PROTECTED 0x10UL /* is this layout protected */
63 #define STYLE_LOCAL 0x20UL /* is local layout */
64 #define STYLE_NOERRORCHECK 0x40UL /* is error checking enabled */
65 #define STYLE_HEADING 0x80UL /* heading */
66 #define STYLE_MUTE 0x100UL /* gray modify menu */
67 #define STYLE_SCRIPTING 0x200UL /* scripting enabled */
68 #define STYLE_CONTENTREPLACEABLE 0x400UL /* contents can be replaced */
69 #define STYLE_PRINTABLE 0x800UL /* contents can be printed */
70 #define STYLE_COLUMNBALANCE 0x1000UL
71 #define STYLE_LANDSCAPE 0x2000UL
72 #define STYLE_COLLAPSIBLE 0x4000UL
73 #define STYLE_COLLAPSED 0x8000UL
74 #define STYLE_NOTCOPYABLE 0x10000UL
75 #define STYLE_PARENTSELECTABLE 0x20000UL
76 #define STYLE_CONNECTED 0x40000UL
77 #define STYLE_OVERRIDE 0x80000UL /* is layout an override */
78 #define STYLE_SELECTED 0x100000UL
79 #define STYLE_CENTEREDHORIZONTALLY 0x200000UL
80 #define STYLE_CREATIONREVISION 0x400000UL
81 #define STYLE_DELETIONREVISION 0x800000UL
82 #define STYLE_PAGEBREAK 0x1000000UL
83 #define STYLE_MODIFIED 0x2000000UL
84 #define STYLE_INDIRECT 0x4000000UL /* double click required */
85 #define STYLE_COMPLEX 0x8000000UL
86 #define STYLE_CENTEREDVERTICALLY 0x10000000UL
87 #define STYLE_BOTTOMALIGNED 0x20000000UL
88 #define STYLE_NOTGROUPABLE 0x40000000UL
89 #define STYLE_ABSOLUTE 0x80000000UL
90 // Don't assign these flags from one layout to another
91 #define STYLE_DONTASSIGN (STYLE_SHARED)
93 #define STYLE2_VSCROLLABLE 0x1UL
94 #define STYLE2_HSCROLLABLE 0x2UL
95 #define STYLE2_SCROLLABLE 0x3UL
96 #define STYLE2_MIRROR 0x4UL
97 #define STYLE2_PRIVATE 0x8UL
98 #define STYLE2_PUBLIC 0x00UL
99 #define STYLE2_PRIVATE2 0x10UL
100 #define STYLE2_PROTECTED 0x20UL
101 #define STYLE2_ACCESSRIGHTS 0x30UL
102 #define STYLE2_HONORPROTECTION 0x40UL
103 #define STYLE2_CHILDSPANNABLE 0x80UL
104 #define STYLE2_DEACTIVATED 0x200UL
105 #define STYLE2_NOCONTENTREFERENCE 0x400UL
106 #define STYLE2_ADOPTED 0x800UL
107 #define STYLE2_NOTUSERDELETEABLE 0x1000UL
108 #define STYLE2_EXPANDRIGHT 0x2000UL
109 #define STYLE2_EXPANDLEFT 0x4000UL
110 #define STYLE2_EXPANDUP 0x8000UL
111 #define STYLE2_EXPANDDOWN 0x10000UL
112 #define STYLE2_NOTDIRTYABLE 0x20000UL
113 #define STYLE2_NONHIERARCHICAL 0x40000UL // Now not used
114 #define STYLE2_NOTSIZABLE 0x80000UL
115 #define STYLE2_MARGINSSAMEASPARENT 0x100000UL
116 #define STYLE2_DISPLAYANCHORPOINTS 0x200000UL
117 #define STYLE2_DISPLAYTETHERPOINTS 0x400000UL
118 #define STYLE2_SNAPTO 0x800000UL
119 #define STYLE2_NOINTERSECTSIBLINGS 0x1000000UL
120 #define STYLE2_LOCALCOLUMNINFO 0x2000000UL
121 #define STYLE2_INOVERRIDE 0x4000000UL
122 #define STYLE2_FROMSTYLE 0x8000000UL
123 #define STYLE2_CONTENTFROMSTYLE 0x10000000UL
124 #define STYLE2_TEMPORARY 0x20000000UL
125 #define STYLE2_JUSTIFIABLE 0x40000000UL
126 // Don't assign these flags from one layout to another
127 #define STYLE2_DONTASSIGN (STYLE2_DEACTIVATED | \
128 STYLE2_NOCONTENTREFERENCE)
130 #define STYLE3_ORIGINVALID 0x0001UL
131 #define STYLE3_WIDTHVALID 0x0002UL
132 #define STYLE3_MINHEIGHTVALID 0x0004UL
133 #define STYLE3_STYLELAYOUT 0x0008UL
134 #define STYLE3_LINELOCATION1 0x0010UL
135 #define STYLE3_LINELOCATION2 0x0020UL
136 #define STYLE3_OPENED 0x0040UL
137 #define STYLE3_ORIENTSWITHPARENT 0x0080UL
138 #define STYLE3_FROZEN 0x0100UL
139 #define STYLE3_VALUE_VALID 0x0200UL // moved from CLayout
140 #define STYLE3_USEPRINTERSETTINGS 0x0400UL // moved from CLayout
141 #define STYLE3_ISAMIPROTABLE 0x0800UL // wrap tables around frames
142 // like Ami Pro
143 #define STYLE3_INLINETOMARGIN 0x1000UL // for Croom
145 #define OVER_PLACEMENT 0x01UL
146 #define OVER_SIZE 0x02UL
147 #define OVER_MARGINS 0x04UL
148 #define OVER_BORDERS 0x08UL
149 #define OVER_BACKGROUND 0x10UL
150 #define OVER_SHADOW 0x20UL
151 #define OVER_JOIN 0x40UL
152 #define OVER_COLUMNS 0x80UL
153 #define OVER_ROTATION 0x100UL
154 #define OVER_SCALING 0x200UL
155 #define OVER_NUMERICS 0x400UL
156 #define OVER_TABS 0x800UL
157 #define OVER_SCRIPT 0x1000UL
158 #define OVER_LEADERS 0x2000UL
159 #define OVER_ORIENTATION 0x4000UL
160 #define OVER_MISC 0x8000UL
161 #define OVER_INTERNAL 0x10000UL // User can't access these props.
163 // the first 4 orientations are left-handed
164 // and are simply rotated forms of each other
165 #define TEXT_ORIENT_LRTB 0 // left to right, top to bottom
166 #define TEXT_ORIENT_TBRL 1 // top to bottom, right to left
167 #define TEXT_ORIENT_RLBT 2 // right to left, bottom to top
168 #define TEXT_ORIENT_BTLR 3 // bottom to top, left to right
170 #endif