xref: /aoo4110/main/sw/sdi/switems.sdi (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24item String SwNumRuleItem;
25item BOOL SwRegisterItem;
26
27struct SwLineNumber
28{
29    BOOL    CountLines          MID_LINENUMBER_COUNT;
30    INT32   StartValue          MID_LINENUMBER_STARTVALUE;
31};
32item SwLineNumber SwFmtLineNumber;
33
34struct INetFmt
35{
36    String      URL             MID_URL_URL;
37    String      Target          MID_URL_TARGET;
38    String      Name            MID_URL_HYPERLINKNAME;
39    String      VisitedFormat   MID_URL_VISITED_FMT;
40    String      UnvisitedFormat MID_URL_UNVISITED_FMT;
41};
42item INetFmt SwFmtINetFmt;
43
44struct Drop
45{
46    INT16   Lines       MID_DROPCAP_LINES;
47    INT16   Count       MID_DROPCAP_COUNT;
48    INT16   Distance    MID_DROPCAP_DISTANCE;
49    BOOL    WholeWord   MID_DROPCAP_WHOLE_WORD;
50//    String  Style       MID_DROPCAP_CHAR_STYLE_NAME;
51};
52item Drop SwFmtDrop;
53
54struct Envelope
55{
56    String   AddrText       MID_ENV_ADDR_TEXT;
57    BOOL     Send           MID_ENV_SEND;
58    String   SendText       MID_SEND_TEXT;
59    INT32    AddrFromLeft   MID_ENV_ADDR_FROM_LEFT;
60    INT32    AddrFromTop    MID_ENV_ADDR_FROM_TOP;
61    INT32    SendFromLeft   MID_ENV_SEND_FROM_LEFT;
62    INT32    SendFromTop    MID_ENV_SEND_FROM_TOP;
63    INT32    Width          MID_ENV_WIDTH;
64    INT32    Height         MID_ENV_HEIGHT;
65    INT16    Align          MID_ENV_ALIGN;
66    BOOL     PrintFromAbove MID_ENV_PRINT_FROM_ABOVE;
67    INT32    ShiftRight     MID_ENV_SHIFT_RIGHT;
68    INT32    ShiftDown      MID_ENV_SHIFT_DOWN;
69};
70item Envelope SwEnvItem;
71
72struct ViewLayout
73{
74    INT16   Columns         MID_VIEWLAYOUT_COLUMNS;
75    BOOL    BookMode        MID_VIEWLAYOUT_BOOKMODE;
76};
77item ViewLayout SvxViewLayoutItem;
78
79