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 <editeng/editengdllapi.h>
24 //////////////////////////////////////////////////////////////////////////////
27 // SvxFontHeightItem aHeight;
28 // SvxWeightItem aWeight;
29 // SvxPostureItem aPosture;
30 // SvxUnderlineItem aUnderline;
31 // SvxOverlineItem aOverline;
32 // SvxCrossedOutItem aCrossedOut;
33 // SvxContourItem aContour;
34 // SvxShadowedItem aShadowed;
35 // SvxColorItem aColor;
38 // SvxBrushItem aBackground;
39 // SvxAdjustItem aAdjust;
40 // SvxHorJustifyItem aHorJustify;
41 // SvxVerJustifyItem aVerJustify;
42 // SvxFrameDirectionItem m_aTextOrientation;
43 //////////////////////////////////////////////////////////////////////////////
47 class SvxFontHeightItem
;
50 class SvxTextLineItem
;
51 class SvxCrossedOutItem
;
52 class SvxShadowedItem
;
58 class SvxHorJustifyItem
;
59 class SvxVerJustifyItem
;
60 class SvxFrameDirectionItem
;
61 class SvxFormatBreakItem
;
62 class SvxFormatKeepItem
;
69 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
70 void EDITENG_DLLPUBLIC
Create(SvxFontItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
71 EDITENG_DLLPUBLIC SvStream
& Store(const SvxFontItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
74 namespace SvxFontHeight
76 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
77 void EDITENG_DLLPUBLIC
Create(SvxFontHeightItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
78 EDITENG_DLLPUBLIC SvStream
& Store(const SvxFontHeightItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
83 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
84 void EDITENG_DLLPUBLIC
Create(SvxWeightItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
85 EDITENG_DLLPUBLIC SvStream
& Store(const SvxWeightItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
90 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
91 void EDITENG_DLLPUBLIC
Create(SvxPostureItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
92 EDITENG_DLLPUBLIC SvStream
& Store(const SvxPostureItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
95 namespace SvxTextLine
// SvxUnderlineItem, SvxOverlineItem -> SvxTextLineItem
97 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
98 void EDITENG_DLLPUBLIC
Create(SvxTextLineItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
99 EDITENG_DLLPUBLIC SvStream
& Store(const SvxTextLineItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
102 namespace SvxCrossedOut
104 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
105 void EDITENG_DLLPUBLIC
Create(SvxCrossedOutItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
106 EDITENG_DLLPUBLIC SvStream
& Store(const SvxCrossedOutItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
109 // SvxContourItem -> SfxBoolItem
110 // SvxShadowedItem -> SfxBoolItem
114 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
115 void EDITENG_DLLPUBLIC
Create(SvxColorItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
116 EDITENG_DLLPUBLIC SvStream
& Store(const SvxColorItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
121 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
122 void EDITENG_DLLPUBLIC
Create(SvxBoxItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
123 EDITENG_DLLPUBLIC SvStream
& Store(const SvxBoxItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
128 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
129 void EDITENG_DLLPUBLIC
Create(SvxLineItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
130 EDITENG_DLLPUBLIC SvStream
& Store(const SvxLineItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
135 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
136 void EDITENG_DLLPUBLIC
Create(SvxBrushItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
137 EDITENG_DLLPUBLIC SvStream
& Store(const SvxBrushItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
142 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
143 void EDITENG_DLLPUBLIC
Create(SvxAdjustItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
144 EDITENG_DLLPUBLIC SvStream
& Store(const SvxAdjustItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
147 namespace SvxHorJustify
149 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
150 void EDITENG_DLLPUBLIC
Create(SvxHorJustifyItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
151 EDITENG_DLLPUBLIC SvStream
& Store(const SvxHorJustifyItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
154 namespace SvxVerJustify
156 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
157 void EDITENG_DLLPUBLIC
Create(SvxVerJustifyItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
158 EDITENG_DLLPUBLIC SvStream
& Store(const SvxVerJustifyItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
161 namespace SvxFrameDirection
163 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
164 void EDITENG_DLLPUBLIC
Create(SvxFrameDirectionItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
165 EDITENG_DLLPUBLIC SvStream
& Store(const SvxFrameDirectionItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
168 namespace SvxFormatBreak
170 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
171 void EDITENG_DLLPUBLIC
Create(SvxFormatBreakItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
172 EDITENG_DLLPUBLIC SvStream
& Store(const SvxFormatBreakItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
175 namespace SvxFormatKeep
177 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
178 void EDITENG_DLLPUBLIC
Create(SvxFormatKeepItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
179 EDITENG_DLLPUBLIC SvStream
& Store(const SvxFormatKeepItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
184 sal_uInt16 EDITENG_DLLPUBLIC
GetVersion(sal_uInt16 nFileFormatVersion
);
185 void EDITENG_DLLPUBLIC
Create(SvxShadowItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
186 EDITENG_DLLPUBLIC SvStream
& Store(const SvxShadowItem
& rItem
, SvStream
& rStrm
, sal_uInt16 nItemVersion
);
190 #endif // INCLUDED_EDITENG_LEGACYITEM_HXX
192 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */