Home
last modified time | relevance | path

Searched refs:nAttr (Results 1 – 25 of 64) sorted by relevance

123

/trunk/main/svtools/source/edit/
H A Dtextdoc.cxx135 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 Dtexteng.cxx567 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 Dunoatrcn.cxx84 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 Deditdoc.cxx740 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 Deditobj.cxx228 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 Dimpedit5.cxx232 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 Dunoedhlp.cxx145 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 DXMLTextMarkImportContext.cxx82 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 DXMLIndexTOCStylesContext.cxx79 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 DXMLIndexBibliographyConfigurationContext.cxx92 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 DXMLFootnoteConfigurationImportContext.cxx156 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 DXMLSectionSourceDDEImportContext.cxx107 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 DXMLSectionSourceImportContext.cxx91 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 DXMLIndexTOCContext.cxx149 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 DXMLIndexChapterInfoEntryContext.cxx95 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 DXMLIndexBibliographyEntryContext.cxx118 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 DXMLChangeImportContext.cxx66 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 DXMLIndexTitleTemplateContext.cxx73 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 Dredlnitr.cxx418 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 Datrstck.cxx612 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 Dmodcfg.cxx287 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 DXMLEventsImportContext.cxx127 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 DXMLScriptContextFactory.cxx67 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 DXMLStarBasicContextFactory.cxx70 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 Daccportions.cxx133 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()

123