LibreOffice Module editeng (master) 1
legacyitem.hxx
Go to the documentation of this file.
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_EDITENG_LEGACYITEM_HXX
20#define INCLUDED_EDITENG_LEGACYITEM_HXX
21
22#include <config_options.h>
24
26// // editeng
27// SvxFontItem aFont;
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;
37// SvxBoxItem aBox;
38// SvxLineItem aTLBR;
39// SvxBrushItem aBackground;
40// SvxAdjustItem aAdjust;
41// SvxHorJustifyItem aHorJustify;
42// SvxVerJustifyItem aVerJustify;
43// SvxFrameDirectionItem m_aTextOrientation;
45
46class SvStream;
47class SvxFontItem;
49class SvxWeightItem;
50class SvxPostureItem;
51class SvxTextLineItem;
53class SvxShadowedItem;
54class SvxColorItem;
55class SvxBoxItem;
56class SvxLineItem;
57class SvxBrushItem;
58class SvxAdjustItem;
64class SvxShadowItem;
65
66namespace legacy
67{
68 namespace SvxFont
69 {
70 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
73 }
74
75 namespace SvxFontHeight
76 {
77 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
80 }
81
82 namespace SvxWeight
83 {
84 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
87 }
88
89 namespace SvxPosture
90 {
91 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
94 }
95
96 namespace SvxTextLine // SvxUnderlineItem, SvxOverlineItem -> SvxTextLineItem
97 {
98 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
101 }
102
103 namespace SvxCrossedOut
104 {
105 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
108 }
109
110 // SvxContourItem -> SfxBoolItem
111 // SvxShadowedItem -> SfxBoolItem
112
113 namespace SvxColor
114 {
115 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
118 }
119
120 namespace SvxBox
121 {
122 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
125 }
126
127 namespace SvxLine
128 {
129 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
132 }
133
134 namespace SvxBrush
135 {
136 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
139 }
140
141 namespace SvxAdjust
142 {
143 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
146 }
147
148 namespace SvxHorJustify
149 {
150 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
153 }
154
155 namespace SvxVerJustify
156 {
157 sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion);
160 }
161
162 namespace SvxFrameDirection
163 {
164 sal_uInt16 EDITENG_DLLPUBLIC GetVersion(sal_uInt16 nFileFormatVersion);
167 }
168
169 namespace SvxFormatBreak
170 {
171 sal_uInt16 EDITENG_DLLPUBLIC GetVersion(sal_uInt16 nFileFormatVersion);
174 }
175
176 namespace SvxFormatKeep
177 {
178 sal_uInt16 EDITENG_DLLPUBLIC GetVersion(sal_uInt16 nFileFormatVersion);
181 }
182
183 namespace SvxShadow
184 {
185 sal_uInt16 EDITENG_DLLPUBLIC GetVersion(sal_uInt16 nFileFormatVersion);
188 }
189}
190
191#endif // INCLUDED_EDITENG_LEGACYITEM_HXX
192
193/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SvxColorItem item describes a color.
Definition: colritem.hxx:32
This item describes a Font.
Definition: fontitem.hxx:30
#define EDITENG_DLLPUBLIC
Definition: editengdllapi.h:28
SvxFrameDirection
Defines possible text directions in frames.
Definition: frmdir.hxx:31
sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion)
Definition: legacyitem.cxx:635
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
void Create(SvxAdjustItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:641
SvStream & Store(const SvxAdjustItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:655
void SvStream & rStrm
Definition: legacyitem.hxx:144
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:144
SvStream & Store(const SvxBoxItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:386
sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion)
Definition: legacyitem.cxx:297
void Create(SvxBoxItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:336
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:123
void SvStream & rStrm
Definition: legacyitem.hxx:123
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:480
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
SvStream & Store(const SvxBrushItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:592
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:137
void SvStream & rStrm
Definition: legacyitem.hxx:137
void Create(SvxBrushItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:489
SvStream & Store(const SvxColorItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:284
void Create(SvxColorItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:276
void SvStream & rStrm
Definition: legacyitem.hxx:116
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:116
sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion)
Definition: legacyitem.cxx:267
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
void SvStream & rStrm
Definition: legacyitem.hxx:106
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:106
void Create(SvxCrossedOutItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:251
SvStream & Store(const SvxCrossedOutItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:258
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:246
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
void Create(SvxFontHeightItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:134
void SvStream & rStrm
Definition: legacyitem.hxx:78
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
SvStream & Store(const SvxFontHeightItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:160
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:78
sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion)
Definition: legacyitem.cxx:127
void SvStream & rStrm
Definition: legacyitem.hxx:71
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:71
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
SvStream & Store(const SvxFontItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:108
void Create(SvxFontItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:65
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:60
void Create(SvxFormatBreakItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:742
SvStream & Store(const SvxFormatBreakItem &rItem, SvStream &rStrm, sal_uInt16 nItemVersion)
Definition: legacyitem.cxx:751
sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion)
Definition: legacyitem.cxx:732
SvStream & Store(const SvxFormatKeepItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:776
void Create(SvxFormatKeepItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:767
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:762
sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion)
Definition: legacyitem.cxx:711
void Create(SvxFrameDirectionItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:716
SvStream & Store(const SvxFrameDirectionItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:723
SvStream & Store(const SvxHorJustifyItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:681
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:151
void Create(SvxHorJustifyItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:674
void SvStream & rStrm
Definition: legacyitem.hxx:151
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:669
void Create(SvxLineItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:439
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:130
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
void SvStream & rStrm
Definition: legacyitem.hxx:130
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:434
SvStream & Store(const SvxLineItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:455
void Create(SvxPostureItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:207
void SvStream & rStrm
Definition: legacyitem.hxx:92
SvStream & Store(const SvxPostureItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:214
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:92
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:202
SvStream & Store(const SvxShadowItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:812
void Create(SvxShadowItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:792
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:787
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:223
void Create(SvxTextLineItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:228
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:99
void SvStream & rStrm
Definition: legacyitem.hxx:99
SvStream & Store(const SvxTextLineItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:236
void Create(SvxVerJustifyItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:695
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:690
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:158
SvStream & Store(const SvxVerJustifyItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:702
void SvStream & rStrm
Definition: legacyitem.hxx:158
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
void SvStream & rStrm
Definition: legacyitem.hxx:85
SvStream & Store(const SvxWeightItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:193
sal_uInt16 UNLESS_MERGELIBS(EDITENG_DLLPUBLIC) GetVersion(sal_uInt16 nFileFormatVersion)
void SvStream sal_uInt16 nItemVersion
Definition: legacyitem.hxx:85
sal_uInt16 GetVersion(sal_uInt16)
Definition: legacyitem.cxx:181
void Create(SvxWeightItem &rItem, SvStream &rStrm, sal_uInt16)
Definition: legacyitem.cxx:186
SvxAdjust
Definition: svxenum.hxx:77