/trunk/main/svl/source/svdde/ |
H A D | ddedata.cxx | 48 pImp->nFmt = CF_TEXT; in DdeData() 59 pImp->nFmt = f; in DdeData() 81 pImp->nFmt = rData.pImp->nFmt; in DdeData() 106 return pImp->nFmt; in GetFormat() 111 pImp->nFmt = nFmt; in SetFormat() 145 switch( nFmt ) in GetExternalFormat() 148 nFmt = CF_TEXT; in GetExternalFormat() 151 nFmt = CF_BITMAP; in GetExternalFormat() 178 return nFmt; in GetExternalFormat() 183 switch( nFmt ) in GetInternalFormat() [all …]
|
H A D | ddesvr.cxx | 295 pData->pImp->nFmt ), in SV_IMPL_VARARR() 584 sal_Bool DdeService::HasCbFormat( sal_uInt16 nFmt ) in HasCbFormat() argument 591 sal_Bool DdeService::HasFormat( sal_uLong nFmt ) in HasFormat() argument 598 void DdeService::AddFormat( sal_uLong nFmt ) in AddFormat() argument 600 nFmt = DdeData::GetExternalFormat( nFmt ); in AddFormat() 601 aFormats.Remove( nFmt ); in AddFormat() 602 aFormats.Insert( nFmt ); in AddFormat() 607 void DdeService::RemoveFormat( sal_uLong nFmt ) in RemoveFormat() argument 609 aFormats.Remove( DdeData::GetExternalFormat( nFmt ) ); in RemoveFormat() 740 DdeData* __EXPORT DdeTopic::Get( sal_uLong nFmt ) in Get() argument [all …]
|
/trunk/main/sw/source/core/fields/ |
H A D | fldbas.cxx | 185 sal_uInt32 nFmt, in SwField() argument 192 , nFormat( nFmt ) in SwField() 520 if (nNewFormat == nFmt) in ExpandValue() 529 nFmt = nNewFormat; in ExpandValue() 635 if (nNewFormat == nFmt) in GetSystemFormat() 646 nFmt = nFormat; in GetSystemFormat() 649 nFmt = nNewFormat; in GetSystemFormat() 652 return nFmt; in GetSystemFormat() 749 if( nFmt && SAL_MAX_UINT32 != nFmt ) in SetFormula() 766 if (nFmt && nFmt != SAL_MAX_UINT32 && ((SwValueFieldType *)GetTyp())->UseFormat()) in SetExpandedFormula() [all …]
|
H A D | usrfld.cxx | 49 SwUserField::SwUserField(SwUserFieldType* pTyp, sal_uInt16 nSub, sal_uInt32 nFmt) in SwUserField() argument 50 : SwValueField(pTyp, nFmt), in SwUserField() 200 String SwUserFieldType::Expand(sal_uInt32 nFmt, sal_uInt16 nSubType, sal_uInt16 nLng) in Expand() argument 206 aStr = ExpandValue(nValue, nFmt, nLng); in Expand() 268 String SwUserFieldType::GetContent( sal_uInt32 nFmt ) in GetContent() argument 270 if (nFmt && nFmt != SAL_MAX_UINT32) in GetContent() 277 pFormatter->GetOutputString(GetValue(), nFmt, sFormattedValue, &pCol); in GetContent() 284 void SwUserFieldType::SetContent( const String& rStr, sal_uInt32 nFmt ) in SetContent() argument 290 if (nFmt && nFmt != SAL_MAX_UINT32) in SetContent() 296 if (pFormatter->IsNumberFormat(rStr, nFmt, fValue)) in SetContent() [all …]
|
H A D | docufld.cxx | 127 sal_uInt32 nTmpFmt = (SVX_NUM_PAGEDESC == nFmt) ? (sal_uInt32)nNumberingType : nFmt; in Expand() 353 : SwField(pTyp, nFmt) in SwAuthorField() 442 switch( nFmt & ~FF_FIXED ) in Expand() 494 : SwField(pTyp, nFmt) in SwFileNameField() 627 if( FF_UI_NAME == nFmt ) in Expand() 642 if( FF_NAME == nFmt ) in Expand() 648 if( FF_PATH == nFmt ) in Expand() 672 : SwField(pTyp, nFmt) in SwTemplNameField() 804 : SwField(pTyp, nFmt), in SwDocStatField() 2406 sal_uInt32 nFmt ) in SwRefPageGetField() argument [all …]
|
H A D | dbfld.cxx | 190 SwDBField::SwDBField(SwDBFieldType* pTyp, sal_uLong nFmt) in SwDBField() argument 191 : SwValueField(pTyp, nFmt), in SwDBField() 330 sal_uInt32 nFmt; in Evaluate() local 336 pMgr->GetMergeColumnCnt(aColNm, GetLanguage(), aContent, &nValue, &nFmt); in Evaluate() 338 SetFormat( nFmt = pMgr->GetColumnFmt( aTmpData.sDataSource, aTmpData.sCommand, in Evaluate() 366 if (nFmt && nFmt != SAL_MAX_UINT32 && !pFormatter->IsTextFormat(nFmt)) in Evaluate() 502 SwField(pTyp, nFmt), in SwDBNameInfField() 866 SwDBNameField::SwDBNameField(SwDBNameFieldType* pTyp, const SwDBData& rDBData, sal_uLong nFmt) in SwDBNameField() argument 867 : SwDBNameInfField(pTyp, rDBData, nFmt) in SwDBNameField() 926 sal_uLong nFmt) in SwDBSetNumberField() argument [all …]
|
H A D | expfld.cxx | 294 sal_uInt16 nSub, sal_uLong nFmt) in SwGetExpField() argument 295 : SwFormulaField( pTyp, nFmt, 0.0 ), in SwGetExpField() 532 void SwSetExpFieldType::SetSeqFormat(sal_uLong nFmt) in SetSeqFormat() argument 536 pFmtFld->GetField()->ChangeFormat( nFmt ); in SetSeqFormat() 784 sal_uLong nFmt) in SwSetExpField() argument 785 : SwFormulaField( pTyp, nFmt, 0.0 ), nSeqNo( USHRT_MAX ), in SwSetExpField() 1150 sal_uLong nFmt, in SwInputField() argument 1152 : SwField( pFieldType, nFmt, LANGUAGE_SYSTEM, false ) in SwInputField()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlfld.cxx | 309 sal_uLong nFmt = 0; in NewField() local 312 nFmt |= AF_FIXED; in NewField() 317 nSub, nFmt ); in NewField() 323 sal_uInt16 nFmt = AF_NAME; in NewField() local 328 nFmt |= AF_FIXED; in NewField() 426 sal_uInt16 nFmt = SVX_NUM_PAGEDESC; in NewField() local 441 nFmt = SVX_NUM_PAGEDESC; in NewField() 507 sal_uInt16 nFmt = SVX_NUM_ARABIC; in NewField() local 511 nSub, nFmt ); in NewField() 519 sal_uInt16 nFmt = FF_NAME; in NewField() local [all …]
|
H A D | htmlfldw.cxx | 46 const sal_Char *SwHTMLWriter::GetNumFormat( sal_uInt16 nFmt ) in GetNumFormat() argument 50 switch( (SvxExtNumType)nFmt ) in GetNumFormat() 77 sal_uLong nFmt = pFld->GetFormat(); in OutHTML_SwField() local 119 switch( (SwAuthorFormat)nFmt & 0xff) in OutHTML_SwField() 149 pFmtStr = SwHTMLWriter::GetNumFormat( static_cast< sal_uInt16 >(nFmt) ); in OutHTML_SwField() 151 if( (SvxExtNumType)nFmt==SVX_NUM_CHAR_SPECIAL ) in OutHTML_SwField() 219 else if( !nFmt ) in OutHTML_SwField() 244 pFmtStr = SwHTMLWriter::GetNumFormat( static_cast< sal_uInt16 >(nFmt) ); in OutHTML_SwField() 250 switch( (SwFileNameFormat)(nFmt & ~FF_FIXED) ) in OutHTML_SwField() 290 ASSERT( nFmt, "Zahlenformat ist 0" ); in OutHTML_SwField() [all …]
|
/trunk/main/sc/source/ui/docshell/ |
H A D | impex.cxx | 294 sal_uLong nFmt = rData.GetFormat(); 310 if( nFmt == FORMAT_STRING 311 || nFmt == FORMAT_RTF 362 switch ( nFmt ) in ImportString() 388 if ( nFmt != FORMAT_STRING ) in ExportString() 448 if( nFmt == FORMAT_STRING ) in ImportStream() 458 if( nFmt == SOT_FORMATSTR_ID_DIF ) in ImportStream() 463 if( nFmt == FORMAT_RTF ) in ImportStream() 489 if( nFmt == FORMAT_STRING ) in ExportStream() 499 if( nFmt == SOT_FORMATSTR_ID_DIF ) in ExportStream() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | impldde.cxx | 291 sal_uInt16 nFmt = 0; in ImplHasOtherFormat() local 295 nFmt = FORMAT_STRING; in ImplHasOtherFormat() 300 nFmt = FORMAT_RTF; in ImplHasOtherFormat() 304 nFmt = FORMAT_BITMAP; in ImplHasOtherFormat() 308 nFmt = FORMAT_GDIMETAFILE; in ImplHasOtherFormat() 313 if( nFmt ) in ImplHasOtherFormat() 314 rReq.SetFormat( nFmt ); // damit nochmal versuchen in ImplHasOtherFormat() 315 return 0 != nFmt; in ImplHasOtherFormat() 339 sal_uIntPtr nFmt = pData->GetFormat(); in IMPL_LINK() local 340 switch( nFmt ) in IMPL_LINK() [all …]
|
H A D | fileobj.cxx | 101 sal_uIntPtr nFmt = SotExchange::GetFormatStringId( rMimeType ); in GetData() local 105 if( FORMAT_FILE == nFmt ) in GetData() 119 if( FORMAT_GDIMETAFILE == nFmt || FORMAT_BITMAP == nFmt || in GetData() 120 SOT_FORMATSTR_ID_SVXB == nFmt ) in GetData() 172 if( SOT_FORMATSTR_ID_SVXB != nFmt ) in GetData() 173 nFmt = (bLoadError || GRAPHIC_BITMAP == aGrf.GetType()) in GetData() 178 switch ( nFmt ) in GetData()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_Scale.cxx | 717 aFmtFldMax.SetFormatKey( nFmt ); in SetNumFormat() 718 aFmtFldMin.SetFormatKey( nFmt ); in SetNumFormat() 719 aFmtFldOrigin.SetFormatKey( nFmt ); in SetNumFormat() 723 short eType = pNumFormatter->GetType( nFmt ); in SetNumFormat() 727 const SvNumberformat* pFormat = pNumFormatter->GetEntry( nFmt ); in SetNumFormat() 731 nFmt = pNumFormatter->GetStandardIndex(); in SetNumFormat() 736 const SvNumberformat* pFormat = pNumFormatter->GetEntry( nFmt ); in SetNumFormat() 751 aFmtFldMax.SetFormatKey( nFmt ); in SetNumFormat() 752 aFmtFldMin.SetFormatKey( nFmt ); in SetNumFormat() 753 aFmtFldOrigin.SetFormatKey( nFmt ); in SetNumFormat() [all …]
|
/trunk/main/sw/inc/ |
H A D | fldbas.hxx | 324 sal_uInt32 nFmt = 0, 422 String ExpandValue(const double& rVal, sal_uInt32 nFmt, sal_uInt16 nLng=0) const; 424 void DoubleToString(String &rValue, const double &rVal, sal_uInt32 nFmt) const; 433 …SwValueField( SwValueFieldType* pFldType, sal_uInt32 nFmt = 0, sal_uInt16 nLang = LANGUAGE_SYSTEM,… 449 inline String ExpandValue(const double& rVal, sal_uInt32 nFmt, sal_uInt16 nLng=0) const in ExpandValue() argument 450 { return ((SwValueFieldType*)GetTyp())->ExpandValue(rVal, nFmt, nLng); } in ExpandValue() 452 static sal_uInt32 GetSystemFormat(SvNumberFormatter* pFormatter, sal_uInt32 nFmt); 460 SwFormulaField( SwValueFieldType* pFldType, sal_uInt32 nFmt = 0, const double fVal = 0.0 );
|
H A D | docufld.hxx | 155 String& Expand( sal_uInt32 nFmt, short nOff, const String&, String& rRet ) const; 173 sal_uInt32 nFmt = 0, short nOff = 0); 212 SwAuthorField(SwAuthorFieldType*, sal_uInt32 nFmt = 0); 247 SwFileNameField(SwFileNameFieldType*, sal_uInt32 nFmt = 0); 280 SwTemplNameField(SwTemplNameFieldType*, sal_uInt32 nFmt = 0); 300 String Expand(sal_uInt16 nSubType, sal_uInt32 nFmt) const; 316 sal_uInt16 nSubType = 0, sal_uInt32 nFmt = 0); 599 SwDocInfoField(SwDocInfoFieldType*, sal_uInt16 nSub, const String& rName, sal_uInt32 nFmt=0); 600 …wDocInfoFieldType*, sal_uInt16 nSub, const String& rName, const String& rValue, sal_uInt32 nFmt=0); 636 SwExtUserField(SwExtUserFieldType*, sal_uInt16 nSub, sal_uInt32 nFmt=0); [all …]
|
H A D | usrfld.hxx | 52 String Expand(sal_uInt32 nFmt, sal_uInt16 nSubType, sal_uInt16 nLng); 54 String GetContent( sal_uInt32 nFmt = 0 ); 55 void SetContent( const String& rStr, sal_uInt32 nFmt = 0 ); 110 SwUserField(SwUserFieldType*, sal_uInt16 nSub = 0, sal_uInt32 nFmt = 0);
|
H A D | dbfld.hxx | 82 SwDBField(SwDBFieldType*, sal_uLong nFmt = 0); 147 SwDBNameInfField(SwFieldType* pTyp, const SwDBData& rDBData, sal_uLong nFmt = 0); 286 SwDBNameField(SwDBNameFieldType*, const SwDBData& rDBData, sal_uLong nFmt = 0); 315 SwDBSetNumberField(SwDBSetNumberFieldType*, const SwDBData& rDBData, sal_uLong nFmt = 0);
|
/trunk/main/sw/source/ui/dochdl/ |
H A D | swdtflvr.cxx | 1645 switch( nFmt ) in _PasteFileContent() 1650 if( rData.GetString( nFmt, sData ) ) in _PasteFileContent() 1687 if( SOT_FORMAT_RTF == nFmt ) in _PasteFileContent() 1787 nFmt = nId; in _PasteOLE() 2282 switch( nFmt ) in _PasteGrf() 2287 nRet = rData.GetGraphic( nFmt, aGrf ); in _PasteGrf() 2340 nRet = rData.GetGraphic( nFmt, aGrf ); in _PasteGrf() 2352 SOT_FORMAT_FILE == nFmt && in _PasteGrf() 2521 SwWrtShell& rSh, sal_uLong nFmt ) in _PasteAsHyperlink() argument 2567 SwWrtShell& rSh, sal_uLong nFmt, in _PasteFileName() argument [all …]
|
/trunk/main/sw/source/ui/utlui/ |
H A D | navipi.cxx | 1307 sal_uLong nFmt; in CreateDropFileName() local 1308 if( rData.HasFormat( nFmt = FORMAT_FILE_LIST )) in CreateDropFileName() 1311 rData.GetFileList( nFmt, aFileList ); in CreateDropFileName() 1314 else if( rData.HasFormat( nFmt = FORMAT_STRING ) || in CreateDropFileName() 1315 rData.HasFormat( nFmt = FORMAT_FILE ) || in CreateDropFileName() 1316 rData.HasFormat( nFmt = SOT_FORMATSTR_ID_FILENAME )) in CreateDropFileName() 1317 rData.GetString( nFmt, sFileName ); in CreateDropFileName() 1318 else if( rData.HasFormat( nFmt = SOT_FORMATSTR_ID_SOLK ) || in CreateDropFileName() 1319 rData.HasFormat( nFmt = SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK )|| in CreateDropFileName() 1320 rData.HasFormat( nFmt = SOT_FORMATSTR_ID_FILECONTENT ) || in CreateDropFileName() [all …]
|
/trunk/main/sw/source/ui/inc/ |
H A D | swdtflvr.hxx | 98 SwWrtShell& rSh, sal_uLong nFmt, sal_Bool bMsg ); 100 sal_uLong nFmt, sal_uInt8 nActionFlags, sal_Bool bMsg ); 112 sal_uLong nFmt, sal_uInt16 nAction, const Point* pPt, 119 SwWrtShell& rSh, sal_uLong nFmt ); 122 SwWrtShell& rSh, sal_uLong nFmt, sal_uInt16 nAction, 126 sal_uLong nFmt, sal_Bool bLink, const Point* pDragPt,
|
/trunk/main/svl/inc/svl/ |
H A D | svdde.hxx | 91 void SetFormat( sal_uLong nFmt ); 107 static sal_uLong GetExternalFormat( sal_uLong nFmt ); 108 static sal_uLong GetInternalFormat( sal_uLong nFmt ); 183 void SetFormat( sal_uLong nFmt ) { aDdeData.SetFormat( nFmt ); } in SetFormat() argument
|
/trunk/main/sw/source/core/edit/ |
H A D | edfmt.cxx | 53 SwCharFmt& SwEditShell::GetCharFmt(sal_uInt16 nFmt) const in GetCharFmt() 55 return *((*(GetDoc()->GetCharFmts()))[nFmt]); in GetCharFmt() 132 SwFrmFmt& SwEditShell::GetTblFrmFmt(sal_uInt16 nFmt, sal_Bool bUsed ) const in GetTblFrmFmt() argument 134 return GetDoc()->GetTblFrmFmt(nFmt, bUsed ); in GetTblFrmFmt()
|
H A D | edtab.cxx | 396 sal_uInt32 nFmt; in IsTableBoxTextFormat() local 401 nFmt = ((SwTblBoxNumFormat*)pItem)->GetValue(); in IsTableBoxTextFormat() 402 return GetDoc()->GetNumberFormatter()->IsTextFormat( nFmt ) || in IsTableBoxTextFormat() 403 NUMBERFORMAT_TEXT == nFmt; in IsTableBoxTextFormat() 415 return !GetDoc()->GetNumberFormatter()->IsNumberFormat( rTxt, nFmt, fVal ); in IsTableBoxTextFormat()
|
H A D | edsect.cxx | 160 const SwSectionFmt& SwEditShell::GetSectionFmt( sal_uInt16 nFmt ) const in GetSectionFmt() 162 return *GetDoc()->GetSections()[ nFmt ]; in GetSectionFmt() 166 void SwEditShell::DelSectionFmt( sal_uInt16 nFmt ) in DelSectionFmt() argument 169 GetDoc()->DelSectionFmt( GetDoc()->GetSections()[ nFmt ] ); in DelSectionFmt()
|
/trunk/main/sc/source/ui/miscdlgs/ |
H A D | tabopdlg.cxx | 159 sal_uInt16 nFmt = ( rRef.aStart.Tab() == nCurTab ) in SetReference() local 167 rRef.Format( aStr, nFmt, pDocP, aDetails ); in SetReference() 172 rRef.aStart.Format( aStr, nFmt, pDocP, aDetails ); in SetReference() 177 rRef.aStart.Format( aStr, nFmt, pDocP, aDetails ); in SetReference()
|