/trunk/main/svtools/source/misc/ |
H A D | transfer.cxx | 780 if( nFormat == (*aIter).mnSotId ) in HasFormat() 1603 if( nFormat == (*aIter++).mnSotId ) in HasFormat() 1649 return( ( nFormat < mpFormats->size() ) ? (*mpFormats)[ nFormat ].mnSotId : 0 ); in GetFormat() 1661 if( nFormat < mpFormats->size() ) in GetFormatDataFlavor() 1662 aRet = (*mpFormats)[ nFormat ]; in GetFormatDataFlavor() 1699 if ( SotExchange::GetFormatDataFlavor( nFormat, aFlavor ) ) in GetAny() 1751 sal_Bool bRet = GetString( nFormat, aOUString ); in GetString() 1818 if(FORMAT_BITMAP == nFormat) in GetBitmapEx() 1994 if(FORMAT_BITMAP == nFormat) in GetGraphic() 2114 switch( nFormat ) in GetINetBookmark() [all …]
|
/trunk/main/sot/source/base/ |
H A D | exchange.cxx | 344 if( SOT_FORMATSTR_ID_USER_END >= nFormat ) in GetFormatDataFlavor() 357 nFormat -= SOT_FORMATSTR_ID_USER_END + 1; in GetFormatDataFlavor() 359 if( rL.Count() > nFormat ) in GetFormatDataFlavor() 361 rFlavor = *(DataFlavor*) rL.GetObject( nFormat ); in GetFormatDataFlavor() 382 String SotExchange::GetFormatMimeType( sal_uLong nFormat ) in GetFormatMimeType() argument 385 if( SOT_FORMATSTR_ID_USER_END >= nFormat ) in GetFormatMimeType() 391 nFormat -= SOT_FORMATSTR_ID_USER_END + 1; in GetFormatMimeType() 393 if( rL.Count() > nFormat ) in GetFormatMimeType() 394 sMimeType = ((DataFlavor*) rL.GetObject( nFormat ))->MimeType; in GetFormatMimeType() 484 String SotExchange::GetFormatName( sal_uLong nFormat ) in GetFormatName() argument [all …]
|
/trunk/main/sw/source/ui/index/ |
H A D | cnttab.cxx | 2896 sal_uInt16 nFormat = 0; in IMPL_LINK() local 2898 nFormat = 1; in IMPL_LINK() 2899 aNumberFormatLB.SelectEntryPos(nFormat); in IMPL_LINK()
|
/trunk/main/sw/source/core/access/ |
H A D | accpara.cxx | 1733 sal_uInt16 nFormat= pField->GetFormat(); in GetFieldTypeNameAtIndex() local 1735 if (nFormat < nSize) in GetFieldTypeNameAtIndex() 1737 sEntry = aMgr.GetFormatStr(pField->GetTypeId(), nFormat); in GetFieldTypeNameAtIndex()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdedxv.cxx | 1433 sal_Bool SdrObjEditView::Cut(sal_uIntPtr nFormat) in Cut() argument 1443 return SdrGlueEditView::Cut(nFormat); in Cut() 1447 sal_Bool SdrObjEditView::Yank(sal_uIntPtr nFormat) in Yank() argument 1453 return SdrGlueEditView::Yank(nFormat); in Yank() 1457 sal_Bool SdrObjEditView::Paste(Window* pWin, sal_uIntPtr nFormat) in Paste() argument 1474 return SdrGlueEditView::Paste(pWin,nFormat); in Paste()
|
/trunk/main/sfx2/source/appl/ |
H A D | linkmgr2.cxx | 485 static sal_uIntPtr nFormat = 0; in RegisterStatusInfoId() local 487 if( !nFormat ) in RegisterStatusInfoId() 491 nFormat = SotExchange::RegisterFormatName( in RegisterStatusInfoId() 495 return nFormat; in RegisterStatusInfoId()
|
/trunk/main/svl/source/numbers/ |
H A D | zforlist.cxx | 1913 void SvNumberFormatter::GetFormatSpecialInfo(sal_uInt32 nFormat, in GetFormatSpecialInfo() argument 1920 const SvNumberformat* pFormat = aFTable.Get(nFormat); in GetFormatSpecialInfo() 1933 sal_uInt16 SvNumberFormatter::GetFormatPrecision( sal_uInt32 nFormat ) const in GetFormatPrecision() 1935 const SvNumberformat* pFormat = aFTable.Get( nFormat ); in GetFormatPrecision() 1943 String SvNumberFormatter::GetFormatDecimalSep( sal_uInt32 nFormat ) const in GetFormatDecimalSep() 1945 const SvNumberformat* pFormat = aFTable.Get( nFormat ); in GetFormatDecimalSep() 2982 if ( nFormat < SV_COUNTRY_LANGUAGE_OFFSET && eLnge == IniLnge ) in GetFormatForLanguageIfBuiltIn() 2983 return nFormat; // es bleibt wie es ist in GetFormatForLanguageIfBuiltIn() 2986 return nFormat; // kein eingebautes Format in GetFormatForLanguageIfBuiltIn() 3311 sal_Bool SvNumberFormatter::GetNewCurrencySymbolString( sal_uInt32 nFormat, in GetNewCurrencySymbolString() argument [all …]
|
/trunk/main/svtools/inc/svtools/ |
H A D | brwbox.hxx | 418 …sal_Bool IsDropFormatSupported( SotFormatStringId nFormat ); // need this because the base class… 419 sal_Bool IsDropFormatSupported( SotFormatStringId nFormat ) const;
|
/trunk/main/l10ntools/source/filter/utils/ |
H A D | Cache.java | 296 nFormat = FORMAT_60; in mapFormatString2Format() 299 nFormat = FORMAT_6Y; in mapFormatString2Format() 303 return nFormat; in mapFormatString2Format() 714 switch(nFormat) in convertTypePropsToExternal() 814 switch(nFormat) in convertFilterPropsToExternal() 915 switch(nFormat) in convertDetectServicePropsToExternal() 948 switch(nFormat) in convertFrameLoaderPropsToExternal() 981 switch(nFormat) in convertContentHandlerPropsToExternal() 1037 switch(nFormat) in convertTypePropsToInternal() 1160 switch(nFormat) in convertFilterPropsToInternal() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmap.cxx | 541 const sal_uLong nFormat = pWriteAcc->GetScanlineFormat(); in Erase() local 545 switch( nFormat ) in Erase()
|
H A D | bmpacc.cxx | 165 sal_Bool BitmapReadAccess::ImplSetAccessPointers( sal_uLong nFormat ) in ImplSetAccessPointers() argument 169 switch( nFormat ) in ImplSetAccessPointers() 499 const sal_uLong nFormat = BMP_SCANLINE_FORMAT( nSrcScanlineFormat ); in CopyScanline() local 502 DBG_ASSERT( ( HasPalette() && nFormat <= BMP_FORMAT_8BIT_PAL ) || in CopyScanline() 503 ( !HasPalette() && nFormat > BMP_FORMAT_8BIT_PAL ), in CopyScanline() 514 DBG_ASSERT( nFormat != BMP_FORMAT_8BIT_TC_MASK && in CopyScanline() 515 … nFormat != BMP_FORMAT_16BIT_TC_MSB_MASK && nFormat != BMP_FORMAT_16BIT_TC_LSB_MASK && in CopyScanline() 516 nFormat != BMP_FORMAT_24BIT_TC_MASK && nFormat != BMP_FORMAT_32BIT_TC_MASK, in CopyScanline() 522 switch( nFormat ) in CopyScanline()
|
/trunk/main/sw/source/ui/shells/ |
H A D | annotsh.cxx | 922 sal_uLong nFormat = pDlg->GetFormat( aDataHelper.GetTransferable() ); in ExecClpbrd() local 924 if (nFormat > 0) in ExecClpbrd() 926 if (nFormat == SOT_FORMAT_STRING) in ExecClpbrd() 937 sal_uLong nFormat = 0; in ExecClpbrd() local 942 nFormat = ((const SfxUInt32Item*)pItem)->GetValue(); in ExecClpbrd() 945 if ( nFormat ) in ExecClpbrd() 947 if (SOT_FORMAT_STRING == nFormat) in ExecClpbrd()
|
/trunk/main/sd/source/ui/func/ |
H A D | fuinsfil.cxx | 498 sal_uInt16 nFormat = EE_FORMAT_TEXT; in InsTextOrRTFinDrMode() local 501 nFormat = EE_FORMAT_RTF; in InsTextOrRTFinDrMode() 503 nFormat = EE_FORMAT_HTML; in InsTextOrRTFinDrMode() 531 …sal_uLong nErr = pOutliner->Read( *pStream, pMedium->GetBaseURL(), nFormat, mpDocSh->GetHeaderAttr… in InsTextOrRTFinDrMode() 627 sal_uInt16 nFormat = EE_FORMAT_TEXT; in InsTextOrRTFinOlMode() local 630 nFormat = EE_FORMAT_RTF; in InsTextOrRTFinOlMode() 632 nFormat = EE_FORMAT_HTML; in InsTextOrRTFinOlMode() 677 …sal_uLong nErr = pOutliner->Read(*pStream, pMedium->GetBaseURL(), nFormat, mpDocSh->GetHeaderAttri… in InsTextOrRTFinOlMode()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | headerfooterdlg.cxx | 584 int nFormat; in FillFormatList() local 585 for( nFormat = 0; nFormat < nDateTimeFormatsCount; nFormat++ ) in FillFormatList() 587 …String aStr( SvxDateTimeField::GetFormatted( aDate, aTime, nDateTimeFormats[nFormat], *(SD_MOD()->… in FillFormatList() 589 maCBDateTimeFormat.SetEntryData( nEntry, (void*)nDateTimeFormats[nFormat] ); in FillFormatList() 590 if( nDateTimeFormats[nFormat] == eFormat ) in FillFormatList() 623 int nFormat = (int)(sal_IntPtr)maCBDateTimeFormat.GetEntryData( nPos ); in init() local 624 if( nFormat == rSettings.meDateTimeFormat ) in init()
|
/trunk/main/sc/source/ui/view/ |
H A D | viewfunc.cxx | 444 sal_uInt32 nFormat = 0; in EnterData() local 445 pDoc->GetNumberFormat( nCol, nRow, nTab, nFormat ); in EnterData() 448 if ( !pFormatter->IsNumberFormat( aString, nFormat, fNumber ) ) in EnterData()
|
H A D | editsh.cxx | 265 sal_uLong nFormat = 0; in Execute() local 271 nFormat = ((const SfxUInt32Item*)pItem)->GetValue(); in Execute() 274 if ( nFormat ) in Execute() 276 if (SOT_FORMAT_STRING == nFormat) in Execute() 291 sal_uLong nFormat = 0; in Execute() local 300 nFormat = pDlg->GetFormat( aDataHelper.GetTransferable() ); in Execute() 311 if (nFormat > 0) in Execute() 313 if (SOT_FORMAT_STRING == nFormat) in Execute()
|
H A D | output2.cxx | 474 sal_uLong nFormat = GetValueFormat(); in SetText() local 476 nFormat, aString, &pColor, in SetText() 541 sal_uLong nFormat = GetResultValueFormat(pCell); in SetTextToWidthOrHash() local 542 if ((nFormat % SV_COUNTRY_LANGUAGE_OFFSET) != 0) in SetTextToWidthOrHash() 552 const SvNumberformat* pNumFormat = pOutput->pDoc->GetFormatTable()->GetEntry(nFormat); in SetTextToWidthOrHash() 2507 sal_uLong nFormat = pPattern->GetNumberFormat( in DrawEdit() local 2512 nFormat,aString, &pColor, in DrawEdit() 3268 sal_uLong nFormat = pPattern->GetNumberFormat( in DrawRotated() local 3273 nFormat,aString, &pColor, in DrawRotated()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | drtxtob.cxx | 192 sal_uLong nFormat = 0; in Execute() local 198 nFormat = ((const SfxUInt32Item*)pItem)->GetValue(); in Execute() 201 if ( nFormat ) in Execute() 203 if (nFormat == SOT_FORMAT_STRING) in Execute()
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 836 sal_uLong nFormat = pAttr->GetNumberFormat( pFormatter ); in WriteCell() local 1026 fVal = pDoc->RoundValueAsShown( fVal, nFormat ); in WriteCell() 1030 if ( (nFormat % SV_COUNTRY_LANGUAGE_OFFSET) == 0 ) in WriteCell() 1031 nFormat = ScGlobal::GetStandardFormat( fVal, *pFormatter, in WriteCell() 1032 nFormat, ((ScFormulaCell*)pCell)->GetFormatType() ); in WriteCell() 1040 nFormat, *pFormatter, eDestEnc, &aNonConvertibleChars ); in WriteCell() 1114 ScCellFormat::GetString( pCell, nFormat, aStrOut, &pColor, *pFormatter ); in WriteCell()
|
/trunk/main/sc/source/ui/app/ |
H A D | inputhdl.cxx | 1264 sal_uLong nFormat = aFormatter.GetStandardFormat( n, 0, in lcl_Calculate() local 1266 aFormatter.GetInputLineString( n, nFormat, aValue ); in lcl_Calculate() 1274 sal_uLong nFormat = aFormatter.GetStandardFormat( in lcl_Calculate() local 1276 aFormatter.GetOutputString( aStr, nFormat, in lcl_Calculate() 1900 sal_uLong nFormat = ((const SfxUInt32Item*)pItem)->GetValue(); in StartTable() local 1902 pDoc->GetFormatTable()->GetType( nFormat ) ); in StartTable() 2496 sal_uInt32 nFormat = pPattern->GetNumberFormat( pFormatter ); in EnterHandler() local 2498 if ( pFormatter->IsNumberFormat( aString, nFormat, nVal ) ) in EnterHandler()
|
H A D | transobj.cxx | 259 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData() local 262 if( HasFormat( nFormat ) ) in GetData() 264 …if ( nFormat == SOT_FORMATSTR_ID_LINKSRCDESCRIPTOR || nFormat == SOT_FORMATSTR_ID_OBJECTDESCRIPTOR… in GetData() 268 else if ( ( nFormat == SOT_FORMAT_RTF || nFormat == SOT_FORMATSTR_ID_EDITENGINE ) && in GetData() 301 else if ( ScImportExport::IsFormatSupported( nFormat ) || nFormat == SOT_FORMAT_RTF ) in GetData() 305 if ( nFormat == SOT_FORMATSTR_ID_LINK ) in GetData() 321 if ( aObj.ExportString( aString, nFormat ) ) in GetData() 334 else if ( nFormat == SOT_FORMAT_BITMAP || nFormat == SOT_FORMATSTR_ID_PNG ) in GetData() 348 else if ( nFormat == SOT_FORMAT_GDIMETAFILE ) in GetData() 377 else if ( nFormat == SOT_FORMATSTR_ID_EMBED_SOURCE ) in GetData() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | cell.cxx | 1696 sal_uLong nFormat = pDocument->GetNumberFormat( aPos ); in InterpretTail() local 1697 if ( nFormatIndex && (nFormat % SV_COUNTRY_LANGUAGE_OFFSET) == 0 ) in InterpretTail() 1698 nFormat = nFormatIndex; in InterpretTail() 1699 if ( (nFormat % SV_COUNTRY_LANGUAGE_OFFSET) == 0 ) in InterpretTail() 1700 nFormat = ScGlobal::GetStandardFormat( in InterpretTail() 1701 *pDocument->GetFormatTable(), nFormat, nFormatType ); in InterpretTail() 1703 aResult.GetDouble(), nFormat)); in InterpretTail() 1789 sal_uLong ScFormulaCell::GetStandardFormat( SvNumberFormatter& rFormatter, sal_uLong nFormat ) const in GetStandardFormat() 1791 if ( nFormatIndex && (nFormat % SV_COUNTRY_LANGUAGE_OFFSET) == 0 ) in GetStandardFormat() 1795 return ScGlobal::GetStandardFormat( aResult.GetDouble(), rFormatter, nFormat, nFormatType ); in GetStandardFormat() [all …]
|
H A D | column2.cxx | 244 sal_uLong nFormat = pPattern->GetNumberFormat( pFormatter, pCondSet ); in GetNeededSize() local 246 if ( bBreak && pCell->HasValueData() && ( nFormat % SV_COUNTRY_LANGUAGE_OFFSET ) == 0 ) in GetNeededSize() 250 …( static_cast<ScFormulaCell*>(pCell)->GetStandardFormat(*pFormatter, nFormat) % SV_COUNTRY_LANGUAG… in GetNeededSize() 338 ScCellFormat::GetString( pCell, nFormat, aValStr, &pColor, in GetNeededSize() 502 ScCellFormat::GetString( pCell, nFormat, aString, &pColor, in GetNeededSize() 640 sal_uLong nFormat = pPattern->GetNumberFormat( pFormatter ); in GetSimpleTextNeededSize() local 641 ScCellFormat::GetString( pCell, nFormat, aValStr, &pColor, in GetSimpleTextNeededSize()
|
H A D | global.cxx | 196 sal_uLong nFormat, short nType ) in GetStandardFormat() argument 198 const SvNumberformat* pFormat = rFormatter.GetEntry( nFormat ); in GetStandardFormat() 200 return rFormatter.GetStandardFormat( nFormat, nType, pFormat->GetLanguage() ); in GetStandardFormat() 205 sal_uLong nFormat, short nType ) in GetStandardFormat() argument 207 const SvNumberformat* pFormat = rFormatter.GetEntry( nFormat ); in GetStandardFormat() 209 return rFormatter.GetStandardFormat( fNumber, nFormat, nType, in GetStandardFormat()
|
/trunk/main/editeng/source/editeng/ |
H A D | editeng.cxx | 2642 static sal_uInt32 nFormat = 0; in RegisterClipboardFormatName() local 2643 if ( !nFormat ) in RegisterClipboardFormatName() 2644 …nFormat = SotExchange::RegisterFormatName( String( RTL_CONSTASCII_USTRINGPARAM( "EditEngineFormat"… in RegisterClipboardFormatName() 2645 return nFormat; in RegisterClipboardFormatName()
|