XMLTextNumRuleInfo.cxx (63bba73c) XMLTextNumRuleInfo.cxx (a638af5d)
1/**************************************************************
1/**************************************************************
2 *
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
9 * with the License. You may obtain a copy of the License at
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
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
22
23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_xmloff.hxx"
26
27#include <tools/debug.hxx>

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

49 , msNumberingLevel(RTL_CONSTASCII_USTRINGPARAM("NumberingLevel"))
50 , msNumberingStartValue(RTL_CONSTASCII_USTRINGPARAM("NumberingStartValue"))
51 , msParaIsNumberingRestart(RTL_CONSTASCII_USTRINGPARAM("ParaIsNumberingRestart"))
52 , msNumberingIsNumber(RTL_CONSTASCII_USTRINGPARAM("NumberingIsNumber"))
53 , msNumberingIsOutline(RTL_CONSTASCII_USTRINGPARAM("NumberingIsOutline"))
54 , msPropNameListId(RTL_CONSTASCII_USTRINGPARAM("ListId"))
55 , msPropNameStartWith(RTL_CONSTASCII_USTRINGPARAM("StartWith"))
56 // --> OD 2008-11-26 #158694#
20 *************************************************************/
21
22
23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_xmloff.hxx"
26
27#include <tools/debug.hxx>

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

49 , msNumberingLevel(RTL_CONSTASCII_USTRINGPARAM("NumberingLevel"))
50 , msNumberingStartValue(RTL_CONSTASCII_USTRINGPARAM("NumberingStartValue"))
51 , msParaIsNumberingRestart(RTL_CONSTASCII_USTRINGPARAM("ParaIsNumberingRestart"))
52 , msNumberingIsNumber(RTL_CONSTASCII_USTRINGPARAM("NumberingIsNumber"))
53 , msNumberingIsOutline(RTL_CONSTASCII_USTRINGPARAM("NumberingIsOutline"))
54 , msPropNameListId(RTL_CONSTASCII_USTRINGPARAM("ListId"))
55 , msPropNameStartWith(RTL_CONSTASCII_USTRINGPARAM("StartWith"))
56 // --> OD 2008-11-26 #158694#
57 , msContinueingPreviousSubTree(RTL_CONSTASCII_USTRINGPARAM("ContinueingPreviousSubTree"))
57 , msContinuingPreviousSubTree(RTL_CONSTASCII_USTRINGPARAM("ContinueingPreviousSubTree"))
58 , msListLabelStringProp(RTL_CONSTASCII_USTRINGPARAM("ListLabelString"))
59 // <--
60 , mxNumRules()
61 , msNumRulesName()
62 , msListId()
63 , mnListStartValue( -1 )
64 , mnListLevel( 0 )
65 , mbIsNumbered( sal_False )

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

164
165 if( xPropSetInfo->hasPropertyByName( msPropNameListId ) )
166 {
167 xPropSet->getPropertyValue( msPropNameListId ) >>= msListId;
168 }
169
170 // --> OD 2008-11-26 #158694#
171 mbContinueingPreviousSubTree = sal_False;
58 , msListLabelStringProp(RTL_CONSTASCII_USTRINGPARAM("ListLabelString"))
59 // <--
60 , mxNumRules()
61 , msNumRulesName()
62 , msListId()
63 , mnListStartValue( -1 )
64 , mnListLevel( 0 )
65 , mbIsNumbered( sal_False )

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

164
165 if( xPropSetInfo->hasPropertyByName( msPropNameListId ) )
166 {
167 xPropSet->getPropertyValue( msPropNameListId ) >>= msListId;
168 }
169
170 // --> OD 2008-11-26 #158694#
171 mbContinueingPreviousSubTree = sal_False;
172 if( xPropSetInfo->hasPropertyByName( msContinueingPreviousSubTree ) )
172 if( xPropSetInfo->hasPropertyByName( msContinuingPreviousSubTree ) )
173 {
173 {
174 xPropSet->getPropertyValue( msContinueingPreviousSubTree ) >>= mbContinueingPreviousSubTree;
174 xPropSet->getPropertyValue( msContinuingPreviousSubTree ) >>= mbContinueingPreviousSubTree;
175 }
176 // <--
177
178 mbIsNumbered = sal_True;
179 if( xPropSetInfo->hasPropertyByName( msNumberingIsNumber ) )
180 {
181 if( !(xPropSet->getPropertyValue( msNumberingIsNumber ) >>= mbIsNumbered ) )
182 {

--- 75 unchanged lines hidden ---
175 }
176 // <--
177
178 mbIsNumbered = sal_True;
179 if( xPropSetInfo->hasPropertyByName( msNumberingIsNumber ) )
180 {
181 if( !(xPropSet->getPropertyValue( msNumberingIsNumber ) >>= mbIsNumbered ) )
182 {

--- 75 unchanged lines hidden ---