Home
last modified time | relevance | path

Searched refs:pFnt (Results 1 – 25 of 29) sorted by relevance

12

/trunk/main/sw/source/core/text/
H A Dinftxt.cxx879 if ( ! pFnt ) in lcl_DrawSpecial()
882 pFnt->SetFamily( FAMILY_DONTKNOW, pFnt->GetActual() ); in lcl_DrawSpecial()
884 pFnt->SetStyleName( aEmptyStr, pFnt->GetActual() ); in lcl_DrawSpecial()
900 pFnt->SetSize( aFontSize, pFnt->GetActual() ); in lcl_DrawSpecial()
1866 if( pFnt ) in SwFontSave()
1873 if( pFnt->DifferentMagic( pNew, pFnt->GetActual() ) || in SwFontSave()
1885 pFnt = 0; in SwFontSave()
1904 if( pFnt ) in ~SwFontSave()
1955 pFnt = 0; in SwDefFontSave()
1966 if( pFnt ) in ~SwDefFontSave()
[all …]
H A Ditratr.cxx103 delete pFnt; in ~SwAttrIter()
136 pFnt->SetFntChg( sal_True ); in SeekAndChgAttrIter()
144 pFnt->SetMagic( aMagicNo[ pFnt->GetActual() ], in SeekAndChgAttrIter()
145 aFntIdx[ pFnt->GetActual() ], pFnt->GetActual() ); in SeekAndChgAttrIter()
155 pFnt->SetMagic( aMagicNo[ pFnt->GetActual() ], in IsSymbol()
156 aFntIdx[ pFnt->GetActual() ], pFnt->GetActual() ); in IsSymbol()
178 pRedln->Clear( pFnt ); in SeekStartAndChgAttrIter()
203 pFnt->SetFntChg( sal_True ); in SeekStartAndChgAttrIter()
211 pFnt->SetMagic( aMagicNo[ pFnt->GetActual() ], in SeekStartAndChgAttrIter()
212 aFntIdx[ pFnt->GetActual() ], pFnt->GetActual() ); in SeekStartAndChgAttrIter()
[all …]
H A Dredlnitr.cxx72 delete pFnt; in CtorInitAttrIter()
83 pFnt->SetVertical( pFnt->GetOrientation(), sal_True ); in CtorInitAttrIter()
125 pFnt->ChkMagic( pShell, nTmp ); in CtorInitAttrIter()
344 if( pFnt ) in _Clear()
350 if( pFnt ) in _Clear()
351 pFnt->SetNoCol( sal_False ); in _Clear()
449 pFnt = new SwFont( rFnt ); in Enter()
466 rFnt = *pFnt; in _Leave()
472 rFnt = *pFnt; in _Leave()
473 delete pFnt; in _Leave()
[all …]
H A Dfrmpaint.cxx90 SwFont* pFnt; member in SwExtraPainter
103 ~SwExtraPainter() { delete pFnt; } in ~SwExtraPainter()
104 inline SwFont* GetFont() const { return pFnt; } in GetFont()
143 pFnt->Invalidate(); in SwExtraPainter()
218 aDrawInf.SetFont( pFnt ); in PaintExtra()
222 sal_Bool bTooBig = pFnt->GetSize( pFnt->GetActual() ).Height() > nMax && in PaintExtra()
489 SwFont *pFnt; in PaintEmpty() local
530 pFnt->Invalidate(); in PaintEmpty()
577 aDrawInf.SetFont( pFnt ); in PaintEmpty()
580 pFnt->_DrawText( aDrawInf ); in PaintEmpty()
[all …]
H A Dredlnitr.hxx45 SwFont *pFnt; member in SwExtend
54 SwExtend( const SvUShorts &rA, xub_StrLen nSt ) : pFnt(0), rArr( rA ), in SwExtend()
56 ~SwExtend() { delete pFnt; } in ~SwExtend()
57 sal_Bool IsOn() const { return pFnt != 0; } in IsOn()
58 void Reset() { if( pFnt ) { delete pFnt; pFnt = NULL; } nPos = STRING_LEN; } in Reset()
60 { if( pFnt ) return _Leave( rFnt, nNew ); return sal_False; } in Leave()
63 SwFont* GetFont() { return pFnt; } in GetFont()
83 void _Clear( SwFont* pFnt );
98 inline void Clear( SwFont* pFnt ) { if( bOn ) _Clear( pFnt ); } in Clear() argument
99 void ChangeTxtAttr( SwFont* pFnt, SwTxtAttr &rHt, sal_Bool bChg );
H A Dporfld.cxx66 if( 0 != ( pNewFnt = pFnt ) ) in Clone()
109 pFnt = 0; in SwFldPortion()
116 delete pFnt; in ~SwFldPortion()
208 sal_uInt8 nActual = pFnt ? pFnt->GetActual() : rInf.GetFont()->GetActual(); in CheckScript()
290 if( !pFnt ) in CheckScript()
326 if( pFnt ) in Format()
327 pFnt->GoMagic( rInf.GetVsh(), pFnt->GetActual() ); in Format()
495 if( 0 != ( pNewFnt = pFnt ) ) in Clone()
556 if( 0 != ( pNewFnt = pFnt ) ) in Clone()
713 if( bPaintSpace && pFnt ) in Paint()
[all …]
H A Dtxtftn.cxx1324 SwFont *pFnt; member in SwFtnSave
1343 , pFnt( 0 ) in SwFtnSave()
1349 pOld = new SwFont( *pFnt ); in SwFtnSave()
1350 pOld->GetTox() = pFnt->GetTox(); in SwFtnSave()
1351 pFnt->GetTox() = 0; in SwFtnSave()
1379 Size aSize = pFnt->GetSize( pFnt->GetActual() ); in SwFtnSave()
1399 pFnt = NULL; in SwFtnSave()
1408 if( pFnt ) in ~SwFtnSave()
1411 *pFnt = *pOld; in ~SwFtnSave()
1412 pFnt->GetTox() = pOld->GetTox(); in ~SwFtnSave()
[all …]
H A Dporrst.cxx230 SwFont *pFnt; in EmptyHeight() local
237 pFnt = new SwFont( pAttrSet, pIDSA ); in EmptyHeight()
242 pFnt = new SwFont( *aFontAccess.Get()->GetFont() ); in EmptyHeight()
243 pFnt->ChkMagic( pSh, pFnt->GetActual() ); in EmptyHeight()
247 pFnt->SetVertical( 2700 ); in EmptyHeight()
265 SwRedlineItr aRedln( rTxtNode, *pFnt, aAttrHandler, in EmptyHeight()
277 pFnt->SetFntChg( sal_True ); in EmptyHeight()
278 pFnt->ChgPhysFnt( pSh, *pOut ); in EmptyHeight()
279 nRet = pFnt->GetHeight( pSh, *pOut ); in EmptyHeight()
281 delete pFnt; in EmptyHeight()
H A Dtxtpaint.hxx87 Font *pFnt; member in DbgColor
131 :pFnt( bOn ? pFont : 0 ) in DbgColor()
133 if( pFnt ) in DbgColor()
135 aColor = pFnt->GetColor(); in DbgColor()
136 pFnt->SetColor( Color( eColor ) ); in DbgColor()
142 if( pFnt ) in ~DbgColor()
143 pFnt->SetColor( aColor ); in ~DbgColor()
H A Dporfld.hxx44 SwFont *pFnt; // Fuer mehrzeilige Felder member in SwFldPortion
59 inline void SetFont( SwFont *pNew ) { pFnt = pNew; } in SetFont()
65 SwFldPortion( const XubString &rExpand, SwFont *pFnt = 0, sal_Bool bPlaceHolder = sal_False );
71 inline sal_Bool HasFont() const { return 0 != pFnt; } in HasFont()
73 inline const SwFont *GetFont() const { return pFnt; } in GetFont()
154 SwFont *pFnt,
180 SwFont *pFnt,
H A Ditratr.hxx56 SwFont *pFnt; member in SwAttrIter
68 inline void SetFnt( SwFont* pNew ) { pFnt = pNew; } in SetFnt()
78 : pShell(0), pFnt(0), pLastOut(0), nChgCnt(0), pRedln(0), nPropFont(0), m_pTxtNode(pTxtNode) {} in SwAttrIter()
83 …: pShell(0), pFnt(0), pHints(0), pScriptInfo(0), pLastOut(0), nChgCnt(0), pRedln(0),nPropFont(0), … in SwAttrIter()
114 inline SwFont *GetFnt() { return pFnt; } in GetFnt()
115 inline const SwFont *GetFnt() const { return pFnt; } in GetFnt()
H A Datrhndl.hxx100 SwFont* pFnt; member in SwAttrHandler
165 ASSERT( pFnt, "ResetFont without a font" ); in ResetFont()
166 if ( pFnt ) in ResetFont()
167 rFnt = *pFnt; in ResetFont()
172 return pFnt; in GetFont()
H A Dinftxt.hxx195 SwFont *pFnt; member in SwTxtSizeInfo
222 void CtorInitTxtSizeInfo( SwTxtFrm *pFrm, SwFont *pFnt = 0,
282 inline SwFont *GetFont() { return pFnt; } in GetFont()
283 inline const SwFont *GetFont() const { return pFnt; } in GetFont()
284 inline void SetFont( SwFont *pNew ) { pFnt = pNew; } in SetFont()
333 { return RTL_TEXTENCODING_SYMBOL != pFnt->GetCharSet( pFnt->GetActual() ); } in IsNoSymbol()
782 SwFont *pFnt; member in SwFontSave
785 SwFontSave( const SwTxtSizeInfo &rInf, SwFont *pFnt,
797 SwFont *pFnt; member in SwDefFontSave
H A Ditrpaint.cxx347 GetRedln()->Seek( *pFnt, nOffset, 0 ); in DrawTextLine()
514 if ( IsUnderlineBreak( *pPor, *pFnt ) ) in CheckSpecialUnderline()
561 bUnderSelect = pFnt->GetUnderline() == pItem->GetLineStyle(); in CheckSpecialUnderline()
635 if ( aIter.GetFnt()->GetEscapement() < 0 || pFnt->IsWordLineMode() || in CheckSpecialUnderline()
636 SVX_CASEMAP_KAPITAELCHEN == pFnt->GetCaseMap() ) in CheckSpecialUnderline()
695 if( ! pUnderlineFnt && pFnt->GetEscapement() > 0 && GetRedln() && in CheckSpecialUnderline()
697 pUnderlineFnt = new SwFont( *pFnt ); in CheckSpecialUnderline()
H A Datrstck.cxx393 SwAttrHandler::SwAttrHandler() : mpShell( 0 ), pFnt( 0 ), bVertLayout( sal_False ) in SwAttrHandler()
401 delete pFnt; in ~SwAttrHandler()
457 delete pFnt; in Init()
458 pFnt = new SwFont( rFnt ); in Init()
954 ASSERT( pFnt, "No font available for GetDefaultAscentAndHeight" ) in GetDefaultAscentAndHeight()
956 if ( pFnt ) in GetDefaultAscentAndHeight()
958 SwFont aFont( *pFnt ); in GetDefaultAscentAndHeight()
H A Dfrmcrsr.cxx1429 SwFont *pFnt; in FillCrsrPos() local
1445 pFnt = new SwFont( pSet, GetNode()->getIDocumentSettingAccess() ); in FillCrsrPos()
1450 pFnt = new SwFont( *aFontAccess.Get()->GetFont() ); in FillCrsrPos()
1451 pFnt->ChkMagic( pSh, pFnt->GetActual() ); in FillCrsrPos()
1457 pFnt->SetFntChg( sal_True ); in FillCrsrPos()
1458 pFnt->ChgPhysFnt( pSh, *pOut ); in FillCrsrPos()
1460 SwTwips nLineHeight = pFnt->GetHeight( pSh, *pOut ); in FillCrsrPos()
1544 nSpace = pFnt->_GetTxtSize( aDrawInf ).Width()/2; in FillCrsrPos()
1742 delete pFnt; in FillCrsrPos()
H A Dpordrop.hxx46 SwFont* pFnt; member in SwDropPortionPart
52 : pFollow( 0 ), pFnt( &rFont ), nLen( nL ), nWidth( 0 ) {}; in SwDropPortionPart()
57 inline SwFont& GetFont() const { return *pFnt; } in GetFont()
H A Ditrform2.cxx565 if ( UNDERLINE_NONE != pFnt->GetUnderline() && ! nUnderLineStart ) in BuildPortions()
584 UNDERLINE_NONE == pFnt->GetUnderline() in BuildPortions()
589 UNDERLINE_NONE != pFnt->GetUnderline() ) ) ) in BuildPortions()
601 || ( bHasGrid && SW_CJK != pFnt->GetActual() ) in BuildPortions()
610 if ( IsUnderlineBreak( *pPor, *pFnt ) ) in BuildPortions()
656 … const sal_uInt8 nCurrScript = pFnt->GetActual(); // pScriptInfo->ScriptType( rInf.GetIdx() ); in BuildPortions()
765 SwFont* pFldFnt = ((SwFldPortion*)pPor)->pFnt; in CalcAscent()
H A Dtxthyph.cxx61 if( rTxt.Len() < 4 || pFnt->IsSymbol(pVsh) ) in HyphWord()
69 pBreakIt->GetLocale( pFnt->GetLanguage() ), in HyphWord()
/trunk/main/sw/source/ui/config/
H A Duinums.cxx558 const Font* pFnt = aFmt.GetBulletFont(); in Store() local
559 if( pFnt ) in Store()
561 aName = pFnt->GetName(); in Store()
562 nFamily = (sal_uInt16)pFnt->GetFamily(); in Store()
563 nCharSet = (sal_uInt16)pFnt->GetCharSet(); in Store()
564 nWidth = (short)pFnt->GetSize().Width(); in Store()
565 nHeight = (short)pFnt->GetSize().Height(); in Store()
566 nPitch = (sal_uInt16)pFnt->GetPitch(); in Store()
/trunk/main/sw/source/filter/rtf/
H A Drtfnum.cxx828 const Font* pFnt = rFntTbl.First(); in FindFontOfItem() local
829 while( pFnt ) in FindFontOfItem()
831 if( pFnt->GetFamily() == rItem.GetFamily() && in FindFontOfItem()
832 pFnt->GetName() == rItem.GetFamilyName() && in FindFontOfItem()
833 pFnt->GetStyleName() == rItem.GetStyleName() && in FindFontOfItem()
834 pFnt->GetPitch() == rItem.GetPitch() && in FindFontOfItem()
835 pFnt->GetCharSet() == rItem.GetCharSet() ) in FindFontOfItem()
836 return pFnt; in FindFontOfItem()
838 pFnt = rFntTbl.Next(); in FindFontOfItem()
/trunk/main/sw/source/core/inc/
H A Ddrawfont.hxx59 SwFont *pFnt; member in SwDrawTextInfo
144 pFnt = 0; in SwDrawTextInfo()
238 return pFnt; in GetFont()
428 pFnt = pNew; in SetFont()
587 sal_Bool ApplyAutoColor( Font* pFnt = 0 );
H A Dswfont.hxx184 inline void CopyMagic( const SwFont* pFnt, sal_uInt8 nWhich ) in CopyMagic() argument
185 { aSub[nWhich].CopyMagic( pFnt->aSub[nWhich] ); } in CopyMagic()
190 inline sal_Bool DifferentMagic( const SwFont* pFnt, sal_uInt8 nWhich ) in DifferentMagic() argument
191 { return aSub[nWhich].pMagic != pFnt->aSub[nWhich].pMagic || in DifferentMagic()
192 !aSub[nWhich].pMagic || !pFnt->aSub[nWhich].pMagic; } in DifferentMagic()
828 SwFont* pFnt; member in SwUnderlineFont
838 ASSERT( pFnt, "No underline font" ) in GetFont()
839 return *pFnt; in GetFont()
/trunk/main/sw/source/ui/wrtsh/
H A Dwrtsh1.cxx1282 const Font* pFnt = &numfunc::GetDefBulletFont(); in NumOrBulletOn() local
1283 aFmt.SetBulletFont( pFnt ); in NumOrBulletOn()
1317 const Font* pFnt = numfunc::IsDefBulletFontUserDefined() in NumOrBulletOn() local
1348 if ( pFnt ) in NumOrBulletOn()
1350 aFmt.SetBulletFont( pFnt ); in NumOrBulletOn()
/trunk/main/editeng/source/items/
H A Dsvxfont.cxx759 SvxDoDrawCapital( SvxFont *pFnt, OutputDevice *_pOut, const XubString &_rTxt, in SvxDoDrawCapital() argument
763 pFont( pFnt ), in SvxDoDrawCapital()

Completed in 129 milliseconds

12