Home
last modified time | relevance | path

Searched refs:nFmt (Results 1 – 25 of 63) sorted by relevance

123

/trunk/main/svl/source/svdde/
H A Dddedata.cxx48 pImp->nFmt = CF_TEXT; in DdeData()
59 pImp->nFmt = f; in DdeData()
70 pImp->nFmt = CF_TEXT; in DdeData()
81 pImp->nFmt = rData.pImp->nFmt; in DdeData()
106 return pImp->nFmt; in GetFormat()
109 void DdeData::SetFormat( sal_uLong nFmt ) in SetFormat() argument
111 pImp->nFmt = nFmt; in SetFormat()
143 sal_uLong DdeData::GetExternalFormat( sal_uLong nFmt ) in GetExternalFormat() argument
145 switch( nFmt ) in GetExternalFormat()
148 nFmt = CF_TEXT; in GetExternalFormat()
[all …]
H A Dddesvr.cxx295 pData->pImp->nFmt ), in SV_IMPL_VARARR()
305 d.pImp->nFmt = DdeData::GetInternalFormat( nCbType ); in SV_IMPL_VARARR()
357 aExec.pImp->nFmt = DdeData::GetInternalFormat( nCbType ); in SV_IMPL_VARARR()
584 sal_Bool DdeService::HasCbFormat( sal_uInt16 nFmt ) in HasCbFormat() argument
586 return sal_Bool( aFormats.GetPos( nFmt ) != LIST_ENTRY_NOTFOUND ); in HasCbFormat()
591 sal_Bool DdeService::HasFormat( sal_uLong nFmt ) in HasFormat() argument
593 return HasCbFormat( (sal_uInt16)DdeData::GetExternalFormat( nFmt )); in HasFormat()
598 void DdeService::AddFormat( sal_uLong nFmt ) in AddFormat() argument
600 nFmt = DdeData::GetExternalFormat( nFmt ); in AddFormat()
601 aFormats.Remove( nFmt ); in AddFormat()
[all …]
/trunk/main/sw/source/core/fields/
H A Dfldbas.cxx56 sal_uInt16 lcl_GetLanguageOfFormat( sal_uInt16 nLng, sal_uLong nFmt, in lcl_GetLanguageOfFormat() argument
62 switch( rFormatter.GetIndexTableOffset( nFmt )) in lcl_GetLanguageOfFormat()
185 sal_uInt32 nFmt, in SwField() argument
192 , nFormat( nFmt ) in SwField()
496 sal_uInt32 nFmt, sal_uInt16 nLng) const in ExpandValue() argument
506 sal_uInt16 nFmtLng = ::lcl_GetLanguageOfFormat( nLng, nFmt, *pFormatter ); in ExpandValue()
508 if( nFmt < SV_COUNTRY_LANGUAGE_OFFSET && LANGUAGE_SYSTEM != nFmtLng ) in ExpandValue()
513 const SvNumberformat* pEntry = pFormatter->GetEntry(nFmt); in ExpandValue()
517 sal_uInt32 nNewFormat = pFormatter->GetFormatForLanguageIfBuiltIn(nFmt, in ExpandValue()
520 if (nNewFormat == nFmt) in ExpandValue()
[all …]
H A Dusrfld.cxx49 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 Ddocufld.cxx124 String& SwPageNumberFieldType::Expand( sal_uInt32 nFmt, short nOff, in Expand() argument
127 sal_uInt32 nTmpFmt = (SVX_NUM_PAGEDESC == nFmt) ? (sal_uInt32)nNumberingType : nFmt; in Expand()
197 sal_uInt16 nSub, sal_uInt32 nFmt, short nOff) in SwPageNumberField() argument
198 : SwField(pTyp, nFmt), nSubType(nSub), nOffset(nOff) in SwPageNumberField()
332 String SwAuthorFieldType::Expand(sal_uLong nFmt) const in Expand()
336 if((nFmt & 0xff) == AF_NAME) in Expand()
352 SwAuthorField::SwAuthorField(SwAuthorFieldType* pTyp, sal_uInt32 nFmt) in SwAuthorField() argument
353 : SwField(pTyp, nFmt) in SwAuthorField()
435 String SwFileNameFieldType::Expand(sal_uLong nFmt) const in Expand()
442 switch( nFmt & ~FF_FIXED ) in Expand()
[all …]
H A Ddbfld.cxx190 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()
501 SwDBNameInfField::SwDBNameInfField(SwFieldType* pTyp, const SwDBData& rDBData, sal_uLong nFmt) : in SwDBNameInfField() argument
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()
[all …]
H A Dexpfld.cxx294 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 Dhtmlfld.cxx309 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
325 pFmtOption->GetEnum( nFmt, aHTMLAuthorFldFmtTable ); in NewField()
328 nFmt |= AF_FIXED; in NewField()
332 pFld = new SwAuthorField( (SwAuthorFieldType *)pType, nFmt ); in NewField()
426 sal_uInt16 nFmt = SVX_NUM_PAGEDESC; in NewField() local
428 pFmtOption->GetEnum( nFmt, aHTMLPageNumFldFmtTable ); in NewField()
432 if( (SvxExtNumType)nFmt!=SVX_NUM_CHAR_SPECIAL && aValue.Len() ) in NewField()
[all …]
H A Dhtmlfldw.cxx46 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 Dimpex.cxx294 sal_uLong nFmt = rData.GetFormat();
295 if ( nFmt == SOT_FORMATSTR_ID_HTML_SIMPLE )
301 return ImportStream( *pStream, nFmt );
310 if( nFmt == FORMAT_STRING
311 || nFmt == FORMAT_RTF
312 || nFmt == SOT_FORMATSTR_ID_SYLK
313 || nFmt == SOT_FORMATSTR_ID_HTML
314 || nFmt == SOT_FORMATSTR_ID_DIF )
326 DBG_ASSERT( pBegin != pEnd || nFmt != FORMAT_STRING, "non zero-terminated String" )
329 return ImportStream( aStrm, nFmt );
[all …]
/trunk/main/sfx2/source/appl/
H A Dimpldde.cxx291 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 Dfileobj.cxx101 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 Dtp_Scale.cxx715 sal_uLong nFmt = (sal_uLong)((const SfxInt32Item*)pPoolItem)->GetValue(); in SetNumFormat() local
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()
729 nFmt = pNumFormatter->GetStandardIndex( pFormat->GetLanguage()); in SetNumFormat()
731 nFmt = pNumFormatter->GetStandardIndex(); in SetNumFormat()
736 const SvNumberformat* pFormat = pNumFormatter->GetEntry( nFmt ); in SetNumFormat()
738nFmt = pNumFormatter->GetStandardFormat( NUMBERFORMAT_TIME, pFormat->GetLanguage() ); in SetNumFormat()
[all …]
/trunk/main/sw/inc/
H A Dfldbas.hxx324 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 Ddocufld.hxx155 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 Dusrfld.hxx52 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 Ddbfld.hxx82 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 Dswdtflvr.cxx1634 SwWrtShell& rSh, sal_uLong nFmt, sal_Bool bMsg ) in _PasteFileContent() argument
1645 switch( nFmt ) in _PasteFileContent()
1650 if( rData.GetString( nFmt, sData ) ) in _PasteFileContent()
1670 if( rData.GetSotStorageStream( nFmt, xStrm ) ) in _PasteFileContent()
1672 if( ( SOT_FORMATSTR_ID_HTML_SIMPLE == nFmt ) || in _PasteFileContent()
1673 ( SOT_FORMATSTR_ID_HTML_NO_COMMENT == nFmt ) ) in _PasteFileContent()
1681 ( nFmt == SOT_FORMATSTR_ID_HTML_NO_COMMENT ); in _PasteFileContent()
1687 if( SOT_FORMAT_RTF == nFmt ) in _PasteFileContent()
1733 sal_uLong nFmt, sal_uInt8 nActionFlags, sal_Bool bMsg ) in _PasteOLE() argument
1787 nFmt = nId; in _PasteOLE()
[all …]
/trunk/main/sw/source/ui/utlui/
H A Dnavipi.cxx1307 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 Dswdtflvr.hxx98 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 Dsvdde.hxx91 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 Dedfmt.cxx53 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 Dedtab.cxx396 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 Dedsect.cxx160 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 Dtabopdlg.cxx159 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()

123