xref: /trunk/main/svx/inc/svx/swframeposstrings.hxx (revision 3334a7e6)
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 #ifndef _SVXSWFRAMEPOSSTRINGS_HXX
24 #define _SVXSWFRAMEPOSSTRINGS_HXX
25 
26 #include <tools/string.hxx>
27 #include "svx/svxdllapi.h"
28 
29 /* -----------------04.03.2004 12:58-----------------
30     contains strings needed for positioning dialogs
31     of frames and drawing in Writer
32  --------------------------------------------------*/
33 class SvxSwFramePosString_Impl;
34 class SVX_DLLPUBLIC SvxSwFramePosString
35 {
36     SvxSwFramePosString_Impl* pImpl;
37 public:
38     SvxSwFramePosString();
39     ~SvxSwFramePosString();
40     enum StringId
41     {
42         LEFT                       ,
43         RIGHT                      ,
44         FROMLEFT                   ,
45         MIR_LEFT                   ,
46         MIR_RIGHT                  ,
47         MIR_FROMLEFT               ,
48         FRAME                      ,
49         PRTAREA                    ,
50         REL_PG_LEFT                ,
51         REL_PG_RIGHT               ,
52         REL_FRM_LEFT               ,
53         REL_FRM_RIGHT              ,
54         MIR_REL_PG_LEFT            ,
55         MIR_REL_PG_RIGHT           ,
56         MIR_REL_FRM_LEFT           ,
57         MIR_REL_FRM_RIGHT          ,
58         REL_PG_FRAME               ,
59         REL_PG_PRTAREA             ,
60         REL_BASE                   ,
61         REL_CHAR                   ,
62         REL_ROW                    ,
63         REL_BORDER                 ,
64         REL_PRTAREA                ,
65         FLY_REL_PG_LEFT            ,
66         FLY_REL_PG_RIGHT           ,
67         FLY_REL_PG_FRAME           ,
68         FLY_REL_PG_PRTAREA         ,
69         FLY_MIR_REL_PG_LEFT        ,
70         FLY_MIR_REL_PG_RIGHT       ,
71         TOP,
72         BOTTOM,
73         CENTER_HORI,
74         CENTER_VERT,
75         FROMTOP,
76         FROMBOTTOM,
77         BELOW,
78         FROMRIGHT,
79         REL_PG_TOP,
80         REL_PG_BOTTOM,
81         REL_FRM_TOP,
82         REL_FRM_BOTTOM,
83         REL_LINE,
84 
85         STR_MAX
86     };
87     const String& GetString(StringId eId);
88 };
89 #endif
90 
91