1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef INCLUDED_SVX_SWFRAMEPOSSTRINGS_HXX
20 #define INCLUDED_SVX_SWFRAMEPOSSTRINGS_HXX
21 
22 #include <rtl/ustring.hxx>
23 #include <svx/svxdllapi.h>
24 
25 /*
26     contains strings needed for positioning dialogs
27     of frames and drawing in Writer
28  */
29 class SVX_DLLPUBLIC SvxSwFramePosString
30 {
31 public:
32     enum StringId
33     {
34         LEFT                       ,
35         RIGHT                      ,
36         FROMLEFT                   ,
37         MIR_LEFT                   ,
38         MIR_RIGHT                  ,
39         MIR_FROMLEFT               ,
40         FRAME                      ,
41         PRTAREA                    ,
42         REL_PG_LEFT                ,
43         REL_PG_RIGHT               ,
44         REL_FRM_LEFT               ,
45         REL_FRM_RIGHT              ,
46         MIR_REL_PG_LEFT            ,
47         MIR_REL_PG_RIGHT           ,
48         MIR_REL_FRM_LEFT           ,
49         MIR_REL_FRM_RIGHT          ,
50         REL_PG_FRAME               ,
51         REL_PG_PRTAREA             ,
52         REL_BASE                   ,
53         REL_CHAR                   ,
54         REL_ROW                    ,
55         REL_BORDER                 ,
56         REL_PRTAREA                ,
57         FLY_REL_PG_LEFT            ,
58         FLY_REL_PG_RIGHT           ,
59         FLY_REL_PG_FRAME           ,
60         FLY_REL_PG_PRTAREA         ,
61         FLY_MIR_REL_PG_LEFT        ,
62         FLY_MIR_REL_PG_RIGHT       ,
63         TOP,
64         BOTTOM,
65         CENTER_HORI,
66         CENTER_VERT,
67         FROMTOP,
68         FROMBOTTOM,
69         BELOW,
70         FROMRIGHT,
71         REL_PG_TOP,
72         REL_PG_BOTTOM,
73         REL_FRM_TOP,
74         REL_FRM_BOTTOM,
75         REL_LINE,
76 
77         STR_MAX
78     };
79     static OUString GetString(StringId eId);
80 };
81 #endif
82 
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
84