/trunk/main/editeng/source/editeng/ |
H A D | editdoc.cxx | 1813 if ( pAttr ) in InsertAttrib() 1823 if ( pAttr ) in InsertAttrib() 1859 while ( pAttr && ( pAttr->GetStart() <= nEndPos) ) in FindAttribs() 1905 while ( pAttr && ( pAttr->GetStart() < nEndPos) ) in FindAttribs() 1982 delete pAttr; in ~CharAttribList() 2072 if ( ( pAttr->Which() == nWhich ) && pAttr->IsIn(nPos) ) in FindAttrib() 2122 while ( pAttr && ( pAttr->GetEnd() >= nBound ) ) in HasBoundingAttrib() 2137 while ( pAttr && ( pAttr->GetStart() <= nPos ) ) in FindEmptyAttrib() 2139 …if ( ( pAttr->GetStart() == nPos ) && ( pAttr->GetEnd() == nPos ) && ( pAttr->Which() == nWhich ) ) in FindEmptyAttrib() 2194 if ( pAttr->GetStart() > pAttr->GetEnd() ) in DbgCheckAttribs() [all …]
|
H A D | impedit5.cxx | 235 if ( pAttr->GetLen() ) in CreateAttribUndo() 237 …EditCharAttribPtr pNew = MakeCharAttrib( *pPool, *pAttr->GetItem(), pAttr->GetStart(), pAttr->GetE… in CreateAttribUndo() 481 if ( ( pAttr->GetStart() <= nCursorPos ) && ( pAttr->GetEnd() >= nCursorPos ) ) in GetAttribs() 496 if ( ( pAttr->GetStart() < nEnd ) && ( pAttr->GetEnd() > nStart ) ) in GetAttribs() 498 if ( ( pAttr->GetStart() <= nStart ) && ( pAttr->GetEnd() >= nEnd ) ) in GetAttribs() 508 ( *pAttr->GetItem() != aAttribs.Get( pAttr->Which() ) ) ) in GetAttribs() 609 if ( ( pAttr->GetEnd() == nEndPos ) && ( pAttr->Which() == nWhich ) ) in SetAttribs() 718 while ( pAttr ) in RemoveCharAttribs() 724 delete pAttr; in RemoveCharAttribs() 807 aEEAttr.pAttr = pAttr->GetItem(); in GetCharAttribs() [all …]
|
H A D | editobj.cxx | 175 …if( ( pAttr->GetItem()->Which() == _nWhich ) && ( pAttr->GetStart() <= nChar ) && ( pAttr->GetEnd(… in FindAttrib() 176 return pAttr; in FindAttrib() 210 …tAttribute* pMyAttr = MakeXEditAttribute( rPoolToUse, *pAttr->GetItem(), pAttr->GetStart(), pAttr-… in ContentInfo() 233 delete pAttr; in ~ContentInfo() 808 delete pAttr; in DestroyAttrib() 949 aEEAttr.pAttr = pAttr->GetItem(); in GetCharAttribs() 1056 DestroyAttrib( pAttr ); in RemoveCharAttribs() 1225 … String aPart( pC->GetText(), pAttr->GetStart(), pAttr->GetEnd() - pAttr->GetStart() ); in StoreData() 1227 aText.Erase( pAttr->GetStart(), pAttr->GetEnd() - pAttr->GetStart() ); in StoreData() 1471 … ByteString aPart( aByteString, pAttr->GetStart(), pAttr->GetEnd()-pAttr->GetStart() ); in CreateData() [all …]
|
H A D | editdbg.cxx | 358 aCharAttribs += ByteString::CreateFromInt32( pAttr->GetItem()->Which() ); in ShowEditEngineData() 360 aCharAttribs += ByteString::CreateFromInt32( pAttr->GetStart() ); in ShowEditEngineData() 362 aCharAttribs += ByteString::CreateFromInt32( pAttr->GetEnd() ); in ShowEditEngineData() 363 if ( pAttr->IsEmpty() ) in ShowEditEngineData() 367 ByteString aDebStr = DbgOutItem( rPool, *pAttr->GetItem() ); in ShowEditEngineData() 498 EditCharAttrib* pAttr = pPPortion->GetNode()->GetCharAttribs().GetAttribs().GetObject( z ); in GetPortionInfo() local 500 aDebStr += ByteString::CreateFromInt32( pAttr->GetItem()->Which() ); in GetPortionInfo() 502 aDebStr += ByteString::CreateFromInt32( pAttr->GetStart() ); in GetPortionInfo() 504 aDebStr += ByteString::CreateFromInt32( pAttr->GetEnd() ); in GetPortionInfo() 571 EditCharAttrib* pAttr = rAttribs[nAttr]; in CheckOrderedList() local [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | drviews9.cxx | 259 GetView()->GetAttributes( *pAttr ); in AttrExec() 272 pAttr->ClearItem (XATTR_FILLSTYLE); in AttrExec() 310 pAttr->ClearItem (XATTR_LINEWIDTH); in AttrExec() 327 pAttr->ClearItem (XATTR_FILLCOLOR); in AttrExec() 328 pAttr->ClearItem (XATTR_FILLSTYLE); in AttrExec() 350 pAttr->ClearItem (XATTR_LINECOLOR); in AttrExec() 380 pAttr->ClearItem (XATTR_FILLSTYLE); in AttrExec() 439 pAttr->ClearItem (XATTR_FILLHATCH); in AttrExec() 440 pAttr->ClearItem (XATTR_FILLSTYLE); in AttrExec() 494 pAttr->ClearItem (XATTR_LINEDASH); in AttrExec() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | swhtml.cxx | 2146 if( pAttr && pAttr->GetItem().Which() < RES_PARATR_BEGIN ) in AppendTxtNode() 2891 delete pAttr; in _SetAttr() 3054 delete pAttr; in EndAttr() 3115 delete pAttr; in DeleteAttr() 3155 while( pAttr ) in SaveAttrTab() 3158 pAttr = pAttr->GetNext(); in SaveAttrTab() 3207 while( pAttr ) in SplitAttrTab() 3293 ASSERT( !pAttr->GetPrev() || !pAttr->GetPrev()->ppHead, in RestoreAttrTab() 3303 pAttr = pAttr->GetNext(); in RestoreAttrTab() 3328 delete pAttr; in InsertAttrs() [all …]
|
H A D | htmlctxt.cxx | 167 _HTMLAttr *pAttr = *pTbl; in SplitAttrTab() local 168 while( pAttr ) in SplitAttrTab() 170 _HTMLAttr *pNext = pAttr->GetNext(); in SplitAttrTab() 171 _HTMLAttr *pPrev = pAttr->GetPrev(); in SplitAttrTab() 194 pAttr->GetSttCnt() != nOldEndCnt) ) in SplitAttrTab() 227 pAttr->nSttPara = rNewSttPara; in SplitAttrTab() 228 pAttr->nEndPara = rNewSttPara; in SplitAttrTab() 229 pAttr->nSttCntnt = nNewSttCnt; in SplitAttrTab() 230 pAttr->nEndCntnt = nNewSttCnt; in SplitAttrTab() 231 pAttr->pPrev = 0; in SplitAttrTab() [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | thints.cxx | 127 return (*pAttr->GetStart() < m_nPos) && (m_nPos < *pAttr->End()); in operator ()() 1134 if( pAttr ) in DestroyAttr() 1139 switch( pAttr->Which() ) in DestroyAttr() 1275 ASSERT( pAttr && *pAttr->GetStart() <= Len(), "StartIdx out of bounds!" ); in InsertHint() 1276 ASSERT( !pAttr->GetEnd() || (*pAttr->GetEnd() <= Len()), in InsertHint() 1293 switch( pAttr->Which() ) in InsertHint() 1512 switch( pAttr->Which() ) in InsertHint() 1677 EraseText( aIdx, *pAttr->End() - *pAttr->GetStart() ); in DeleteAttribute() 1684 *pAttr->GetEnd(), in DeleteAttribute() 1685 pAttr->Which()); in DeleteAttribute() [all …]
|
/trunk/main/slideshow/source/engine/ |
H A D | tools.cxx | 519 if( !pAttr ) in getShapeTransformation() 540 if( pAttr ) in getSpriteTransformation() 558 pAttr->isWidthValid() ? pAttr->getWidth() : rOrigSize.getX(), in getSpriteTransformation() 559 pAttr->isHeightValid() ? pAttr->getHeight() : rOrigSize.getY() ); in getSpriteTransformation() 607 if( pAttr && in getShapeUpdateArea() 608 pAttr->isCharScaleValid() && in getShapeUpdateArea() 658 if( !pAttr || in getShapePosSize() 679 aPos.setX( pAttr->isPosXValid() ? in getShapePosSize() 680 pAttr->getPosX() : in getShapePosSize() 682 aPos.setY( pAttr->isPosYValid() ? in getShapePosSize() [all …]
|
/trunk/main/unoxml/source/dom/ |
H A D | element.cxx | 77 pAttr != 0; pAttr = pAttr->next) { in saxify() 114 pAttr != 0; pAttr = pAttr->next) { in fastSaxify() 122 if( pAttr->ns && strlen((char*)pAttr->ns->prefix) ) in fastSaxify() 268 if (0 == pAttr) { in getAttributeNode() 297 if (0 == pAttr) { in getAttributeNodeNS() 494 if (pAttr->parent != m_aNodePtr) in removeAttributeNode() 500 if (pAttr->doc != m_aNodePtr->doc) in removeAttributeNode() 520 xmlRemoveProp(pAttr); in removeAttributeNode() 549 xmlAttrPtr const pAttr = in setAttributeNode_Impl_Lock() local 554 if (pAttr->parent) { in setAttributeNode_Impl_Lock() [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | textdoc.cxx | 139 if ( pAttr->GetEnd() < nPos ) in FindAttrib() 142 if ( ( pAttr->Which() == nWhich ) && pAttr->IsIn(nPos) ) in FindAttrib() 143 return pAttr; in FindAttrib() 158 return pAttr; in FindNextAttrib() 168 if ( pAttr->Which() == nWhich ) in HasAttrib() 185 if ( ( pAttr->GetStart() == nBound ) || ( pAttr->GetEnd() == nBound ) ) in HasBoundingAttrib() 203 …if ( ( pAttr->GetStart() == nPos ) && ( pAttr->GetEnd() == nPos ) && ( pAttr->Which() == nWhich ) ) in FindEmptyAttrib() 204 return pAttr; in FindEmptyAttrib() 214 if ( pAttr->IsEmpty() ) in DeleteEmptyAttribs() 217 delete pAttr; in DeleteEmptyAttribs() [all …]
|
/trunk/main/slideshow/source/engine/shapes/ |
H A D | viewshape.cxx | 355 pAttr ) ); in renderSprite() 363 pAttr ) ); in renderSprite() 458 mpSprite->setAlpha( (pAttr && pAttr->isAlphaValid()) ? in renderSprite() 466 if( pAttr && pAttr->isClipValid() ) in renderSprite() 518 pAttr, in renderSprite() 577 if( pAttr ) in render() 580 if( pAttr->isClipValid() ) in render() 587 if( pAttr->isAlphaValid() ) in render() 687 pAttr, in render() 727 pAttr ) ); in render() [all …]
|
/trunk/main/sw/source/core/unocore/ |
H A D | unoportenum.cxx | 764 SwTxtAttr * const pAttr = pHints->GetEnd(nEndIndex); in lcl_ExportHints() local 767 const sal_uInt16 nWhich( pAttr->Which() ); in lcl_ExportHints() 786 if( *pAttr->GetEnd() == *pAttr->GetStart()) in lcl_ExportHints() 797 ASSERT(*pAttr->GetStart() != *pAttr->GetEnd(), in lcl_ExportHints() 800 (*pAttr->GetStart() < i_nStartPos)) in lcl_ExportHints() 814 if (Top.second != pAttr) in lcl_ExportHints() 825 *pAttr, pCurrentPortions)); in lcl_ExportHints() 843 sal_uInt16 nAttrWhich = pAttr->Which(); in lcl_ExportHints() 941 bool bIsPoint = !(pAttr->GetEnd()); in lcl_ExportHints() 969 if(pAttr->GetEnd() && (*pAttr->GetEnd() != *pAttr->GetStart())) in lcl_ExportHints() [all …]
|
/trunk/main/idl/source/objects/ |
H A D | object.cxx | 658 if( !pAttr->GetHidden() ) in Write() 660 if( pAttr->IsMethod() ) in Write() 663 if( pAttr->IsVariable() ) in Write() 688 SvMetaSlot *pAttr = pEle->xSlot; in WriteSlotParamArray() local 710 SvMetaSlot * pAttr = pEle->xSlot; in WriteSlots() local 753 pAttr->Insert(rList, rPrefix, rBase); in InsertSlots() 827 SvMetaSlot *pAttr = pEle->xSlot; in WriteSlotStubs() local 932 SvMetaSlot* pAttr = pEle->xSlot; in WriteSfx() local 933 pAttr->ResetSlotPointer(); in WriteSfx() 946 pAttr->WriteHelpId( rBase, rOutStm, pTable ); in WriteHelpIds() [all …]
|
H A D | types.cxx | 1583 while( pAttr ) in WriteContext() 1590 pAttr = pAttrList->Next(); in WriteContext() 1859 while( pAttr ) in WriteContextSvIdl() 1867 pAttr = pAttrList->Next(); in WriteContextSvIdl() 2003 while( pAttr ) in WriteMethodArgs() 2007 pAttr = pAttrList->Next(); in WriteMethodArgs() 2008 if( pAttr ) in WriteMethodArgs() 2025 while( pAttr ) in WriteMethodArgs() 2029 if( pAttr ) in WriteMethodArgs() 2053 while( pAttr ) in WriteMethodArgs() [all …]
|
/trunk/main/svtools/source/graphic/ |
H A D | grfmgr.cxx | 324 const sal_uInt16 nRot10 = pAttr->GetRotation() % 3600; in ImplGetCropParams() 360 nTotalWidth = aSize100.Width() - pAttr->GetLeftCrop() - pAttr->GetRightCrop(); in ImplGetCropParams() 361 nTotalHeight = aSize100.Height() - pAttr->GetTopCrop() - pAttr->GetBottomCrop(); in ImplGetCropParams() 366 …nNewLeft = -FRound( ( ( pAttr->GetMirrorFlags() & BMP_MIRROR_HORZ ) ? pAttr->GetRightCrop() : pAtt… in ImplGetCropParams() 374 …nNewTop = -FRound( ( ( pAttr->GetMirrorFlags() & BMP_MIRROR_VERT ) ? pAttr->GetBottomCrop() : pAtt… in ImplGetCropParams() 638 if ( pAttr->IsCropped() ) in IsCached() 644 bRet = mpMgr->IsInCache( pOut, aPt, aSz, *this, ( pAttr ? *pAttr : GetAttr() ) ); in IsCached() 677 const GraphicAttr* pAttr, sal_uLong nFlags ) in Draw() argument 679 GraphicAttr aAttr( pAttr ? *pAttr : GetAttr() ); in Draw() 851 const GraphicAttr aAttr( pAttr ? *pAttr : GetAttr() ); in StartAnimation() [all …]
|
/trunk/main/sw/source/core/layout/ |
H A D | colfrm.cxx | 327 void SwLayoutFrm::AdjustColumns( const SwFmtCol *pAttr, sal_Bool bAdjustAttributes ) in AdjustColumns() argument 342 if ( !pAttr ) in AdjustColumns() 344 pAttr = &GetFmt()->GetCol(); in AdjustColumns() 361 const sal_Bool bLine = pAttr->GetLineAdj() != COLADJ_NONE; in AdjustColumns() 362 const sal_uInt16 nMin = bLine ? sal_uInt16( 20 + ( pAttr->GetLineWidth() / 2) ) : 0; in AdjustColumns() 370 const sal_Bool bOrtho = pAttr->IsOrtho() && pAttr->GetNumCols() > 0; in AdjustColumns() 378 const SwTwips nWidth = i == (pAttr->GetNumCols() - 1) ? in AdjustColumns() 400 const SwColumn *pC = pAttr->GetColumns()[i]; in AdjustColumns() 420 else if ( i == pAttr->GetNumCols() - 1 ) in AdjustColumns() 449 long nInnerWidth = ( nAvail - nGutter ) / pAttr->GetNumCols(); in AdjustColumns() [all …]
|
H A D | ftnfrm.cxx | 90 SwTxtFtnPtr pBla = (SwTxtFtn*)pAttr; in lcl_FindFtnPos() 93 if( pAttr->GetFtn().IsEndNote() ) in lcl_FindFtnPos() 516 pAttr( pAt ), in SwFtnFrm() 1645 if ( FindFtn( pRef, pAttr ) ) in AppendFtn() 1758 if ( !pAttr->GetStartNode() ) in AppendFtn() 1777 if( pTmp && *pTmp < pAttr ) in AppendFtn() 2409 SwTxtFtn *pAttr ) in MoveFtns() argument 2413 || pAttr->GetFtn().IsEndNote() ) in MoveFtns() 2454 const SwTxtFtn *pAttr ) in RearrangeFtns() argument 2484 const sal_uLong nFtnPos = pAttr ? ::lcl_FindFtnPos( pDoc, pAttr ) : 0; in RearrangeFtns() [all …]
|
/trunk/main/sc/source/filter/inc/ |
H A D | tool.h | 56 SfxUInt32Item* pAttr; // zugehoeriges Attribut member in FormIdent 61 pAttr = NULL; in FormIdent() 67 pAttr = &rAttr; in FormIdent() 73 pAttr = NULL; in FormIdent() 93 return pAttr; in GetAttr() 137 SfxUInt32Item* pAttr; in GetAttr() local 148 pAttr = NewAttr( nFormat, nSt ); in GetAttr() 149 DBG_ASSERT( pAttr, "FormCache::GetAttr(): Nix Speicherus" ); in GetAttr() 151 aIdents[ nIndex ] = FormIdent( nFormat, nSt, *pAttr ); in GetAttr() 154 pRet = pAttr; in GetAttr()
|
/trunk/main/sc/source/filter/rtf/ |
H A D | rtfexp.cxx | 158 const ScPatternAttr* pAttr = pDoc->GetPattern( nCol, nRow, nTab ); in WriteRow() local 159 const ScMergeAttr& rMergeAttr = (const ScMergeAttr&) pAttr->GetItem( ATTR_MERGE ); in WriteRow() 160 …const SvxVerJustifyItem& rVerJustifyItem= (const SvxVerJustifyItem&)pAttr->GetItem( ATTR_VER_JUSTI… in WriteRow() 168 …const ScMergeFlagAttr& rMergeFlagAttr = (const ScMergeFlagAttr&) pAttr->GetItem( ATTR_MERGE_FLAG ); in WriteRow() 206 const ScPatternAttr* pAttr = pDoc->GetPattern( nCol, nRow, nTab ); in WriteCell() local 208 const ScMergeFlagAttr& rMergeFlagAttr = (const ScMergeFlagAttr&) pAttr->GetItem( ATTR_MERGE_FLAG ); in WriteCell() 242 sal_uLong nFormat = pAttr->GetNumberFormat( pFormatter ); in WriteCell() 254 …const SvxHorJustifyItem& rHorJustifyItem = (const SvxHorJustifyItem&)pAttr->GetItem( ATTR_HOR_JUST… in WriteCell() 255 const SvxWeightItem& rWeightItem = (const SvxWeightItem&) pAttr->GetItem( ATTR_FONT_WEIGHT ); in WriteCell() 256 …const SvxPostureItem& rPostureItem = (const SvxPostureItem&) pAttr->GetItem( ATTR_FONT_POSTURE … in WriteCell() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | docruby.cxx | 220 const SwTxtAttr* pAttr = 0; in _SelectNextRubyChars() local 230 pAttr = pHt; in _SelectNextRubyChars() 231 if( !bHasMark && nStart > *pAttr->GetStart() ) in _SelectNextRubyChars() 233 nStart = *pAttr->GetStart(); in _SelectNextRubyChars() 241 if( !bHasMark && nStart && ( !pAttr || nStart != *pAttr->GetStart()) ) in _SelectNextRubyChars() 261 if( pAttr && nStart == *pAttr->GetStart() ) in _SelectNextRubyChars() 267 pPos->nContent = *pAttr->GetAnyEnd(); in _SelectNextRubyChars() 270 rEntry.SetRubyAttr( pAttr->GetRuby() ); in _SelectNextRubyChars()
|
/trunk/main/sw/source/filter/ww1/ |
H A D | fltshell.cxx | 98 pAttr = pHt; // speicher eine Kopie vom Attribut in SwFltStackEntry() 109 pAttr = rEntry.pAttr->Clone(); in SwFltStackEntry() 125 if (pAttr) in ~SwFltStackEntry() 126 delete pAttr; in ~SwFltStackEntry() 151 && ( RES_TXTATR_FIELD != pAttr->Which() in IsAbleMakeRegion() 261 sal_uInt16 nWhich = pTmp->pAttr->Which(); in NewAttr() 363 }else if( nAttrId == pEntry->pAttr->Which()){ in SetAttr() 491 switch(pEntry->pAttr->Which()) in SetAttrInDoc() 711 pEntry->pAttr->Which() == nWhich) in GetFmtStackAttr() 732 && (pEntry->pAttr->Which() == nWhich) in GetOpenStackAttr() [all …]
|
/trunk/main/xmlsecurity/source/xmlsec/ |
H A D | xmldocumentwrapper_xmlsecimpl.cxx | 261 xmlAttrPtr pAttr = pNode->properties; in sendStartElement() local 263 while (pAttr != NULL) in sendStartElement() 265 const xmlChar* pAttrName = pAttr->name; in sendStartElement() 266 xmlNsPtr pAttrNs = pAttr->ns; in sendStartElement() 282 rtl::OUString(RTL_UTF8_USTRINGPARAM( (sal_Char*)(pAttr->children->content)))); in sendStartElement() 283 pAttr = pAttr->next; in sendStartElement() 673 xmlAttrPtr pAttr = pNode->properties; in removeNode() local 675 while (pAttr != NULL) in removeNode() 677 if (!stricmp((sal_Char*)pAttr->name,"id")) in removeNode() 679 xmlRemoveID(m_pDocument, pAttr); in removeNode() [all …]
|
/trunk/main/editeng/source/items/ |
H A D | frmitems.cxx | 391 return pAttr; in Create() 753 pAttr->nLeftMargin = left; in Create() 755 pAttr->nRightMargin = right; in Create() 759 pAttr->nTxtLeft = txtleft; in Create() 770 return pAttr; in Create() 1017 pAttr->SetPropUpper( nPU ); in Create() 1018 pAttr->SetPropLower( nPL ); in Create() 1019 return pAttr; in Create() 1285 return pAttr; in Create() 2387 return pAttr; in Create() [all …]
|
/trunk/main/sd/source/ui/dlg/ |
H A D | sddlgfact.cxx | 408 …Factory_Impl::CreateSdTabCharDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* p… in CreateSdTabCharDialog() argument 410 return new AbstractTabDialog_Impl( new SdCharDlg( pParent, pAttr, pDocShell ) ); in CreateSdTabCharDialog() 414 …Factory_Impl::CreateSdTabPageDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* p… in CreateSdTabPageDialog() argument 416 return new AbstractTabDialog_Impl( new SdPageDlg( pDocShell, pParent, pAttr, bAreaPage ) ); in CreateSdTabPageDialog() 470 …y_Impl::CreateSdOutlineBulletTabDlg( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView… in CreateSdOutlineBulletTabDlg() argument 472 return new AbstractBulletDialog_Impl( new ::sd::OutlineBulletDlg( pParent, pAttr, pView ) ); in CreateSdOutlineBulletTabDlg() 475 …SdAbstractDialogFactory_Impl::CreateSdParagraphTabDlg( ::Window* pParent, const SfxItemSet* pAttr ) in CreateSdParagraphTabDlg() argument 477 return new AbstractTabDialog_Impl( new SdParagraphDlg( pParent, pAttr ) ); in CreateSdParagraphTabDlg() 508 …ogFactory_Impl::CreatSdActionDialog( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView… in CreatSdActionDialog() argument 510 return new AbstractSfxDialog_Impl( new SdActionDlg( pParent, pAttr, pView ) ); in CreatSdActionDialog()
|