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