Lines Matching refs:pC
813 ContentInfo* pC = new ContentInfo( *pPool ); in CreateAndInsertContent() local
814 aContents.Insert( pC, aContents.Count() ); in CreateAndInsertContent()
815 return pC; in CreateAndInsertContent()
828 ContentInfo* pC = aContents[ nPara ]; in GetText() local
829 return pC->GetText(); in GetText()
846 ContentInfo* pC = rBinObj.GetContents()[ nP ]; in Insert() local
847 ContentInfo* pNew = new ContentInfo( *pC, *GetPool() ); in Insert()
870 ContentInfo* pC = aContents[ nP ]; in CreateTextObject() local
871 ContentInfo* pNew = new ContentInfo( *pC, *pObj->GetPool() ); in CreateTextObject()
882 ContentInfo* pC = aContents[ nPara ]; in RemoveParagraph() local
884 delete pC; in RemoveParagraph()
923 ContentInfo* pC = GetContents().GetObject( --nPara ); in HasCharAttribs() local
925 sal_uInt16 nAttribs = pC->GetAttribs().Count(); in HasCharAttribs()
931 XEditAttribute* pX = pC->GetAttribs().GetObject( --nAttr ); in HasCharAttribs()
942 ContentInfo* pC = GetContents().GetObject( nPara ); in GetCharAttribs() local
943 if ( pC ) in GetCharAttribs()
945 for ( sal_uInt16 nAttr = 0; nAttr < pC->GetAttribs().Count(); nAttr++ ) in GetCharAttribs()
947 XEditAttribute* pAttr = pC->GetAttribs().GetObject( nAttr ); in GetCharAttribs()
964 ContentInfo* pC = GetContents().GetObject( --nPara ); in MergeParaAttribs() local
968 if ( ( pC->GetParaAttribs().GetItemState( nW, sal_False ) != SFX_ITEM_ON ) in MergeParaAttribs()
971 pC->GetParaAttribs().Put( rAttribs.Get( nW ) ); in MergeParaAttribs()
990 ContentInfo* pC = GetContents()[0]; in GetField() local
991 if ( pC->GetText().Len() == 1 ) in GetField()
993 sal_uInt16 nAttribs = pC->GetAttribs().Count(); in GetField()
996 XEditAttribute* pX = pC->GetAttribs().GetObject( --nAttr ); in GetField()
1010 ContentInfo* pC = GetContents().GetObject( nPara ); in HasField() local
1011 sal_uInt16 nAttrs = pC->GetAttribs().Count(); in HasField()
1014 XEditAttribute* pAttr = pC->GetAttribs()[nAttr]; in HasField()
1031 ContentInfo* pC = GetContents().GetObject( nPara ); in GetParaAttribs() local
1032 return pC->GetParaAttribs(); in GetParaAttribs()
1037 ContentInfo* pC = GetContents().GetObject( nPara ); in SetParaAttribs() local
1038 pC->GetParaAttribs().Set( rAttribs ); in SetParaAttribs()
1048 ContentInfo* pC = GetContents().GetObject( --nPara ); in RemoveCharAttribs() local
1050 for ( sal_uInt16 nAttr = pC->GetAttribs().Count(); nAttr; ) in RemoveCharAttribs()
1052 XEditAttribute* pAttr = pC->GetAttribs().GetObject( --nAttr ); in RemoveCharAttribs()
1055 pC->GetAttribs().Remove( nAttr ); in RemoveCharAttribs()
1074 ContentInfo* pC = GetContents().GetObject( --nPara ); in RemoveParaAttribs() local
1078 if( pC->GetParaAttribs().Count() ) in RemoveParaAttribs()
1080 pC->GetParaAttribs().ClearItem(); in RemoveParaAttribs()
1084 if ( pC->GetParaAttribs().GetItemState( _nWhich ) == SFX_ITEM_ON ) in RemoveParaAttribs()
1086 pC->GetParaAttribs().ClearItem( _nWhich ); in RemoveParaAttribs()
1103 ContentInfo* pC = GetContents().GetObject( nPara ); in HasStyleSheet() local
1104 if ( ( pC->GetFamily() == eFamily ) && ( pC->GetStyle() == rName ) ) in HasStyleSheet()
1114 ContentInfo* pC = aContents[ nPara ]; in GetStyleSheet() local
1115 rName = pC->GetStyle(); in GetStyleSheet()
1116 rFamily = pC->GetFamily(); in GetStyleSheet()
1124 ContentInfo* pC = aContents[ nPara ]; in SetStyleSheet() local
1125 pC->GetStyle() = rName; in SetStyleSheet()
1126 pC->GetFamily() = rFamily; in SetStyleSheet()
1139 ContentInfo* pC = GetContents().GetObject( nPara ); in ImpChangeStyleSheets() local
1140 if ( pC->GetFamily() == eOldFamily ) in ImpChangeStyleSheets()
1142 if ( pC->GetStyle() == rOldName ) in ImpChangeStyleSheets()
1144 pC->GetStyle() = rNewName; in ImpChangeStyleSheets()
1145 pC->GetFamily() = eNewFamily; in ImpChangeStyleSheets()
1198 ContentInfo* pC = GetContents().GetObject( nPara ); in StoreData() local
1201 ByteString aText( pC->GetText(), eEncoding ); in StoreData()
1205 if ( pC->GetParaAttribs().GetItemState( EE_CHAR_FONTINFO ) == SFX_ITEM_ON ) in StoreData()
1207 … const SvxFontItem& rFontItem = (const SvxFontItem&)pC->GetParaAttribs().Get( EE_CHAR_FONTINFO ); in StoreData()
1210 aText = ByteString( pC->GetText(), RTL_TEXTENCODING_SYMBOL ); in StoreData()
1214 for ( sal_uInt16 nA = 0; nA < pC->GetAttribs().Count(); nA++ ) in StoreData()
1216 XEditAttribute* pAttr = pC->GetAttribs().GetObject( nA ); in StoreData()
1225 … String aPart( pC->GetText(), pAttr->GetStart(), pAttr->GetEnd() - pAttr->GetStart() ); in StoreData()
1239 sal_Unicode cOld = pC->GetText().GetChar( nChar ); in StoreData()
1254 if ( pC->GetParaAttribs().GetItemState( EE_CHAR_FONTINFO ) == SFX_ITEM_ON ) in StoreData()
1256 …hConv = CreateFontToSubsFontConverter( ((const SvxFontItem&)pC->GetParaAttribs().Get( EE_CHAR_FONT… in StoreData()
1267 for ( sal_uInt16 nChar = 0; nChar < pC->GetText().Len(); nChar++ ) in StoreData()
1269 if ( !pC->GetAttribs().FindAttrib( EE_CHAR_FONTINFO, nChar ) ) in StoreData()
1271 sal_Unicode cOld = pC->GetText().GetChar( nChar ); in StoreData()
1288 rOStream.WriteByteString( ByteString( pC->GetStyle(), eEncoding ) ); in StoreData()
1289 rOStream << (sal_uInt16)pC->GetFamily(); in StoreData()
1292 pC->GetParaAttribs().Store( rOStream ); in StoreData()
1295 sal_uInt16 nAttribs = pC->GetAttribs().Count(); in StoreData()
1303 XEditAttribute* pX = pC->GetAttribs().GetObject( nAttr ); in StoreData()
1330 ContentInfo* pC = GetContents().GetObject( nPara ); in StoreData() local
1331 sal_uInt16 nL = pC->GetText().Len(); in StoreData()
1333 rOStream.Write( pC->GetText().GetBuffer(), nL*sizeof(sal_Unicode) ); in StoreData()
1338 nL = pC->GetStyle().Len(); in StoreData()
1340 rOStream.Write( pC->GetStyle().GetBuffer(), nL*sizeof(sal_Unicode) ); in StoreData()
1391 ContentInfo* pC = CreateAndInsertContent(); in CreateData() local
1396 pC->GetText() = String( aByteString, eSrcEncoding ); in CreateData()
1399 rIStream.ReadByteString( pC->GetStyle(), eSrcEncoding ); in CreateData()
1402 pC->GetFamily() = (SfxStyleFamily)nStyleFamily; in CreateData()
1405 pC->GetParaAttribs().Load( rIStream ); in CreateData()
1429 …pC->GetText().SetChar( nStart, ByteString::ConvertToUnicode( aByteString.GetChar( nStart ), ((SvxC… in CreateData()
1434 pC->GetAttribs().Insert( pAttr, pC->GetAttribs().Count() ); in CreateData()
1441 pC->GetText().SetChar( nStart, CH_FEATURE ); in CreateData()
1451 if ( pC->GetParaAttribs().GetItemState( EE_CHAR_FONTINFO ) == SFX_ITEM_ON ) in CreateData()
1453 … const SvxFontItem& rFontItem = (const SvxFontItem&)pC->GetParaAttribs().Get( EE_CHAR_FONTINFO ); in CreateData()
1456 pC->GetText() = String( aByteString, RTL_TEXTENCODING_SYMBOL ); in CreateData()
1461 for ( nAttr = pC->GetAttribs().Count(); nAttr; ) in CreateData()
1463 XEditAttribute* pAttr = pC->GetAttribs().GetObject( --nAttr ); in CreateData()
1473 pC->GetText().Erase( pAttr->GetStart(), pAttr->GetEnd()-pAttr->GetStart() ); in CreateData()
1474 pC->GetText().Insert( aNew, pAttr->GetStart() ); in CreateData()
1484 pC->GetAttribs().Remove( nAttr ); in CreateData()
1486 pC->GetAttribs().Insert( pNewAttr, nAttr ); in CreateData()
1491 sal_Unicode cOld = pC->GetText().GetChar( nChar ); in CreateData()
1495 pC->GetText().SetChar( nChar, cConv ); in CreateData()
1506 if ( pC->GetParaAttribs().GetItemState( EE_CHAR_FONTINFO ) == SFX_ITEM_ON ) in CreateData()
1508 … const SvxFontItem& rFontItem = (const SvxFontItem&)pC->GetParaAttribs().Get( EE_CHAR_FONTINFO ); in CreateData()
1514 pC->GetParaAttribs().Put( aNewFontItem ); in CreateData()
1516 for ( sal_uInt16 nChar = 0; nChar < pC->GetText().Len(); nChar++ ) in CreateData()
1518 if ( !pC->GetAttribs().FindAttrib( EE_CHAR_FONTINFO, nChar ) ) in CreateData()
1520 sal_Unicode cOld = pC->GetText().GetChar( nChar ); in CreateData()
1524 pC->GetText().SetChar( nChar, cConv ); in CreateData()
1569 ContentInfo* pC = GetContents().GetObject( nPara ); in CreateData() local
1576 pC->GetText().AllocBuffer( nL ); in CreateData()
1577 rIStream.Read( pC->GetText().GetBufferAccess(), nL*sizeof(sal_Unicode) ); in CreateData()
1578 pC->GetText().ReleaseBufferAccess( (sal_uInt16)nL ); in CreateData()
1585 pC->GetStyle().AllocBuffer( nL ); in CreateData()
1586 rIStream.Read( pC->GetStyle().GetBufferAccess(), nL*sizeof(sal_Unicode) ); in CreateData()
1587 pC->GetStyle().ReleaseBufferAccess( (sal_uInt16)nL ); in CreateData()
1600 ContentInfo* pC = aContents.GetObject( n ); in CreateData() local
1601 …const SvxLRSpaceItem& rLRSpace = (const SvxLRSpaceItem&) pC->GetParaAttribs().Get( EE_PARA_LRSPACE… in CreateData()
1602 …if ( rLRSpace.GetTxtLeft() && ( pC->GetParaAttribs().GetItemState( EE_PARA_TABS ) == SFX_ITEM_ON )… in CreateData()
1604 const SvxTabStopItem& rTabs = (const SvxTabStopItem&) pC->GetParaAttribs().Get( EE_PARA_TABS ); in CreateData()
1612 pC->GetParaAttribs().Put( aNewTabs ); in CreateData()
1685 ContentInfo* pC = CreateAndInsertContent(); in CreateData300() local
1688 rIStream.ReadByteString( pC->GetText() ); in CreateData300()
1691 rIStream.ReadByteString( pC->GetStyle() ); in CreateData300()
1694 pC->GetFamily() = (SfxStyleFamily)nStyleFamily; in CreateData300()
1697 pC->GetParaAttribs().Load( rIStream ); in CreateData300()
1719 pC->GetAttribs().Insert( pAttr, pC->GetAttribs().Count() ); in CreateData300()