| /AOO41X/main/svtools/source/filter/ |
| H A D | FilterConfigCache.cxx | 351 String FilterConfigCache::GetImportFilterName( sal_uInt16 nFormat ) in GetImportFilterName() argument 353 if( nFormat < aImport.size() ) in GetImportFilterName() 354 return aImport[ nFormat ].sFilterName; in GetImportFilterName() 406 String FilterConfigCache::GetImportFormatName( sal_uInt16 nFormat ) in GetImportFormatName() argument 408 if( nFormat < aImport.size() ) in GetImportFormatName() 409 return aImport[ nFormat ].sUIName; in GetImportFormatName() 413 String FilterConfigCache::GetImportFormatMediaType( sal_uInt16 nFormat ) in GetImportFormatMediaType() argument 415 if( nFormat < aImport.size() ) in GetImportFormatMediaType() 416 return aImport[ nFormat ].sMediaType; in GetImportFormatMediaType() 420 String FilterConfigCache::GetImportFormatShortName( sal_uInt16 nFormat ) in GetImportFormatShortName() argument [all …]
|
| H A D | FilterConfigCache.hxx | 103 String GetImportFilterName( sal_uInt16 nFormat ); 104 String GetImportFormatName( sal_uInt16 nFormat ); 105 String GetImportFormatExtension( sal_uInt16 nFormat, sal_Int32 nEntry = 0); 106 String GetImportFormatMediaType( sal_uInt16 nFormat ); 107 String GetImportFormatShortName( sal_uInt16 nFormat ); 108 String GetImportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry ); 109 String GetImportFilterType( sal_uInt16 nFormat ); 110 String GetImportFilterTypeName( sal_uInt16 nFormat ); 112 sal_Bool IsImportInternalFilter( sal_uInt16 nFormat ); 113 sal_Bool IsImportPixelFormat( sal_uInt16 nFormat ); [all …]
|
| H A D | filter.cxx | 1215 String GraphicFilter::GetImportFormatName( sal_uInt16 nFormat ) in GetImportFormatName() argument 1217 return pConfig->GetImportFormatName( nFormat ); in GetImportFormatName() 1222 String GraphicFilter::GetImportFormatTypeName( sal_uInt16 nFormat ) in GetImportFormatTypeName() argument 1224 return pConfig->GetImportFilterTypeName( nFormat ); in GetImportFormatTypeName() 1229 String GraphicFilter::GetImportFormatMediaType( sal_uInt16 nFormat ) in GetImportFormatMediaType() argument 1231 return pConfig->GetImportFormatMediaType( nFormat ); in GetImportFormatMediaType() 1236 String GraphicFilter::GetImportFormatShortName( sal_uInt16 nFormat ) in GetImportFormatShortName() argument 1238 return pConfig->GetImportFormatShortName( nFormat ); in GetImportFormatShortName() 1251 String GraphicFilter::GetImportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry ) in GetImportWildcard() argument 1253 return pConfig->GetImportWildcard( nFormat, nEntry ); in GetImportWildcard() [all …]
|
| H A D | filter2.cxx | 139 nFormat = GFF_NOT; in ImpConstruct() 171 nFormat = GFF_BMP; in ImpDetectBMP() 217 nFormat = GFF_NOT; in ImpDetectBMP() 249 nFormat = GFF_GIF; in ImpDetectGIF() 320 nFormat = GFF_JPG; in ImpDetectJPG() 493 nFormat = GFF_PCD; in ImpDetectPCD() 524 nFormat = GFF_PCX; in ImpDetectPCX() 610 nFormat = GFF_PNG; in ImpDetectPNG() 723 nFormat = GFF_TIF; in ImpDetectTIF() 835 nFormat = GFF_XBM; in ImpDetectXBM() [all …]
|
| /AOO41X/main/svtools/inc/svtools/ |
| H A D | filter.hxx | 149 sal_uInt16 nFormat; member in GraphicDescriptor 210 sal_uInt16 GetFileFormat() const { return nFormat; } in GetFileFormat() 230 static String GetImportFormatShortName( sal_uInt16 nFormat ); 293 String GetImportFormatName( sal_uInt16 nFormat ); 294 String GetImportFormatTypeName( sal_uInt16 nFormat ); 295 String GetImportFormatMediaType( sal_uInt16 nFormat ); 296 String GetImportFormatShortName( sal_uInt16 nFormat ); 297 String GetImportOSFileType( sal_uInt16 nFormat ); 298 String GetImportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry = 0 ); 299 sal_Bool IsImportPixelFormat( sal_uInt16 nFormat ); [all …]
|
| H A D | transfer.hxx | 250 void AddFormat( SotFormatStringId nFormat ); 252 void RemoveFormat( SotFormatStringId nFormat ); 254 sal_Bool HasFormat( SotFormatStringId nFormat ); 339 sal_Bool HasFormat( SotFormatStringId nFormat ) const; 344 SotFormatStringId GetFormat( sal_uInt32 nFormat ) const; 345 ::com::sun::star::datatransfer::DataFlavor GetFormatDataFlavor( sal_uInt32 nFormat ) const; 356 ::com::sun::star::uno::Any GetAny( SotFormatStringId nFormat ) const; 359 sal_Bool GetString( SotFormatStringId nFormat, String& rStr ); 362 sal_Bool GetString( SotFormatStringId nFormat, ::rtl::OUString& rStr ); 365 sal_Bool GetBitmapEx( SotFormatStringId nFormat, BitmapEx& rBmp ); [all …]
|
| /AOO41X/main/xmloff/source/draw/ |
| H A D | XMLNumberStyles.cxx | 449 sal_Int32 nFormat = nTimeFormat; in getTimeStyleName() local 450 if( nFormat > 1 ) in getTimeStyleName() 451 nFormat -= 2; in getTimeStyleName() 453 if( (nFormat >= 0) && (nFormat < SdXMLTimeFormatCount) ) in getTimeStyleName() 455 return OUString::createFromAscii(aSdXMLFixedTimeFormats[nFormat]->mpName ); in getTimeStyleName() 465 sal_Int32 nFormat = nDateFormat; in getDateStyleName() local 467 if( nFormat > 0x0f ) in getDateStyleName() 470 if( nFormat & 0x0f ) in getDateStyleName() 471 aStr = getDateStyleName( nFormat & 0x0f ); in getDateStyleName() 472 aStr += getTimeStyleName( (nFormat >> 4) & 0x0f ); in getDateStyleName() [all …]
|
| /AOO41X/main/sc/source/core/tool/ |
| H A D | cellform.cxx | 46 void ScCellFormat::GetString( ScBaseCell* pCell, sal_uLong nFormat, String& rString, in GetString() argument 66 rFormatter.GetOutputString( aCellString, nFormat, rString, ppColor ); in GetString() 73 rFormatter.GetOutputString( aCellString, nFormat, rString, ppColor ); in GetString() 85 if( nFormat && rFormatter.IsTextFormat( nFormat ) ) in GetString() 92 rFormatter.GetOutputString( aTemp, nFormat, rString, ppColor ); in GetString() 95 rFormatter.GetOutputString( nValue, nFormat, rString, ppColor ); in GetString() 123 if ( (nFormat % SV_COUNTRY_LANGUAGE_OFFSET) == 0 ) in GetString() 124 nFormat = pFCell->GetStandardFormat( rFormatter, in GetString() 125 nFormat ); in GetString() 133 const SvNumberformat* pNumFmt = rFormatter.GetEntry( nFormat ); in GetString() [all …]
|
| /AOO41X/main/sc/source/filter/inc/ |
| H A D | tool.h | 36 void SetFormat( SCCOL nCol, SCROW nRow, SCTAB nTab, sal_uInt8 nFormat, sal_uInt8 nSt ); 64 FormIdent( sal_uInt8 nFormat, sal_uInt8 nSt, SfxUInt32Item& rAttr ) in FormIdent() argument 66 nStamp = MAKE_STAMP( nFormat, nSt ); in FormIdent() 70 FormIdent( sal_uInt8 nFormat, sal_uInt8 nSt ) in FormIdent() argument 72 nStamp = MAKE_STAMP( nFormat, nSt ); in FormIdent() 96 void SetStamp( sal_uInt8 nFormat, sal_uInt8 nSt ) in SetStamp() argument 98 nStamp = MAKE_STAMP( nFormat, nSt ); in SetStamp() 119 SfxUInt32Item* NewAttr( sal_uInt8 nFormat, sal_uInt8 nSt ); 124 inline const SfxUInt32Item* GetAttr( sal_uInt8 nFormat, sal_uInt8 nSt ); 132 inline const SfxUInt32Item* FormCache::GetAttr( sal_uInt8 nFormat, sal_uInt8 nSt ) in GetAttr() argument [all …]
|
| /AOO41X/main/svtools/source/misc/ |
| H A D | transfer.cxx | 643 void TransferableHelper::AddFormat( SotFormatStringId nFormat ) in AddFormat() argument 647 if( SotExchange::GetFormatDataFlavor( nFormat, aFlavor ) ) in AddFormat() 714 void TransferableHelper::RemoveFormat( SotFormatStringId nFormat ) in RemoveFormat() argument 718 if( SotExchange::GetFormatDataFlavor( nFormat, aFlavor ) ) in RemoveFormat() 742 sal_Bool TransferableHelper::HasFormat( SotFormatStringId nFormat ) in HasFormat() argument 749 if( nFormat == (*aIter).mnSotId ) in HasFormat() 1563 sal_Bool TransferableDataHelper::HasFormat( SotFormatStringId nFormat ) const in HasFormat() 1572 if( nFormat == (*aIter++).mnSotId ) in HasFormat() 1614 SotFormatStringId TransferableDataHelper::GetFormat( sal_uInt32 nFormat ) const in GetFormat() 1617 …DBG_ASSERT( nFormat < mpFormats->size(), "TransferableDataHelper::GetFormat: invalid format index"… in GetFormat() [all …]
|
| /AOO41X/main/vcl/unx/generic/app/ |
| H A D | wmadaptor.cxx | 250 int nFormat = 8; in WMAdaptor() local 277 &nFormat, in WMAdaptor() 289 &nFormat, in WMAdaptor() 321 &nFormat, in WMAdaptor() 357 &nFormat, in WMAdaptor() 374 &nFormat, in WMAdaptor() 395 &nFormat, in WMAdaptor() 436 int nFormat = 8; in NetWMAdaptor() local 454 &nFormat, in NetWMAdaptor() 459 && nFormat == 32 in NetWMAdaptor() [all …]
|
| /AOO41X/main/sot/source/sdstor/ |
| H A D | storinfo.cxx | 51 sal_uInt32 nFormat = 0; in ReadClipboardFormat() local 63 …nFormat = SotExchange::RegisterFormatName( String::CreateFromAscii( p, xub_StrLen( ( nLen - 1 ) & … in ReadClipboardFormat() 72 rStm >> nFormat; in ReadClipboardFormat() 75 rStm >> nFormat; in ReadClipboardFormat() 85 return nFormat; in ReadClipboardFormat() 88 void WriteClipboardFormat( SvStream & rStm, sal_uLong nFormat ) in WriteClipboardFormat() argument 92 if( nFormat > FORMAT_GDIMETAFILE ) in WriteClipboardFormat() 93 aCbFmt = SotExchange::GetFormatName( nFormat ); in WriteClipboardFormat() 101 else if( nFormat ) in WriteClipboardFormat() 103 << (sal_Int32) nFormat; in WriteClipboardFormat()
|
| /AOO41X/main/sw/source/ui/utlui/ |
| H A D | numfmtlb.cxx | 242 sal_uLong nFormat; in SetFormatType() local 256 nFormat = pFormatter->GetFormatIndex( in SetFormatType() 258 pFmt = pFormatter->GetEntry( nFormat ); in SetFormatType() 260 if( nFormat == pFormatter->GetFormatIndex( NF_NUMBER_STANDARD, in SetFormatType() 268 pFormatter->GetOutputString( sTxt, nFormat, sValue, &pCol); in SetFormatType() 271 if (nFormat != nSysNumFmt && in SetFormatType() 272 nFormat != nSysShortDateFmt && in SetFormatType() 273 nFormat != nSysLongDateFmt) in SetFormatType() 276 SetEntryData( nPos, (void*)nFormat ); in SetFormatType() 278 if( nFormat == pFormatter->GetStandardFormat( in SetFormatType() [all …]
|
| /AOO41X/main/vcl/unx/headless/ |
| H A D | svpvd.cxx | 62 sal_uInt32 nFormat = SVP_DEFAULT_BITMAP_FORMAT; in SetSize() local 66 case 1: nFormat = Format::ONE_BIT_MSB_PAL; in SetSize() 71 case 4: nFormat = Format::FOUR_BIT_MSB_PAL; break; in SetSize() 72 case 8: nFormat = Format::EIGHT_BIT_PAL; break; in SetSize() 74 case 16: nFormat = Format::SIXTEEN_BIT_MSB_TC_MASK; break; in SetSize() 76 case 16: nFormat = Format::SIXTEEN_BIT_LSB_TC_MASK; break; in SetSize() 79 case 24: nFormat = Format::TWENTYFOUR_BIT_TC_MASK; break; in SetSize() 80 case 32: nFormat = Format::THIRTYTWO_BIT_TC_MASK; break; in SetSize() 83 ? createBitmapDevice( aDevSize, false, nFormat ) in SetSize() 84 …: createBitmapDevice( aDevSize, false, nFormat, PaletteMemorySharedVector( new std::vector< basebm… in SetSize()
|
| H A D | svpbmp.cxx | 45 sal_uInt32 nFormat = SVP_DEFAULT_BITMAP_FORMAT; in Create() local 48 case 1: nFormat = Format::ONE_BIT_MSB_PAL; break; in Create() 49 case 4: nFormat = Format::FOUR_BIT_MSB_PAL; break; in Create() 50 case 8: nFormat = Format::EIGHT_BIT_PAL; break; in Create() 52 case 16: nFormat = Format::SIXTEEN_BIT_MSB_TC_MASK; break; in Create() 54 case 16: nFormat = Format::SIXTEEN_BIT_LSB_TC_MASK; break; in Create() 56 case 24: nFormat = Format::TWENTYFOUR_BIT_TC_MASK; break; in Create() 57 case 32: nFormat = Format::THIRTYTWO_BIT_TC_MASK; break; in Create() 65 m_aBitmap = createBitmapDevice( aSize, false, nFormat ); in Create() 78 m_aBitmap = createBitmapDevice( aSize, false, nFormat, in Create()
|
| /AOO41X/main/sw/source/ui/fldui/ |
| H A D | fldvar.cxx | 1047 sal_uLong nFormat = aFormatLB.GetSelectEntryPos(); in IMPL_LINK() local 1048 if (nFormat != LISTBOX_ENTRY_NOTFOUND) in IMPL_LINK() 1049 nFormat = (sal_uLong)aFormatLB.GetEntryData((sal_uInt16)nFormat); in IMPL_LINK() 1078 if (nFormat != LISTBOX_ENTRY_NOTFOUND) in IMPL_LINK() 1085 ((SwDDEFieldType*)pType)->SetType((sal_uInt16)nFormat); in IMPL_LINK() 1116 if (nFormat != LISTBOX_ENTRY_NOTFOUND) in IMPL_LINK() 1123 SwDDEFieldType aType(sName, sValue, (sal_uInt16)nFormat); in IMPL_LINK() 1186 sal_uLong nFormat; in FillItemSet() local 1190 nFormat = aFormatLB.GetSelectEntryPos(); in FillItemSet() 1192 if(nFormat == LISTBOX_ENTRY_NOTFOUND) in FillItemSet() [all …]
|
| /AOO41X/main/sc/source/filter/lotus/ |
| H A D | op.cxx | 95 sal_uInt8 nFormat; in OP_Integer() local 100 r >> nFormat >> nCol >> nRow >> nValue; in OP_Integer() 108 SetFormat( static_cast<SCCOL> (nCol), static_cast<SCROW> (nRow), nTab, nFormat, 0 ); in OP_Integer() 115 sal_uInt8 nFormat; in OP_Number() local 120 r >> nFormat >> nCol >> nRow >> fValue; in OP_Number() 128 SetFormat( static_cast<SCCOL> (nCol), static_cast<SCROW> (nRow), nTab, nFormat, nDezFloat ); in OP_Number() 135 sal_uInt8 nFormat; in OP_Label() local 139 r >> nFormat >> nCol >> nRow; in OP_Label() 149 nFormat &= 0x80; // Bit 7 belassen in OP_Label() 150 nFormat |= 0x75; // protected egal, special-text gesetzt in OP_Label() [all …]
|
| /AOO41X/main/l10ntools/source/filter/utils/ |
| H A D | Cache.java | 293 int nFormat = FORMAT_UNSUPPORTED; in mapFormatString2Format() local 295 nFormat = FORMAT_60; in mapFormatString2Format() 298 nFormat = FORMAT_6Y; in mapFormatString2Format() 301 nFormat = FORMAT_INTERNAL; in mapFormatString2Format() 302 return nFormat; in mapFormatString2Format() 346 int nFormat) in fromXML() argument 442 aPropSet = Cache.convertTypePropsToInternal(aTempSet, nFormat); in fromXML() 449 aPropSet = Cache.convertFilterPropsToInternal(aTempSet, nFormat); in fromXML() 456 aPropSet = Cache.convertDetectServicePropsToInternal(aTempSet, nFormat); in fromXML() 463 aPropSet = Cache.convertFrameLoaderPropsToInternal(aTempSet, nFormat); in fromXML() [all …]
|
| /AOO41X/main/sw/source/ui/dochdl/ |
| H A D | swdtflvr.cxx | 388 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData() local 394 if( !HasFormat( nFormat ) || ( pClpDocFac == NULL && pWrtShell == NULL ) ) in GetData() 489 if ( nFormat == SOT_FORMAT_GDIMETAFILE ) in GetData() 498 switch( nFormat ) in GetData() 1094 sal_uLong nFormat; // output param for GetExchangeAction in IsPaste() local 1101 nFormat, nEventAction, 0, in IsPaste() 1117 sal_uLong nFormat = 0; in Paste() local 1138 nFormat, nEventAction, 0, in Paste() 1148 nFormat = SOT_FORMAT_RTF; in Paste() 1153 SwTransferable::PasteData( rData, rSh, nAction, nFormat, in Paste() [all …]
|
| /AOO41X/main/xmlscript/source/xmldlg_imexp/ |
| H A D | xmldlg_import.cxx | 1127 sal_Int16 nFormat; in importDateFormatProperty() local 1130 nFormat = 0; in importDateFormatProperty() 1134 nFormat = 1; in importDateFormatProperty() 1138 nFormat = 2; in importDateFormatProperty() 1142 nFormat = 3; in importDateFormatProperty() 1146 nFormat = 4; in importDateFormatProperty() 1150 nFormat = 5; in importDateFormatProperty() 1154 nFormat = 6; in importDateFormatProperty() 1158 nFormat = 7; in importDateFormatProperty() 1162 nFormat = 8; in importDateFormatProperty() [all …]
|
| /AOO41X/main/sot/source/base/ |
| H A D | exchange.cxx | 338 sal_Bool SotExchange::GetFormatDataFlavor( sal_uLong nFormat, DataFlavor& rFlavor ) in GetFormatDataFlavor() argument 342 if( SOT_FORMATSTR_ID_USER_END >= nFormat ) in GetFormatDataFlavor() 344 const DataFlavorRepresentation& rData = FormatArray_Impl::get()[nFormat]; in GetFormatDataFlavor() 355 nFormat -= SOT_FORMATSTR_ID_USER_END + 1; in GetFormatDataFlavor() 357 if( rL.Count() > nFormat ) in GetFormatDataFlavor() 359 rFlavor = *(DataFlavor*) rL.GetObject( nFormat ); in GetFormatDataFlavor() 380 String SotExchange::GetFormatMimeType( sal_uLong nFormat ) in GetFormatMimeType() argument 383 if( SOT_FORMATSTR_ID_USER_END >= nFormat ) in GetFormatMimeType() 384 sMimeType.AssignAscii( FormatArray_Impl::get()[nFormat].pMimeType ); in GetFormatMimeType() 389 nFormat -= SOT_FORMATSTR_ID_USER_END + 1; in GetFormatMimeType() [all …]
|
| /AOO41X/main/sc/source/ui/app/ |
| 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() 298 (nFormat == FORMAT_RTF) ? SCTRANS_TYPE_EDIT_RTF : SCTRANS_TYPE_EDIT_BIN, 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() [all …]
|
| /AOO41X/main/editeng/source/items/ |
| H A D | flditem.cxx | 241 sal_uInt16 nType, nFormat; in Load() local 245 rStm >> nFormat; in Load() 248 eFormat= (SvxDateFormat)nFormat; in Load() 397 sal_uInt16 nFormat = 0; in Load() local 399 rStm >> nFormat; in Load() 400 eFormat= (SvxURLFormat)nFormat; in Load() 590 sal_uInt16 nType, nFormat; in Load() local 594 rStm >> nFormat; in Load() 597 eFormat= (SvxTimeFormat) nFormat; in Load() 729 sal_uInt16 nType, nFormat; in Load() local [all …]
|
| /AOO41X/main/cui/source/dialogs/ |
| H A D | pastedlg.cxx | 128 void SvPasteObjectDialog::Insert( SotFormatStringId nFormat, const String& rFormatName ) in Insert() argument 131 if( !aSupplementTable.Insert( nFormat, pStr ) ) in Insert() 159 SotFormatStringId nFormat = (*aIter++).mnSotId; in GetFormat() local 161 String* pName = (String*) aSupplementTable.Get( nFormat ); in GetFormat() 217 SvPasteObjectHelper::GetEmbeddedName(rHelper,aName,aSourceName,nFormat); in GetFormat() 227 if( SOT_FORMATSTR_ID_EMBED_SOURCE == nFormat ) in GetFormat() 238 else if( SOT_FORMATSTR_ID_LINK_SOURCE == nFormat ) in GetFormat() 244 aName = SvPasteObjectHelper::GetSotFormatUIName( nFormat ); in GetFormat() 248 ObjectLB().InsertEntry( aName ), (void*) nFormat ); in GetFormat()
|
| /AOO41X/main/sc/source/ui/vba/ |
| H A D | vbaformat.cxx | 380 sal_Int32 nFormat = 0; in getNumberFormatLocal() local 381 if ( ! (mxPropertySet->getPropertyValue( sPropName ) >>= nFormat ) ) in getNumberFormatLocal() 385 …xNumberFormats->getByKey(nFormat)->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( F… in getNumberFormatLocal() 405 sal_Int32 nFormat = xNumberFormats->queryKey(_sFormatString, _aLocale , sal_True); in setNumberFormat() local 406 if (nFormat == -1) in setNumberFormat() 410 …yValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( SC_UNO_NUMBERFO ) ), uno::makeAny( nFormat ) ); in setNumberFormat() 425 sal_Int32 nFormat = -1; in setNumberFormatLocal() local 428 || !( mxPropertySet->getPropertyValue(sNumFormat) >>= nFormat ) ) in setNumberFormatLocal() 434 …xNumberFormats->getByKey(nFormat)->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( L… in setNumberFormatLocal() 461 sal_Int32 nFormat = xNumberFormats->queryKey(sFormatString, aDefaultLocale, sal_True); in setNumberFormat() local [all …]
|