| /trunk/main/svtools/source/edit/ |
| H A D | textdoc.cxx | 135 for ( sal_uInt16 nAttr = Count(); nAttr; ) in FindAttrib() local 137 TextCharAttrib* pAttr = GetObject( --nAttr ); in FindAttrib() 152 for ( sal_uInt16 nAttr = 0; nAttr < nAttribs; nAttr++ ) in FindNextAttrib() local 154 TextCharAttrib* pAttr = GetObject( nAttr ); in FindNextAttrib() 165 for ( sal_uInt16 nAttr = Count(); nAttr; ) in HasAttrib() local 167 const TextCharAttrib* pAttr = GetObject( --nAttr ); in HasAttrib() 178 for ( sal_uInt16 nAttr = Count(); nAttr; ) in HasBoundingAttrib() local 180 TextCharAttrib* pAttr = GetObject( --nAttr ); in HasBoundingAttrib() 197 for ( sal_uInt16 nAttr = 0; nAttr < nAttribs; nAttr++ ) in FindEmptyAttrib() local 199 TextCharAttrib* pAttr = GetObject( nAttr ); in FindEmptyAttrib() [all …]
|
| H A D | texteng.cxx | 567 for ( sal_uInt16 nAttr = pNode->GetCharAttribs().Count(); nAttr; ) in ImpRemoveChars() local 569 TextCharAttrib* pAttr = pNode->GetCharAttribs().GetAttrib( --nAttr ); in ImpRemoveChars() 1500 for ( sal_uInt16 nAttr = 0; nAttr < nAttribs; nAttr++ ) in SeekCursor() local 1502 TextCharAttrib* pAttrib = pNode->GetCharAttribs().GetAttrib( nAttr ); in SeekCursor() 1530 sal_uInt16 nAttr = mpIMEInfos->pAttribs[ nPos - mpIMEInfos->aPos.GetIndex() - 1 ]; in SeekCursor() local 1531 if ( nAttr & EXTTEXTINPUT_ATTR_UNDERLINE ) in SeekCursor() 1533 else if ( nAttr & EXTTEXTINPUT_ATTR_BOLDUNDERLINE ) in SeekCursor() 1535 else if ( nAttr & EXTTEXTINPUT_ATTR_DOTTEDUNDERLINE ) in SeekCursor() 1537 else if ( nAttr & EXTTEXTINPUT_ATTR_DASHDOTUNDERLINE ) in SeekCursor() 1539 if ( nAttr & EXTTEXTINPUT_ATTR_REDTEXT ) in SeekCursor() [all …]
|
| /trunk/main/xmloff/source/core/ |
| H A D | unoatrcn.cxx | 84 for( sal_uInt16 nAttr = 0; nAttr < nAttrCount; nAttr++ ) in getIndexByName() local 86 if( mpContainer->GetAttrLName(nAttr) == aName && in getIndexByName() 87 mpContainer->GetAttrPrefix(nAttr).getLength() == 0L ) in getIndexByName() 88 return nAttr; in getIndexByName() 96 for( sal_uInt16 nAttr = 0; nAttr < nAttrCount; nAttr++ ) in getIndexByName() local 98 if( mpContainer->GetAttrLName(nAttr) == aLName && in getIndexByName() 99 mpContainer->GetAttrPrefix(nAttr) == aPrefix ) in getIndexByName() 100 return nAttr; in getIndexByName() 151 sal_uInt16 nAttr = getIndexByName(aName ); in getByName() local 153 if( nAttr == USHRT_MAX ) in getByName() [all …]
|
| /trunk/main/editeng/source/editeng/ |
| H A D | editdoc.cxx | 740 sal_uInt16 nAttr = 0; in ExpandAttribs() local 741 EditCharAttrib* pAttrib = GetAttrib( aCharAttribList.GetAttribs(), nAttr ); in ExpandAttribs() 802 for ( sal_uInt16 nA = 0; nA < nAttr; nA++ ) in ExpandAttribs() 838 aCharAttribList.GetAttribs().Remove( nAttr ); in ExpandAttribs() 841 nAttr--; in ExpandAttribs() 843 nAttr++; in ExpandAttribs() 844 pAttrib = GetAttrib( aCharAttribList.GetAttribs(), nAttr ); in ExpandAttribs() 874 sal_uInt16 nAttr = 0; in CollapsAttribs() local 875 EditCharAttrib* pAttrib = GetAttrib( aCharAttribList.GetAttribs(), nAttr ); in CollapsAttribs() 928 aCharAttribList.GetAttribs().Remove( nAttr ); in CollapsAttribs() [all …]
|
| H A D | editobj.cxx | 228 for ( sal_uInt16 nAttr = 0; nAttr < aAttribs.Count(); nAttr++ ) in ~ContentInfo() local 230 XEditAttribute* pAttr = aAttribs.GetObject(nAttr); in ~ContentInfo() 929 for ( sal_uInt16 nAttr = nAttribs; nAttr; ) in HasCharAttribs() local 931 XEditAttribute* pX = pC->GetAttribs().GetObject( --nAttr ); in HasCharAttribs() 945 for ( sal_uInt16 nAttr = 0; nAttr < pC->GetAttribs().Count(); nAttr++ ) in GetCharAttribs() local 947 XEditAttribute* pAttr = pC->GetAttribs().GetObject( nAttr ); in GetCharAttribs() 994 for ( sal_uInt16 nAttr = nAttribs; nAttr; ) in GetField() local 996 XEditAttribute* pX = pC->GetAttribs().GetObject( --nAttr ); in GetField() 1012 for ( sal_uInt16 nAttr = 0; nAttr < nAttrs; nAttr++ ) in HasField() local 1014 XEditAttribute* pAttr = pC->GetAttribs()[nAttr]; in HasField() [all …]
|
| H A D | impedit5.cxx | 232 for ( sal_uInt16 nAttr = 0; nAttr < pNode->GetCharAttribs().Count(); nAttr++ ) in CreateAttribUndo() local 234 EditCharAttribPtr pAttr = pNode->GetCharAttribs().GetAttribs()[ nAttr ]; in CreateAttribUndo() 474 for ( sal_uInt16 nAttr = 0; nAttr < rAttrs.Count(); nAttr++ ) in GetAttribs() local 476 EditCharAttrib* pAttr = rAttrs.GetObject( nAttr ); in GetAttribs() 716 sal_uInt16 nAttr = 0; in RemoveCharAttribs() local 717 EditCharAttribPtr pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in RemoveCharAttribs() 723 pNode->GetCharAttribs().GetAttribs().Remove( nAttr ); in RemoveCharAttribs() 725 nAttr--; in RemoveCharAttribs() 727 nAttr++; in RemoveCharAttribs() 728 pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in RemoveCharAttribs() [all …]
|
| /trunk/main/editeng/source/uno/ |
| H A D | unoedhlp.cxx | 145 for ( sal_uInt16 nAttr = 0; nAttr < aTempCharAttribs.Count(); nAttr++ ) in GetAttributeRun() local 147 if ( nIndex2 < aTempCharAttribs[nAttr].nStart ) in GetAttributeRun() 151 aEEAttr.nEnd = aTempCharAttribs[nAttr].nStart; in GetAttributeRun() 152 aCharAttribs.Insert( aEEAttr, nAttr ); in GetAttributeRun() 154 nIndex2 = aTempCharAttribs[nAttr].nEnd; in GetAttributeRun() 155 aCharAttribs.Insert( aTempCharAttribs[nAttr], aCharAttribs.Count() ); in GetAttributeRun() 166 sal_uInt16 nAttr, nCurrIndex; in GetAttributeRun() local 169 …for( nAttr=0, nClosestStartIndex_s=0, nClosestStartIndex_e=0; nAttr<aCharAttribs.Count(); ++nAttr ) in GetAttributeRun() 171 nCurrIndex = aCharAttribs[nAttr].nStart; in GetAttributeRun() 181 nCurrIndex = aCharAttribs[nAttr].nEnd; in GetAttributeRun() [all …]
|
| /trunk/main/xmloff/source/text/ |
| H A D | XMLTextMarkImportContext.cxx | 82 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 86 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 92 sName = xAttrList->getValueByIndex(nAttr); in StartElement() 97 sValue = xAttrList->getValueByIndex(nAttr); in StartElement() 433 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in FindName() local 437 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in FindName() 443 m_sBookmarkName = xAttrList->getValueByIndex(nAttr); in FindName() 449 m_sXmlId = xAttrList->getValueByIndex(nAttr); in FindName() 456 m_sAbout = xAttrList->getValueByIndex(nAttr); in FindName() 461 m_sProperty = xAttrList->getValueByIndex(nAttr); in FindName() [all …]
|
| H A D | XMLIndexTOCStylesContext.cxx | 79 for(sal_Int16 nAttr = 0; nAttr < nCount; nAttr++) in StartElement() local 83 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 90 nTmp, xAttrList->getValueByIndex(nAttr), 1, in StartElement() 138 for(sal_Int16 nAttr = 0; nAttr < nCount; nAttr++) in CreateChildContext() local 142 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in CreateChildContext() 147 aStyleNames.push_back(xAttrList->getValueByIndex(nAttr)); in CreateChildContext()
|
| H A D | XMLIndexBibliographyConfigurationContext.cxx | 92 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 96 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 100 xAttrList->getValueByIndex(nAttr)); in StartElement() 168 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in CreateChildContext() local 172 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in CreateChildContext() 179 sKey = xAttrList->getValueByIndex(nAttr); in CreateChildContext() 185 bTmp, xAttrList->getValueByIndex(nAttr))) in CreateChildContext()
|
| H A D | XMLFootnoteConfigurationImportContext.cxx | 156 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in XMLFootnoteConfigurationImportContext() local 160 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in XMLFootnoteConfigurationImportContext() 165 const OUString& rValue = xAttrList->getValueByIndex( nAttr ); in XMLFootnoteConfigurationImportContext() 240 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 244 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 246 OUString sValue = xAttrList->getValueByIndex(nAttr); in StartElement()
|
| H A D | XMLSectionSourceDDEImportContext.cxx | 107 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 111 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 117 sApplication = xAttrList->getValueByIndex(nAttr); in StartElement() 120 sTopic = xAttrList->getValueByIndex(nAttr); in StartElement() 123 sItem = xAttrList->getValueByIndex(nAttr); in StartElement() 129 bTmp, xAttrList->getValueByIndex(nAttr))) in StartElement()
|
| H A D | XMLSectionSourceImportContext.cxx | 91 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 95 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 101 sURL = xAttrList->getValueByIndex(nAttr); in StartElement() 105 sFilterName = xAttrList->getValueByIndex(nAttr); in StartElement() 109 sSectionName = xAttrList->getValueByIndex(nAttr); in StartElement()
|
| H A D | XMLIndexTOCContext.cxx | 149 for(sal_Int16 nAttr = 0; nAttr < nCount; nAttr++) in StartElement() local 153 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 160 xAttrList->getValueByIndex(nAttr)); in StartElement() 166 bTmp, xAttrList->getValueByIndex(nAttr) ) ) in StartElement() 173 sIndexName = xAttrList->getValueByIndex(nAttr); in StartElement() 180 sXmlId = xAttrList->getValueByIndex(nAttr); in StartElement()
|
| H A D | XMLIndexChapterInfoEntryContext.cxx | 95 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 99 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 105 sCharStyleName = xAttrList->getValueByIndex(nAttr); in StartElement() 112 nTmp, xAttrList->getValueByIndex(nAttr), in StartElement() 123 if (SvXMLUnitConverter::convertNumber(nTmp, xAttrList->getValueByIndex(nAttr))) in StartElement()
|
| H A D | XMLIndexBibliographyEntryContext.cxx | 118 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 122 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 128 sCharStyleName = xAttrList->getValueByIndex(nAttr); in StartElement() 135 nTmp, xAttrList->getValueByIndex(nAttr), in StartElement()
|
| H A D | XMLChangeImportContext.cxx | 66 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 70 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 80 OUString sID = xAttrList->getValueByIndex(nAttr); in StartElement()
|
| H A D | XMLIndexTitleTemplateContext.cxx | 73 for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++) in StartElement() local 77 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), in StartElement() 82 sStyleName = xAttrList->getValueByIndex(nAttr); in StartElement()
|
| /trunk/main/sw/source/core/text/ |
| H A D | redlnitr.cxx | 418 void SwExtend::ActualizeFont( SwFont &rFnt, MSHORT nAttr ) in ActualizeFont() argument 420 if ( nAttr & EXTTEXTINPUT_ATTR_UNDERLINE ) in ActualizeFont() 422 else if ( nAttr & EXTTEXTINPUT_ATTR_BOLDUNDERLINE ) in ActualizeFont() 424 else if ( nAttr & EXTTEXTINPUT_ATTR_DOTTEDUNDERLINE ) in ActualizeFont() 426 else if ( nAttr & EXTTEXTINPUT_ATTR_DASHDOTUNDERLINE ) in ActualizeFont() 429 if ( nAttr & EXTTEXTINPUT_ATTR_REDTEXT ) in ActualizeFont() 432 if ( nAttr & EXTTEXTINPUT_ATTR_HIGHLIGHT ) in ActualizeFont() 438 if ( nAttr & EXTTEXTINPUT_ATTR_GRAYWAVELINE ) in ActualizeFont() 463 MSHORT nAttr = rArr[ nPos - nStart ]; in _Leave() local 464 if( nOldAttr != nAttr ) // Gibt es einen (inneren) Attributwechsel? in _Leave() [all …]
|
| H A D | atrstck.cxx | 612 void SwAttrHandler::ActivateTop( SwFont& rFnt, const sal_uInt16 nAttr ) in ActivateTop() argument 614 ASSERT( nAttr < RES_TXTATR_WITHEND_END, in ActivateTop() 617 const sal_uInt16 nStackPos = StackPos[ nAttr ]; in ActivateTop() 628 pSet->GetItemState( nAttr, RES_TXTATR_AUTOFMT != pTopAt->Which(), &pItemNext ); in ActivateTop() 646 else if ( RES_TXTATR_REFMARK == nAttr ) in ActivateTop() 648 else if ( RES_TXTATR_TOXMARK == nAttr ) in ActivateTop() 650 else if ( (RES_TXTATR_META == nAttr) || (RES_TXTATR_METAFIELD == nAttr) ) in ActivateTop() 654 else if ( RES_TXTATR_CJK_RUBY == nAttr ) in ActivateTop() 692 else if ( RES_TXTATR_INPUTFIELD == nAttr ) in ActivateTop()
|
| /trunk/main/sw/source/ui/config/ |
| H A D | modcfg.cxx | 287 aInsertAttr.nAttr = UNDERLINE_SINGLE; in SwRevisionConfig() 290 aDeletedAttr.nAttr = STRIKEOUT_SINGLE; in SwRevisionConfig() 293 aFormatAttr.nAttr = WEIGHT_BOLD; in SwRevisionConfig() 314 case SID_ATTR_CHAR_UNDERLINE: nRet = UNDERLINE_SINGLE == rAttr.nAttr ? 3 : 4; break; in lcl_ConvertAttrToCfg() 318 switch(rAttr.nAttr) in lcl_ConvertAttrToCfg() 363 rAttr.nItemId = rAttr.nAttr = 0; in lcl_ConvertCfgToAttr() 366 … case 1: rAttr.nItemId = SID_ATTR_CHAR_WEIGHT; rAttr.nAttr = WEIGHT_BOLD ; break; in lcl_ConvertCfgToAttr() 367 … case 2: rAttr.nItemId = SID_ATTR_CHAR_POSTURE; rAttr.nAttr = ITALIC_NORMAL ; break; in lcl_ConvertCfgToAttr() 371 rAttr.nAttr = STRIKEOUT_SINGLE; in lcl_ConvertCfgToAttr() 376 rAttr.nAttr = UNDERLINE_SINGLE; in lcl_ConvertCfgToAttr() [all …]
|
| /trunk/main/xmloff/source/script/ |
| H A D | XMLEventsImportContext.cxx | 127 for (sal_Int16 nAttr = 0; nAttr < nCount; nAttr++) in CreateChildContext() local 131 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), &sLocalName ); in CreateChildContext() 137 sEventName = xAttrList->getValueByIndex(nAttr); in CreateChildContext() 141 sLanguage = xAttrList->getValueByIndex(nAttr); in CreateChildContext()
|
| H A D | XMLScriptContextFactory.cxx | 67 for (sal_Int16 nAttr = 0; nAttr < nCount; nAttr++) in CreateContext() local 71 GetKeyByAttrName(xAttrList->getNameByIndex(nAttr), &sLocalName); in CreateContext() 76 sURLVal = xAttrList->getValueByIndex(nAttr); in CreateContext()
|
| H A D | XMLStarBasicContextFactory.cxx | 70 for(sal_Int16 nAttr = 0; nAttr < nCount; nAttr++) in CreateContext() local 74 GetKeyByAttrName( xAttrList->getNameByIndex(nAttr), &sLocalName ); in CreateContext() 92 sMacroNameVal = xAttrList->getValueByIndex(nAttr); in CreateContext()
|
| /trunk/main/sw/source/core/access/ |
| H A D | accportions.cxx | 133 sal_uInt8 nAttr = IsGrayPortionType(nType) ? PORATTR_GRAY : 0; in Text() local 134 aPortionAttrs.push_back( nAttr ); in Text() 242 sal_uInt8 nAttr = PORATTR_SPECIAL; in Special() local 243 if( IsGrayPortionType(nType) ) nAttr |= PORATTR_GRAY; in Special() 244 if( nLength == 0 ) nAttr |= PORATTR_READONLY; in Special() 245 if( nType == POR_TERMINATE ) nAttr |= PORATTR_TERM; in Special() 246 aPortionAttrs.push_back( nAttr ); in Special() 292 size_t nPortionNo, sal_uInt8 nAttr ) const in IsPortionAttrSet() 296 return (aPortionAttrs[nPortionNo] & nAttr) != 0; in IsPortionAttrSet()
|