1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef INCLUDED_EDITENG_LEGACYITEM_HXX
20 #define INCLUDED_EDITENG_LEGACYITEM_HXX
22 #include <config_options.h>
23 #include <editeng/editengdllapi.h>
25 //////////////////////////////////////////////////////////////////////////////
28 // SvxFontHeightItem aHeight;
29 // SvxWeightItem aWeight;
30 // SvxPostureItem aPosture;
31 // SvxUnderlineItem aUnderline;
32 // SvxOverlineItem aOverline;
33 // SvxCrossedOutItem aCrossedOut;
34 // SvxContourItem aContour;
35 // SvxShadowedItem aShadowed;
36 // SvxColorItem aColor;
39 // SvxBrushItem aBackground;
40 // SvxAdjustItem aAdjust;
41 // SvxHorJustifyItem aHorJustify;
42 // SvxVerJustifyItem aVerJustify;
43 // SvxFrameDirectionItem m_aTextOrientation;
44 //////////////////////////////////////////////////////////////////////////////
48 class SvxFontHeightItem
;
51 class SvxTextLineItem
;
52 class SvxCrossedOutItem
;
53 class SvxShadowedItem
;
59 class SvxHorJustifyItem
;
60 class SvxVerJustifyItem
;
61 class SvxFrameDirectionItem
;
62 class SvxFormatBreakItem
;
63 class SvxFormatKeepItem
;
70 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
71 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxFontItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
72 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxFontItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
75 namespace SvxFontHeight
77 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
78 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxFontHeightItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
79 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxFontHeightItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
84 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
85 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxWeightItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
86 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxWeightItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
91 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
92 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxPostureItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
93 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxPostureItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
96 namespace SvxTextLine
// SvxUnderlineItem, SvxOverlineItem -> SvxTextLineItem
98 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
99 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxTextLineItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
100 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxTextLineItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
103 namespace SvxCrossedOut
105 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
106 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxCrossedOutItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
107 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxCrossedOutItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
110 // SvxContourItem -> SfxBoolItem
111 // SvxShadowedItem -> SfxBoolItem
115 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
116 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxColorItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
117 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxColorItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
122 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
123 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxBoxItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
124 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxBoxItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
129 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
130 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxLineItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
131 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxLineItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
136 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
137 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxBrushItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
138 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxBrushItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
143 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
144 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxAdjustItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
145 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxAdjustItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
148 namespace SvxHorJustify
150 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
151 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxHorJustifyItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
152 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxHorJustifyItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
155 namespace SvxVerJustify
157 sal_uInt16
UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) GetVersion(sal_uInt16 nFileFormatVersion
);
158 void UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) Create(SvxVerJustifyItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
159 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC
) SvStream
& Store(const SvxVerJustifyItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
162 namespace SvxFrameDirection
164 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
165 void EDITENG_DLLPUBLIC
Create(SvxFrameDirectionItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
166 EDITENG_DLLPUBLIC SvStream
& Store(const SvxFrameDirectionItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
169 namespace SvxFormatBreak
171 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
172 void EDITENG_DLLPUBLIC
Create(SvxFormatBreakItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
173 EDITENG_DLLPUBLIC SvStream
& Store(const SvxFormatBreakItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
176 namespace SvxFormatKeep
178 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
179 void EDITENG_DLLPUBLIC
Create(SvxFormatKeepItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
180 EDITENG_DLLPUBLIC SvStream
& Store(const SvxFormatKeepItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
185 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
186 void EDITENG_DLLPUBLIC
Create(SvxShadowItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
187 EDITENG_DLLPUBLIC SvStream
& Store(const SvxShadowItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
191 #endif // INCLUDED_EDITENG_LEGACYITEM_HXX
193 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */