/aoo41x/main/sw/source/core/text/ |
H A D | txtfld.cxx | 104 pFld->SetLanguage( GetFnt()->GetLanguage() ); in NewFldPortion() 106 if (pFld->GetTyp()->Which()==RES_POSTITFLD) in NewFldPortion() 115 switch( pFld->GetTyp()->Which() ) in NewFldPortion() 140 ? pFld->GetFieldName() in NewFldPortion() 154 ? pFld->GetFieldName() in NewFldPortion() 167 ? pFld->GetFieldName() in NewFldPortion() 187 if(SVX_NUM_PAGEDESC == pFld->GetFormat()) in NewFldPortion() 195 ? pFld->GetFieldName() in NewFldPortion() 222 ? pFld->GetFieldName() in NewFldPortion() 232 SwDBField* pDBFld = (SwDBField*)pFld; in NewFldPortion() [all …]
|
H A D | pormulti.cxx | 651 pFld->SetFollow( sal_True ); in SwRubyPortion() 797 if( pFld ) in CalcRubyOffset() 799 if( pFld->HasFollow() ) in CalcRubyOffset() 1899 SwFldPortion *pFld = in BuildMultiPortion() local 1903 aInf.SetRest( pFld ); in BuildMultiPortion() 1949 aTmp.SetRest( pFld ); in BuildMultiPortion() 2209 SwFldPortion *pFld = NULL; in MakeRestPortion() local 2231 pFld = NULL; in MakeRestPortion() 2261 if( pFld && !pFld->HasFollow() ) in MakeRestPortion() 2262 pFld = NULL; in MakeRestPortion() [all …]
|
H A D | porfld.cxx | 77 void SwFldPortion::TakeNextOffset( const SwFldPortion* pFld ) in TakeNextOffset() argument 79 ASSERT( pFld, "TakeNextOffset: Missing Source" ); in TakeNextOffset() 80 nNextOffset = pFld->GetNextOffset(); in TakeNextOffset() 410 SwFldPortion *pFld = Clone( aNew ); in Format() local 411 if( aNew.Len() && !pFld->GetFont() ) in Format() 414 pFld->SetFont( pNewFnt ); in Format() 416 pFld->SetFollow( sal_True ); in Format() 423 pFld->SetNextOffset( nNextOffset ); in Format() 424 rInf.SetRest( pFld ); in Format()
|
/aoo41x/main/sw/source/core/doc/ |
H A D | docfld.cxx | 533 SwTblField* pFld; in UpdateTblFlds() local 539 if( !pFld->IsValid() ) in UpdateTblFlds() 586 pFld->CalcField( aPara ); in UpdateTblFlds() 760 const SwTxtFld* pFld, in _SetGetExpFld() argument 764 CNTNT.pTxtFld = pFld; in _SetGetExpFld() 768 else if( pFld ) in _SetGetExpFld() 1696 for( SwFmtFld* pFld = aIter.First(); pFld; pFld = aIter.Next() ) in GetDBDesc() local 1962 pFld->ChgTyp(pTyp); in ChangeDBFields() 1992 sFormel = pFld->GetPar1(); in ChangeDBFields() 1994 pFld->SetPar1( sFormel ); in ChangeDBFields() [all …]
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unofield.cxx | 763 while(pFld) in SV_IMPL_PTRARR() 765 if(pFld->IsFldInDoc()) in SV_IMPL_PTRARR() 767 pFld = aIter.Next(); in SV_IMPL_PTRARR() 929 while ( pFld != NULL ) in dispose() 937 pFld = aIter.Next(); in dispose() 1239 SwField* pFld = 0; in attachToRange() local 1598 pFld->SetSubType(nSubType); in attachToRange() 1756 if ( pFld ) in attachToRange() 1809 delete pFld; in attachToRange() 2342 if(pFld) in update() [all …]
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmlfldw.cxx | 75 const SwFieldType* pFldTyp = pFld->GetTyp(); in OutHTML_SwField() 77 sal_uLong nFmt = pFld->GetFormat(); in OutHTML_SwField() 131 if( ((SwDateTimeField*)pFld)->IsFixed() ) in OutHTML_SwField() 157 const String& rValue = pFld->GetPar2(); in OutHTML_SwField() 170 sal_uInt16 nSubType = pFld->GetSubType(); in OutHTML_SwField() 425 const SwField* pFld = rFld.GetField(); in OutHTML_SwFmtFld() local 437 String rTxt( pFld->GetPar2() ); in OutHTML_SwFmtFld() 451 const String& rComment = pFld->GetPar2(); in OutHTML_SwFmtFld() 509 const String& rType = pFld->GetPar1(); in OutHTML_SwFmtFld() 512 aURL = pFld->GetPar2(); in OutHTML_SwFmtFld() [all …]
|
H A D | htmlfld.cxx | 300 SwField *pFld = 0; in NewField() local 316 pFld = new SwExtUserField( (SwExtUserFieldType*)pType, in NewField() 381 pFld = new SwDateTimeField( (SwDateTimeFieldType *)pType, in NewField() 415 ((SwDateTimeField *)pFld)->SetValue( dValue ); in NewField() 445 ((SwPageNumberField *)pFld)->SetUserString( aValue ); in NewField() 493 pFld = new SwDocInfoField( (SwDocInfoFieldType *)pType, in NewField() 496 ((SwDocInfoField*)pFld)->SetValue( dValue ); in NewField() 510 pFld = new SwDocStatField( (SwDocStatFieldType *)pType, in NewField() 535 if( pFld ) in NewField() 539 pField = pFld; in NewField() [all …]
|
/aoo41x/main/sw/source/ui/fldui/ |
H A D | fldmgr.cxx | 860 SwField* pFld = 0; in InsertFld() local 887 pFld = pPostItField; in InsertFld() 930 pFld->SetPar2(rData.sPar2); in InsertFld() 1269 pFld = pExpFld; in InsertFld() 1281 pFld = pInpFld; in InsertFld() 1302 pFld = pExpFld; in InsertFld() 1320 pFld = pExpFld; in InsertFld() 1430 pFld->SetLanguage(nLang); in InsertFld() 1435 pCurShell->Insert( *pFld ); in InsertFld() 1443 pCurShell->UpdateFlds(*pFld); in InsertFld() [all …]
|
H A D | javaedit.cxx | 112 pFld = (SwScriptField*)pMgr->GetCurFld(); in SwJavaEditDialog() 114 bNew = !(pFld && pFld->GetTyp()->Which() == RES_SCRIPTFLD); in SwJavaEditDialog() 152 pFld = (SwScriptField*)pMgr->GetCurFld(); in IMPL_LINK_INLINE_START() 170 pFld = (SwScriptField*)pMgr->GetCurFld(); in IMPL_LINK_INLINE_END() 229 if (pFld->IsCodeURL()) in CheckTravel() 231 String sURL(pFld->GetPar2()); in CheckTravel() 244 aEditED.SetText(pFld->GetPar2()); in CheckTravel() 248 aTypeED.SetText(pFld->GetPar1()); in CheckTravel() 300 …return pFld && ( bIsUrl != pFld->GetFormat() || pFld->GetPar2() != aType || pFld->GetPar1() != aTe… in IsUpdate()
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | ww8atr.cxx | 338 for ( SwFmtFld* pFld = aFmtFlds.First(); pFld; pFld = aFmtFlds.Next() ) in GatherChapterFields() local 1870 if (pFld) in OutputField() 1912 if( pFld ) in OutputField() 1926 if (pFld) in OutputField() 1962 if (pFld) in OutputField() 2609 switch (pFld->GetTyp()->Which()) in TextField() 2669 GetNumberPara(sStr, *pFld); in TextField() 2849 PostitField( pFld ); in TextField() 2976 sStr += String(pFld->GetPar1(),nAbove,pFld->GetPar1().Len()-nAbove); in TextField() 3015 sStr += pFld->GetPar1(); in TextField() [all …]
|
/aoo41x/main/sw/source/ui/docvw/ |
H A D | edtwin2.cxx | 289 const SwField* pFld = aCntntAtPos.aFnd.pFld; in RequestHelp() local 290 switch( pFld->Which() ) in RequestHelp() 296 sal_uInt16 nOldSubType = pFld->GetSubType(); in RequestHelp() 297 ((SwField*)pFld)->SetSubType(nsSwExtendedSubType::SUB_CMD); in RequestHelp() 298 sTxt = pFld->ExpandField(true); in RequestHelp() 299 ((SwField*)pFld)->SetSubType(nOldSubType); in RequestHelp() 311 sTxt = pFld->GetPar2(); in RequestHelp() 315 sTxt = pFld->GetFieldName(); in RequestHelp() 320 sTxt = pFld->GetPar1(); in RequestHelp() 327 sTxt = ((const SwMacroField*)pFld)->GetMacro(); in RequestHelp() [all …]
|
H A D | AnnotationWin.cxx | 167 const SwField* pFld = pTxtAttr ? pTxtAttr->GetFmtFld().GetField() : 0; in CalcFollow() local 168 return pFld && (pFld->Which()== RES_POSTITFLD); in CalcFollow() 182 SwField* pFld = pTxtAttr in CountFollowing() local 185 while ( pFld && ( pFld->Which()== RES_POSTITFLD ) ) in CountFollowing() 191 pFld = pTxtAttr in CountFollowing()
|
H A D | PostItMgr.cxx | 328 SwFmtFld* pFld = const_cast <SwFmtFld*>( rFmtHint.GetField() ); in Notify() local 333 if (!pFld) in Notify() 339 if ( pFld->IsFldInDoc() ) in Notify() 342 InsertItem( pFld, true, false ); in Notify() 356 if (!pFld) in Notify() 361 RemoveItem(pFld); in Notify() 1382 if ( (*i)->GetFmtFld().GetField() == pFld ) in GetAnnotationWin() 1459 if (pFld) in SetShadowState() 1461 if (pFld !=mShadowState.mpShadowFld) in SetShadowState() 1478 mShadowState.mpShadowFld = pFld; in SetShadowState() [all …]
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | textfld.cxx | 119 SwField* pFld = rSh.GetCurFld(); in ExecField() local 120 if( pFld ) in ExecField() 122 switch ( pFld->GetTypeId() ) in ExecField() 156 SwField* pFld = rSh.GetCurFld(); in ExecField() local 157 if(pFld && pFld->GetTyp()->Which() == RES_MACROFLD) in ExecField() 160 const String& rMacro = ((SwMacroField*)pFld)->GetMacro(); in ExecField() 175 SwFieldType* pFld = rSh.GetFldType( 0, RES_INPUTFLD ); in ExecField() local 177 if ( pFld != NULL in ExecField() 179 pFld, in ExecField() 533 bNew = !pFld || !(pFld->GetTyp()->Which() == RES_SCRIPTFLD); in ExecField() [all …]
|
/aoo41x/main/sw/source/ui/misc/ |
H A D | num.cxx | 752 IMPL_LINK( SwNumPositionTabPage, DistanceHdl, MetricField *, pFld ) in IMPL_LINK() argument 756 long nValue = static_cast< long >(pFld->Denormalize(pFld->GetValue(FUNIT_TWIP))); in IMPL_LINK() 763 if(pFld == &aDistBorderMF) in IMPL_LINK() 787 else if(pFld == &aDistNumMF) in IMPL_LINK() 791 else if(pFld == &aIndentMF) in IMPL_LINK() 919 IMPL_LINK( SwNumPositionTabPage, ListtabPosHdl_Impl, MetricField*, pFld ) in IMPL_LINK() argument 922 const long nValue = static_cast< long >(pFld->Denormalize(pFld->GetValue(FUNIT_TWIP))); in IMPL_LINK() 944 IMPL_LINK( SwNumPositionTabPage, AlignAtHdl_Impl, MetricField*, pFld ) in IMPL_LINK() argument 947 const long nValue = static_cast< long >(pFld->Denormalize(pFld->GetValue(FUNIT_TWIP))); in IMPL_LINK() 970 IMPL_LINK( SwNumPositionTabPage, IndentAtHdl_Impl, MetricField*, pFld ) in IMPL_LINK() argument [all …]
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | diactrl.cxx | 144 SdPagesField* pFld = (SdPagesField*) GetToolBox().GetItemWindow( GetId() ); in StateChanged() local 145 DBG_ASSERT( pFld, "Window not found" ); in StateChanged() 149 pFld->Disable(); in StateChanged() 150 pFld->SetText( String() ); in StateChanged() 154 pFld->Enable(); in StateChanged() 163 pFld->UpdatePagesField( pItem ); in StateChanged()
|
/aoo41x/main/sw/source/core/fields/ |
H A D | docufld.cxx | 1195 pFld->aContent = aContent; in Copy() 1197 return pFld; in Copy() 1502 SwHiddenTxtField* pFld = in Copy() local 1505 pFld->bIsHidden = bIsHidden; in Copy() 1506 pFld->bValid = bValid; in Copy() 1507 pFld->aContent = aContent; in Copy() 1509 pFld->nSubType = nSubType; in Copy() 1510 return pFld; in Copy() 1704 pFld->bIsHidden = bIsHidden; in Copy() 1706 return pFld; in Copy() [all …]
|
/aoo41x/main/svx/source/tbxctrls/ |
H A D | linectrl.cxx | 248 SvxMetricField* pFld = (SvxMetricField*) in StateChanged() local 250 DBG_ASSERT( pFld, "Window not found" ); in StateChanged() 254 pFld->RefreshDlgUnit(); in StateChanged() 260 pFld->Disable(); in StateChanged() 261 pFld->SetText( String() ); in StateChanged() 265 pFld->Enable(); in StateChanged() 274 pFld->SetCoreUnit( eUnit ); in StateChanged() 276 pFld->Update( (const XLineWidthItem*)pState ); in StateChanged() 279 pFld->Update( NULL ); in StateChanged()
|
/aoo41x/main/sw/source/core/txtnode/ |
H A D | atrfld.cxx | 355 const SwField* pFld = GetFmtFld().GetField(); in ExpandTxtFld() local 356 const XubString aNewExpand( pFld->ExpandField(m_pTxtNode->GetDoc()->IsClipBoard()) ); in ExpandTxtFld() 361 const sal_uInt16 nWhich = pFld->GetTyp()->Which(); in ExpandTxtFld() 367 …&& ( RES_DOCSTATFLD != nWhich || DS_PAGE != static_cast<const SwDocStatField*>(pFld)->GetSubType()… in ExpandTxtFld() 368 && ( RES_GETEXPFLD != nWhich || ((SwGetExpField*)pFld)->IsInBodyTxt() ) ) in ExpandTxtFld() 438 SwTxtFld* pFld = (SwTxtFld*)this; in CopyTxtFld() local 439 pDestIDFA->UpdateExpFlds( pFld, true ); in CopyTxtFld()
|
H A D | thints.cxx | 1167 const SwField* pFld = pAttr->GetFmtFld().GetField(); in DestroyAttr() local 1170 ASSERT( RES_DDEFLD == pFld->GetTyp()->Which() || in DestroyAttr() 1175 switch( pFld->GetTyp()->Which() ) in DestroyAttr() 1193 ((SwDDEFieldType*)pFld->GetTyp())->DecRefCnt(); in DestroyAttr() 2619 const SwField* pFld = pAttr->GetFmtFld().GetField(); in CalcFlags() local 2620 if( RES_DDEFLD == pFld->GetTyp()->Which() ) in CalcFlags() 2899 switch( pFld->GetTyp()->Which() ) in TryInsertHint() 2916 ((SwDDEFieldType*)pFld->GetTyp())->IncRefCnt(); in TryInsertHint() 2925 switch( pFld->GetTyp()->Which() ) in TryInsertHint() 2935 if( pFldType != pFld->GetTyp() ) in TryInsertHint() [all …]
|
/aoo41x/main/sw/source/ui/wrtsh/ |
H A D | wrtsh2.cxx | 186 sal_Bool SwWrtShell::StartInputFldDlg( SwField* pFld, sal_Bool bNextButton, in StartInputFldDlg() argument 196 pParentWin, *this, pFld, bNextButton); in StartInputFldDlg() 211 sal_Bool SwWrtShell::StartDropDownFldDlg(SwField* pFld, sal_Bool bNextButton, ByteString* pWindowSt… in StartDropDownFldDlg() argument 216 …AbstractDropDownFieldDialog* pDlg = pFact->CreateDropDownFieldDialog( NULL, *this, pFld, DLG_FLD_D… in StartDropDownFldDlg() 320 const SwMacroField *pFld = (const SwMacroField*)&rFld; in ClickToField() local 323 ExecMacro( pFld->GetSvxMacro(), &sRet ); in ClickToField()
|
/aoo41x/main/sw/source/core/sw3io/ |
H A D | sw3convert.cxx | 319 SW_DLLPUBLIC void sw3io_ConvertToOldField( const SwField* pFld, sal_uInt16& rWhich, in sw3io_ConvertToOldField() argument 330 switch (pFld->GetSubType() & 0xff00) in sw3io_ConvertToOldField() 342 sal_uInt16 nSubType = ((SwDateTimeField*) pFld)->GetSubType(); in sw3io_ConvertToOldField() 371 sal_uInt16 nSubType = pFld->GetSubType(); in sw3io_ConvertToOldField() 409 SvNumberFormatter *pFormatter = ((SwValueField*)pFld)->GetDoc()->GetNumberFormatter(); in sw3io_ConvertToOldField()
|
/aoo41x/main/sw/source/core/crsr/ |
H A D | crstrvl.cxx | 1250 const SwField* pFld = pTxtAttr != NULL in GetContentAtPos() local 1254 && pFld && !pFld->HasClickHdl() ) in GetContentAtPos() 1256 pFld = 0; in GetContentAtPos() 1259 if ( pFld ) in GetContentAtPos() 1276 pFld = 0; in GetContentAtPos() 1281 else if( RES_TABLEFLD == pFld->Which() && in GetContentAtPos() 1282 ((SwTblField*)pFld)->IsIntrnlName() ) in GetContentAtPos() 1292 if( pFld ) in GetContentAtPos() 1294 rCntntAtPos.aFnd.pFld = pFld; in GetContentAtPos() 1660 rCntntAtPos.aFnd.pFld = 0; in GetContentAtPos() [all …]
|
/aoo41x/main/sw/source/filter/rtf/ |
H A D | rtffld.cxx | 501 SwField *pFld = 0; in MakeFieldInst() local 523 pFld = new SwDateTimeField( (SwDateTimeFieldType*)pFldType, DATEFLD, nFmtIdx ); in MakeFieldInst() 525 pFld = new SwDateTimeField( (SwDateTimeFieldType*)pFldType, TIMEFLD, nFmtIdx ); in MakeFieldInst() 527 if( pFld ) in MakeFieldInst() 529 pDoc->InsertPoolItem( *pPam, SwFmtFld( *pFld ), 0); in MakeFieldInst() 530 delete pFld; in MakeFieldInst() 1059 const SwField *pFld = pFldAttr->GetFmtFld().GetField(); in ReadField() local 1060 SwFieldType *pTyp = pFld ? pFld->GetTyp() : 0; in ReadField()
|
/aoo41x/main/sw/inc/ |
H A D | fmtfld.hxx | 118 const SwFmtFld* pFld; member in SwFmtFldHint 124 : pFld(p) in SwFmtFldHint() 130 const SwFmtFld* GetField() const { return pFld; } in GetField()
|