| /trunk/main/sw/source/ui/misc/ |
| H A D | num.cxx | 245 sal_uInt16 nLvl = USHRT_MAX; in InitControls() local 253 if(USHRT_MAX == nLvl) in InitControls() 255 nLvl = i; in InitControls() 259 pFirstOrient = aNumFmtArr[nLvl]->GetGraphicOrientation(); in InitControls() 260 nFirstBorderText = nLvl > 0 ? in InitControls() 261 aNumFmtArr[nLvl]->GetAbsLSpace() + aNumFmtArr[nLvl]->GetFirstLineOffset() - in InitControls() 262 … aNumFmtArr[nLvl - 1]->GetAbsLSpace() + aNumFmtArr[nLvl - 1]->GetFirstLineOffset(): in InitControls() 263 … aNumFmtArr[nLvl]->GetAbsLSpace() + aNumFmtArr[nLvl]->GetFirstLineOffset(); in InitControls() 268 if( i > nLvl) in InitControls() 271 bSameAdjust &= aNumFmtArr[i]->GetNumAdjust() == aNumFmtArr[nLvl]->GetNumAdjust(); in InitControls() [all …]
|
| /trunk/main/cui/source/tabpages/ |
| H A D | numpages.cxx | 1736 sal_uInt16 nLvl = USHRT_MAX; in InitControls() local 1749 if(USHRT_MAX == nLvl) in InitControls() 1751 nLvl = i; in InitControls() 1757 if( i > nLvl) in InitControls() 1759 … bSameType &= aNumFmtArr[i]->GetNumberingType() == aNumFmtArr[nLvl]->GetNumberingType(); in InitControls() 1760 bSameStart = aNumFmtArr[i]->GetStart() == aNumFmtArr[nLvl]->GetStart(); in InitControls() 1762 bSamePrefix = aNumFmtArr[i]->GetPrefix() == aNumFmtArr[nLvl]->GetPrefix(); in InitControls() 1763 bSameSuffix = aNumFmtArr[i]->GetSuffix() == aNumFmtArr[nLvl]->GetSuffix(); in InitControls() 1764 … bAllLevel &= aNumFmtArr[i]->GetIncludeUpperLevels() == aNumFmtArr[nLvl]->GetIncludeUpperLevels(); in InitControls() 1769 … bSameBulColor &= aNumFmtArr[i]->GetBulletColor() == aNumFmtArr[nLvl]->GetBulletColor(); in InitControls() [all …]
|
| /trunk/main/sw/source/core/edit/ |
| H A D | autofmt.cxx | 206 void BuildEnum( sal_uInt16 nLvl, sal_uInt16 nDigitLevel ); 208 void BuildHeadLine( sal_uInt16 nLvl ); 476 sal_uInt16 nLvl = 0, nBlnk = 0; in CalcLevel() local 485 nLvl = rNd.GetAutoFmtLvl(); in CalcLevel() 487 if( nLvl ) in CalcLevel() 488 return nLvl; in CalcLevel() 490 ++nLvl; in CalcLevel() 499 ++nLvl, nBlnk = 0; in CalcLevel() 501 case '\t': ++nLvl, nBlnk = 0; in CalcLevel() 507 return nLvl; in CalcLevel() [all …]
|
| H A D | ednumber.cxx | 593 int nLvl(0); in IsProtectedOutlinePara() local 612 nLvl = nTmpLvl; in IsProtectedOutlinePara() 615 else if( nLvl >= nTmpLvl ) in IsProtectedOutlinePara()
|
| /trunk/main/sw/source/core/layout/ |
| H A D | laycache.cxx | 1240 size_t nLvl = aRecTypes.size(); in OpenRec() local 1241 ASSERT( nLvl == aRecSizes.Count(), "OpenRec: Level" ); in OpenRec() 1246 aRecSizes.Insert( nPos, nLvl ); in OpenRec() 1256 aRecSizes.Insert( nPos + nSize, nLvl ); in OpenRec() 1264 aRecSizes[nLvl] = pStream->Tell(); in OpenRec() 1277 size_t nLvl = aRecTypes.size(); in CloseRec() local 1278 ASSERT( nLvl == aRecSizes.Count(), "CloseRec: wrong Level" ); in CloseRec() 1279 ASSERT( nLvl, "CloseRec: no levels" ); in CloseRec() 1280 if( nLvl ) in CloseRec() 1282 nLvl--; in CloseRec() [all …]
|
| /trunk/main/sw/source/ui/frmdlg/ |
| H A D | cption.cxx | 406 sal_Int8 nLvl = pFldType->GetOutlineLvl(); in DrawSample() local 408 for( sal_Int8 i = 0; i <= nLvl; ++i ) in DrawSample() 516 sal_Unicode nLvl = MAXLEVEL; in SwSequenceOptionDialog() local 521 nLvl = pFldType->GetOutlineLvl(); in SwSequenceOptionDialog() 524 aLbLevel.SelectEntryPos( nLvl < MAXLEVEL ? nLvl + 1 : 0 ); in SwSequenceOptionDialog() 541 sal_Int8 nLvl = (sal_Int8)( aLbLevel.GetSelectEntryPos() - 1); in Apply() local 548 pFldType->SetOutlineLvl( nLvl ); in Apply() 550 else if( aFldTypeName.Len() && nLvl < MAXLEVEL ) in Apply() 555 aFldType.SetOutlineLvl( nLvl ); in Apply()
|
| /trunk/main/sw/source/filter/html/ |
| H A D | htmlnum.hxx | 83 inline void SetNodeStartValue( sal_uInt8 nLvl, sal_uInt16 nVal=USHRT_MAX ); 84 sal_uInt16 GetNodeStartValue( sal_uInt8 nLvl ) const { return aNumStarts[nLvl]; } in GetNodeStartValue() 119 inline void SwHTMLNumRuleInfo::SetNodeStartValue( sal_uInt8 nLvl, sal_uInt16 nVal ) in SetNodeStartValue() argument 121 aNumStarts[nLvl] = nVal; in SetNodeStartValue()
|
| /trunk/main/sw/source/filter/rtf/ |
| H A D | rtfnum.cxx | 769 for ( sal_uInt8 nLvl = 0; nLvl < MAXLEVEL; ++nLvl ) in RemoveUnusedNumRule() local 771 SwNumFmt& rNFmt = (SwNumFmt&)pRule->Get( nLvl ); in RemoveUnusedNumRule() 1168 sal_uInt8 nLvl; in lcl_IsExportNumRule() local 1170 for( nLvl = 0; nLvl < nEnd; ++nLvl ) in lcl_IsExportNumRule() 1171 if( SVX_NUM_NUMBER_NONE != ( pNFmt = &rRule.Get( nLvl )) in lcl_IsExportNumRule() 1178 return nLvl != nEnd; in lcl_IsExportNumRule()
|
| /trunk/main/sw/source/filter/ww8/ |
| H A D | wrtw8num.cxx | 385 sal_uInt8 nLvl; in AbstractNumberingDefinitions() local 388 for( nLvl = 0; nLvl < nLevels; ++nLvl ) in AbstractNumberingDefinitions() 393 const SwNumFmt& rFmt = rRule.Get( nLvl ); in AbstractNumberingDefinitions() 479 sNumStr = rRule.MakeNumString(aNumVector, false, true, nLvl); in AbstractNumberingDefinitions() 483 for( sal_uInt8 i = 0; i <= nLvl; ++i ) in AbstractNumberingDefinitions() 560 AttrOutput().NumberingLevel( nLvl, in AbstractNumberingDefinitions()
|
| H A D | ww8atr.cxx | 681 void WW8AttributeOutput::OutlineNumbering( sal_uInt8 nLvl, const SwNumFmt &rNFmt, const SwFmt &rFmt… in OutlineNumbering() argument 683 if ( nLvl >= WW8ListManager::nMaxLevel ) in OutlineNumbering() 684 nLvl = WW8ListManager::nMaxLevel-1; in OutlineNumbering() 690 m_rWW8Export.pO->Insert( nLvl, m_rWW8Export.pO->Count() ); in OutlineNumbering() 692 m_rWW8Export.pO->Insert( nLvl, m_rWW8Export.pO->Count() ); in OutlineNumbering() 699 m_rWW8Export.Out_SwNumLvl( nLvl ); in OutlineNumbering() 715 aNumFmt, nLvl ); in OutlineNumbering() 720 rNFmt, nLvl ); in OutlineNumbering() 771 int nLvl = ((const SwTxtFmtColl&)rFmt).GetAssignedOutlineStyleLevel(); in OutputFormat() local 775 … const SwNumFmt& rNFmt = pDoc->GetOutlineNumRule()->Get( static_cast<sal_uInt16>( nLvl ) ); in OutputFormat() [all …]
|
| H A D | rtfexport.cxx | 217 sal_uInt8 nLvl; in IsExportNumRule() local 219 for( nLvl = 0; nLvl < nEnd; ++nLvl ) in IsExportNumRule() 220 if( SVX_NUM_NUMBER_NONE != ( pNFmt = &rRule.Get( nLvl )) in IsExportNumRule() 227 return nLvl != nEnd; in IsExportNumRule()
|
| H A D | rtfattributeoutput.cxx | 1297 void RtfAttributeOutput::OutlineNumbering( sal_uInt8 nLvl, const SwNumFmt& /*rNFmt*/, const SwFmt& … in OutlineNumbering() argument 1301 if ( nLvl >= WW8ListManager::nMaxLevel ) in OutlineNumbering() 1302 nLvl = WW8ListManager::nMaxLevel - 1; in OutlineNumbering() 1305 m_aStyles.append((sal_Int32)nLvl); in OutlineNumbering() 1307 m_aStyles.append((sal_Int32)nLvl); in OutlineNumbering() 2686 void RtfAttributeOutput::ParaNumRule_Impl( const SwTxtNode* pTxtNd, sal_Int32 nLvl, sal_Int32 nNumI… in ParaNumRule_Impl() argument 2706 const SwNumFmt* pFmt = pRule->GetNumFmt( nLvl ); in ParaNumRule_Impl() 2708 pFmt = &pRule->Get( nLvl ); in ParaNumRule_Impl() 2750 if( nLvl > 8 ) // RTF knows only 9 levels in ParaNumRule_Impl() 2754 m_aStyles.append((sal_Int32)nLvl); in ParaNumRule_Impl() [all …]
|
| H A D | ww8attributeoutput.hxx | 152 virtual void OutlineNumbering( sal_uInt8 nLvl, const SwNumFmt &rNFmt, const SwFmt &rFmt ); 348 virtual void ParaNumRule_Impl( const SwTxtNode *pTxtNd, sal_Int32 nLvl, sal_Int32 nNumId );
|
| /trunk/main/svx/source/sidebar/tools/ |
| H A D | ValueSetWithTextControl.cxx | 384 sal_uInt16 nLvl = 0; in UserDraw() local 386 pNumbering->ApplyNumRule(aTempRule,nItemId -1,1<<nLvl); in UserDraw() 387 SvxNumberFormat aNumFmt(aTempRule.GetLevel(nLvl)); in UserDraw() 429 sal_uInt16 nLvl = 0; in UserDraw() local 431 pBullets->ApplyNumRule(aTempRule,nItemId -1,1<<nLvl); in UserDraw() 432 SvxNumberFormat aFmt(aTempRule.GetLevel(nLvl)); in UserDraw()
|
| /trunk/main/sw/source/ui/wrtsh/ |
| H A D | wrtsh1.cxx | 1337 for( sal_uInt8 nLvl = 0; nLvl < MAXLEVEL; ++nLvl ) in NumOrBulletOn() local 1339 SwNumFmt aFmt( aNumRule.Get( nLvl ) ); in NumOrBulletOn() 1350 aFmt.SetBulletChar( numfunc::GetBulletChar(nLvl) ); in NumOrBulletOn() 1360 if(bHtml && nLvl) in NumOrBulletOn() 1364 aFmt.SetAbsLSpace(nLvl * 720); in NumOrBulletOn() 1368 aFmt.SetAbsLSpace(nWidthOfTabs + nLvl * 720); in NumOrBulletOn() 1381 aNumRule.Set( nLvl, aFmt ); in NumOrBulletOn()
|
| /trunk/main/sw/source/ui/inc/ |
| H A D | toxmgr.hxx | 106 const String& GetStyleNames(sal_uInt16 nLvl) const in GetStyleNames() 107 {return aStyleNames[nLvl];} in GetStyleNames() 108 void SetStyleNames(const String& rSet, sal_uInt16 nLvl) in SetStyleNames() argument 109 {aStyleNames[nLvl] = rSet; } in SetStyleNames()
|
| H A D | caption.hxx | 87 inline void SetLevel(const sal_uInt16 nLvl) { nLevel = nLvl; } in SetLevel() argument
|
| /trunk/main/sw/source/ui/config/ |
| H A D | optload.cxx | 475 sal_Unicode nLvl = MAXLEVEL; in SwCaptionOptPage() local 485 nLvl = pFldType->GetOutlineLvl(); in SwCaptionOptPage() 489 aLbLevel.SelectEntryPos( nLvl < MAXLEVEL ? nLvl + 1 : 0 ); in SwCaptionOptPage() 927 sal_uInt8 nLvl = pFldType->GetOutlineLvl(); in DrawSample() local 929 for( sal_uInt8 i = 0; i <= nLvl; ++i ) in DrawSample()
|
| /trunk/main/sw/source/filter/writer/ |
| H A D | writer.cxx | 432 for( sal_uInt8 nLvl = 0; nLvl < MAXLEVEL; ++nLvl ) in PutNumFmtFontsInAttrPool() local 433 if( SVX_NUM_CHAR_SPECIAL == (pFmt = &pRule->Get( nLvl ))->GetNumberingType() || in PutNumFmtFontsInAttrPool()
|
| /trunk/main/sw/source/core/doc/ |
| H A D | number.cxx | 175 sal_uInt16 SwNumRule::GetNumIndent( sal_uInt8 nLvl ) in GetNumIndent() argument 177 ASSERT( MAXLEVEL > nLvl, "NumLevel is out of range" ); in GetNumIndent() 178 return aDefNumIndents[ nLvl ]; in GetNumIndent() 181 sal_uInt16 SwNumRule::GetBullIndent( sal_uInt8 nLvl ) in GetBullIndent() argument 183 ASSERT( MAXLEVEL > nLvl, "NumLevel is out of range" ); in GetBullIndent() 184 return aDefNumIndents[ nLvl ]; in GetBullIndent()
|
| H A D | doctxm.cxx | 724 const SwTxtNode* lcl_FindChapterNode( const SwNode& rNd, sal_uInt8 nLvl = 0 ) in lcl_FindChapterNode() argument 741 return pNd ? pNd->FindOutlineNodeOfLevel( nLvl ) : 0; in lcl_FindChapterNode() 1011 sal_uInt16 nLvl = aSortArr[ nCnt ]->GetLevel(); in Update() local 1012 SwTxtFmtColl* pColl = (SwTxtFmtColl*)aCollArr[ nLvl ]; in Update() 1015 pColl = GetTxtFmtColl( nLvl ); in Update() 1016 aCollArr.Remove( nLvl ); in Update() 1018 aCollArr.Insert( p , nLvl ); in Update() 1661 sal_uInt16 nLvl = rBase.GetLevel(); in GenerateText() local 1662 ASSERT( nLvl < GetTOXForm().GetFormMax(), "ungueltiges FORM_LEVEL"); in GenerateText() 1670 SwFormTokens aPattern = GetTOXForm().GetPattern(nLvl); in GenerateText()
|
| /trunk/main/sw/source/core/fields/ |
| H A D | expfld.cxx | 691 sal_Int8 nLvl = 0; in PutValue() local 692 rAny >>= nLvl; in PutValue() 693 if(nLvl < 0 || nLvl >= MAXLEVEL) in PutValue() 696 SetOutlineLvl(nLvl); in PutValue()
|
| /trunk/main/basic/source/sbx/ |
| H A D | sbxobj.cxx | 214 static sal_uInt16 nLvl = 0; in Find() local 220 nLvl++, " ", in Find() 276 nLvl--; in Find() 282 nLvl, " ", aNameStr3.GetBuffer(), aNameStr4.GetBuffer() ); in Find()
|
| /trunk/main/sw/inc/ |
| H A D | numrule.hxx | 246 static sal_uInt16 GetNumIndent( sal_uInt8 nLvl ); 247 static sal_uInt16 GetBullIndent( sal_uInt8 nLvl );
|
| /trunk/main/sw/source/filter/basflt/ |
| H A D | fltini.cxx | 553 sal_uInt8 nLvl = 0; in SetNumLSpace() local 556 nLvl = static_cast< sal_uInt8 >(rNd.GetActualListLevel()); in SetNumLSpace() 559 const SwNumFmt& rFmt = rRule.Get( nLvl ); in SetNumLSpace()
|