XMLTextNumRuleInfo.hxx (a638af5d) XMLTextNumRuleInfo.hxx (3c7e5543)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 63 unchanged lines hidden (view full) ---

72 sal_Int16 mnListLevelStartValue;
73 // <--
74
75 // --> OD 2006-09-27 #i69627#
76 sal_Bool mbOutlineStyleAsNormalListStyle;
77 // <--
78
79 // --> OD 2008-11-26 #158694#
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 63 unchanged lines hidden (view full) ---

72 sal_Int16 mnListLevelStartValue;
73 // <--
74
75 // --> OD 2006-09-27 #i69627#
76 sal_Bool mbOutlineStyleAsNormalListStyle;
77 // <--
78
79 // --> OD 2008-11-26 #158694#
80 sal_Bool mbContinueingPreviousSubTree;
80 sal_Bool mbContinuingPreviousSubTree;
81 ::rtl::OUString msListLabelString;
82 // <--
83public:
84
85 XMLTextNumRuleInfo();
86
87 inline XMLTextNumRuleInfo& operator=( const XMLTextNumRuleInfo& rInfo );
88

--- 53 unchanged lines hidden (view full) ---

142 inline sal_Bool HasSameNumRules( const XMLTextNumRuleInfo& rCmp ) const
143 {
144 return rCmp.msNumRulesName == msNumRulesName;
145 }
146
147 // --> OD 2008-11-26 #158694#
148 inline sal_Bool IsContinuingPreviousSubTree() const
149 {
81 ::rtl::OUString msListLabelString;
82 // <--
83public:
84
85 XMLTextNumRuleInfo();
86
87 inline XMLTextNumRuleInfo& operator=( const XMLTextNumRuleInfo& rInfo );
88

--- 53 unchanged lines hidden (view full) ---

142 inline sal_Bool HasSameNumRules( const XMLTextNumRuleInfo& rCmp ) const
143 {
144 return rCmp.msNumRulesName == msNumRulesName;
145 }
146
147 // --> OD 2008-11-26 #158694#
148 inline sal_Bool IsContinuingPreviousSubTree() const
149 {
150 return mbContinueingPreviousSubTree;
150 return mbContinuingPreviousSubTree;
151 }
152 inline const ::rtl::OUString& ListLabelString() const
153 {
154 return msListLabelString;
155 }
156 // <--
157};
158

--- 6 unchanged lines hidden (view full) ---

165 mnListStartValue = rInfo.mnListStartValue;
166 mnListLevel = rInfo.mnListLevel;
167 mbIsNumbered = rInfo.mbIsNumbered;
168 mbIsRestart = rInfo.mbIsRestart;
169 // --> OD 2006-09-27 #i69627#
170 mbOutlineStyleAsNormalListStyle = rInfo.mbOutlineStyleAsNormalListStyle;
171 // <--
172 // --> OD 2008-11-26 #158694#
151 }
152 inline const ::rtl::OUString& ListLabelString() const
153 {
154 return msListLabelString;
155 }
156 // <--
157};
158

--- 6 unchanged lines hidden (view full) ---

165 mnListStartValue = rInfo.mnListStartValue;
166 mnListLevel = rInfo.mnListLevel;
167 mbIsNumbered = rInfo.mbIsNumbered;
168 mbIsRestart = rInfo.mbIsRestart;
169 // --> OD 2006-09-27 #i69627#
170 mbOutlineStyleAsNormalListStyle = rInfo.mbOutlineStyleAsNormalListStyle;
171 // <--
172 // --> OD 2008-11-26 #158694#
173 mbContinueingPreviousSubTree = rInfo.mbContinueingPreviousSubTree;
173 mbContinuingPreviousSubTree = rInfo.mbContinuingPreviousSubTree;
174 msListLabelString = rInfo.msListLabelString;
175 // <--
176
177 return *this;
178}
179
180inline void XMLTextNumRuleInfo::Reset()
181{
182 mxNumRules = 0;
183 msNumRulesName = ::rtl::OUString();
184 msListId = ::rtl::OUString();
185 mnListStartValue = -1;
186 mnListLevel = 0;
187 // --> OD 2006-09-27 #i69627#
188 mbIsNumbered = mbIsRestart =
189 mbOutlineStyleAsNormalListStyle = sal_False;
190 // <--
191 // --> OD 2008-11-26 #158694#
174 msListLabelString = rInfo.msListLabelString;
175 // <--
176
177 return *this;
178}
179
180inline void XMLTextNumRuleInfo::Reset()
181{
182 mxNumRules = 0;
183 msNumRulesName = ::rtl::OUString();
184 msListId = ::rtl::OUString();
185 mnListStartValue = -1;
186 mnListLevel = 0;
187 // --> OD 2006-09-27 #i69627#
188 mbIsNumbered = mbIsRestart =
189 mbOutlineStyleAsNormalListStyle = sal_False;
190 // <--
191 // --> OD 2008-11-26 #158694#
192 mbContinueingPreviousSubTree = sal_False;
192 mbContinuingPreviousSubTree = sal_False;
193 msListLabelString = ::rtl::OUString();
194 // <--
195}
196#endif // _XMLOFF_XMLTEXTNUMRULEINFO_HXX
193 msListLabelString = ::rtl::OUString();
194 // <--
195}
196#endif // _XMLOFF_XMLTEXTNUMRULEINFO_HXX