XMLTextNumRuleInfo.cxx (a638af5d) | XMLTextNumRuleInfo.cxx (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 --- 40 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# | 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 --- 40 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 , msContinuingPreviousSubTree(RTL_CONSTASCII_USTRINGPARAM("ContinueingPreviousSubTree")) | 57 , msContinuingPreviousSubTree(RTL_CONSTASCII_USTRINGPARAM("ContinueingPreviousSubTree")) // misspelling kept for compatibility |
58 , msListLabelStringProp(RTL_CONSTASCII_USTRINGPARAM("ListLabelString")) 59 // <-- 60 , mxNumRules() 61 , msNumRulesName() 62 , msListId() 63 , mnListStartValue( -1 ) 64 , mnListLevel( 0 ) 65 , mbIsNumbered( sal_False ) --- 97 unchanged lines hidden (view full) --- 163 "<XMLTextNumRuleInfo::Set(..)> - no name found for numbering rules instance. Serious defect -> please inform OD." ); 164 165 if( xPropSetInfo->hasPropertyByName( msPropNameListId ) ) 166 { 167 xPropSet->getPropertyValue( msPropNameListId ) >>= msListId; 168 } 169 170 // --> OD 2008-11-26 #158694# | 58 , msListLabelStringProp(RTL_CONSTASCII_USTRINGPARAM("ListLabelString")) 59 // <-- 60 , mxNumRules() 61 , msNumRulesName() 62 , msListId() 63 , mnListStartValue( -1 ) 64 , mnListLevel( 0 ) 65 , mbIsNumbered( sal_False ) --- 97 unchanged lines hidden (view full) --- 163 "<XMLTextNumRuleInfo::Set(..)> - no name found for numbering rules instance. Serious defect -> please inform OD." ); 164 165 if( xPropSetInfo->hasPropertyByName( msPropNameListId ) ) 166 { 167 xPropSet->getPropertyValue( msPropNameListId ) >>= msListId; 168 } 169 170 // --> OD 2008-11-26 #158694# |
171 mbContinueingPreviousSubTree = sal_False; | 171 mbContinuingPreviousSubTree = sal_False; |
172 if( xPropSetInfo->hasPropertyByName( msContinuingPreviousSubTree ) ) 173 { | 172 if( xPropSetInfo->hasPropertyByName( msContinuingPreviousSubTree ) ) 173 { |
174 xPropSet->getPropertyValue( msContinuingPreviousSubTree ) >>= mbContinueingPreviousSubTree; | 174 xPropSet->getPropertyValue( msContinuingPreviousSubTree ) >>= mbContinuingPreviousSubTree; |
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 --- |