merge the formfield patch from ooo-build
[ooovba.git] / svx / inc / swframeposstrings.hxx
blob663563ae6621bc4d0fb0366b50a3e4fc26e62f89
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: swframeposstrings.hxx,v $
10 * $Revision: 1.6 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _SVXSWFRAMEPOSSTRINGS_HXX
31 #define _SVXSWFRAMEPOSSTRINGS_HXX
33 #include <tools/string.hxx>
34 #include "svx/svxdllapi.h"
36 /* -----------------04.03.2004 12:58-----------------
37 contains strings needed for positioning dialogs
38 of frames and drawing in Writer
39 --------------------------------------------------*/
40 class SvxSwFramePosString_Impl;
41 class SVX_DLLPUBLIC SvxSwFramePosString
43 SvxSwFramePosString_Impl* pImpl;
44 public:
45 SvxSwFramePosString();
46 ~SvxSwFramePosString();
47 enum StringId
49 LEFT ,
50 RIGHT ,
51 FROMLEFT ,
52 MIR_LEFT ,
53 MIR_RIGHT ,
54 MIR_FROMLEFT ,
55 FRAME ,
56 PRTAREA ,
57 REL_PG_LEFT ,
58 REL_PG_RIGHT ,
59 REL_FRM_LEFT ,
60 REL_FRM_RIGHT ,
61 MIR_REL_PG_LEFT ,
62 MIR_REL_PG_RIGHT ,
63 MIR_REL_FRM_LEFT ,
64 MIR_REL_FRM_RIGHT ,
65 REL_PG_FRAME ,
66 REL_PG_PRTAREA ,
67 REL_BASE ,
68 REL_CHAR ,
69 REL_ROW ,
70 REL_BORDER ,
71 REL_PRTAREA ,
72 FLY_REL_PG_LEFT ,
73 FLY_REL_PG_RIGHT ,
74 FLY_REL_PG_FRAME ,
75 FLY_REL_PG_PRTAREA ,
76 FLY_MIR_REL_PG_LEFT ,
77 FLY_MIR_REL_PG_RIGHT ,
78 TOP,
79 BOTTOM,
80 CENTER_HORI,
81 CENTER_VERT,
82 FROMTOP,
83 FROMBOTTOM,
84 BELOW,
85 FROMRIGHT,
86 REL_PG_TOP,
87 REL_PG_BOTTOM,
88 REL_FRM_TOP,
89 REL_FRM_BOTTOM,
90 REL_LINE,
92 STR_MAX
94 const String& GetString(StringId eId);
95 };
96 #endif