/aoo41x/main/svtools/source/filter/ |
H A D | FilterConfigCache.cxx | 353 if( nFormat < aImport.size() ) in GetImportFilterName() 408 if( nFormat < aImport.size() ) in GetImportFormatName() 415 if( nFormat < aImport.size() ) in GetImportFormatMediaType() 429 if ( (nFormat < aImport.size()) && (nEntry < aImport[ nFormat ].lExtensionList.getLength()) ) in GetImportFormatExtension() 458 return (nFormat < aImport.size()) && aImport[ nFormat ].bIsInternalFilter; in IsImportInternalFilter() 463 return (nFormat < aImport.size()) && aImport[ nFormat ].bIsPixelFormat; in IsImportPixelFormat() 468 return (nFormat < aImport.size()) && aImport[ nFormat ].bHasDialog; in IsImportDialog() 551 if ( (nFormat < aExport.size()) && (nEntry < aExport[ nFormat ].lExtensionList.getLength()) ) in GetExportFormatExtension() 580 return (nFormat < aExport.size()) && aExport[ nFormat ].bIsInternalFilter; in IsExportInternalFilter() 585 return (nFormat < aExport.size()) && aExport[ nFormat ].bIsPixelFormat; in IsExportPixelFormat() [all …]
|
H A D | FilterConfigCache.hxx | 103 String GetImportFilterName( sal_uInt16 nFormat ); 104 String GetImportFormatName( sal_uInt16 nFormat ); 106 String GetImportFormatMediaType( sal_uInt16 nFormat ); 112 sal_Bool IsImportInternalFilter( sal_uInt16 nFormat ); 113 sal_Bool IsImportPixelFormat( sal_uInt16 nFormat ); 114 sal_Bool IsImportDialog( sal_uInt16 nFormat ); 122 String GetExportFilterName( sal_uInt16 nFormat ); 123 String GetExportFormatName( sal_uInt16 nFormat ); 131 sal_Bool IsExportInternalFilter( sal_uInt16 nFormat ); 132 sal_Bool IsExportPixelFormat( sal_uInt16 nFormat ); [all …]
|
H A D | filter.cxx | 1217 return pConfig->GetImportFormatName( nFormat ); in GetImportFormatName() 1260 return pConfig->IsImportPixelFormat( nFormat ); in IsImportPixelFormat() 1302 return pConfig->GetExportFormatName( nFormat ); in GetExportFormatName() 1377 *pDeterminedFormat = nFormat; in CanImportGraphic() 1487 *pDeterminedFormat = nFormat; in ImportGraphic() 1763 if( nFormat != GRFILTER_FORMAT_DONTKNOW ) in ImportGraphic() 1851 if( nFormat == GRFILTER_FORMAT_DONTKNOW ) in ExportGraphic() 1861 nFormat=i; in ExportGraphic() 1866 if( nFormat >= nFormatCount ) in ExportGraphic() 1880 if( pConfig->IsExportPixelFormat( nFormat ) ) in ExportGraphic() [all …]
|
H A D | filter2.cxx | 139 nFormat = GFF_NOT; in ImpConstruct() 171 nFormat = GFF_BMP; 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() 835 nFormat = GFF_XBM; in ImpDetectXBM() 851 nFormat = GFF_XPM; in ImpDetectXPM() 882 nFormat = GFF_PBM; in ImpDetectPBM() 910 nFormat = GFF_PGM; in ImpDetectPGM() [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() 297 String GetImportOSFileType( sal_uInt16 nFormat ); 299 sal_Bool IsImportPixelFormat( sal_uInt16 nFormat ); 310 String GetExportOSFileType( sal_uInt16 nFormat ); 312 sal_Bool IsExportPixelFormat( sal_uInt16 nFormat ); 314 sal_Bool HasImportDialog( sal_uInt16 nFormat ); 317 sal_Bool HasExportDialog( sal_uInt16 nFormat ); 322 sal_uInt16 nFormat = GRFILTER_FORMAT_DONTKNOW, 348 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; 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 ); 371 sal_Bool GetGraphic( SotFormatStringId nFormat, Graphic& rGraphic ); [all …]
|
/aoo41x/main/xmloff/source/draw/ |
H A D | XMLNumberStyles.cxx | 450 if( nFormat > 1 ) in getTimeStyleName() 451 nFormat -= 2; in getTimeStyleName() 453 if( (nFormat >= 0) && (nFormat < SdXMLTimeFormatCount) ) in getTimeStyleName() 467 if( nFormat > 0x0f ) in getDateStyleName() 470 if( nFormat & 0x0f ) in getDateStyleName() 476 if( nFormat > 1 ) in getDateStyleName() 477 nFormat -= 2; in getDateStyleName() 479 if( (nFormat >= 0) && (nFormat < SdXMLDateFormatCount) ) in getDateStyleName() 683 for( sal_Int16 nFormat = 0; nFormat < SdXMLTimeFormatCount; nFormat++ ) in EndElement() local 696 for( sal_Int16 nFormat = 0; nFormat < SdXMLDateFormatCount; nFormat++ ) in EndElement() local [all …]
|
/aoo41x/main/sc/source/core/tool/ |
H A D | cellform.cxx | 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() 152 rFormatter.GetOutputString( fValue, nFormat, rString, ppColor ); in GetString() 196 rFormatter.GetInputLineString( nValue, nFormat, rString ); in GetInputString() [all …]
|
/aoo41x/main/sc/source/filter/inc/ |
H A D | tool.h | 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 ); 140 aCompareIdent.SetStamp( nFormat, nSt ); in GetAttr() 148 pAttr = NewAttr( nFormat, nSt ); in GetAttr() [all …]
|
/aoo41x/main/svtools/source/misc/ |
H A D | transfer.cxx | 749 if( nFormat == (*aIter).mnSotId ) in HasFormat() 1572 if( nFormat == (*aIter++).mnSotId ) in HasFormat() 1618 return( ( nFormat < mpFormats->size() ) ? (*mpFormats)[ nFormat ].mnSotId : 0 ); in GetFormat() 1630 if( nFormat < mpFormats->size() ) in GetFormatDataFlavor() 1631 aRet = (*mpFormats)[ nFormat ]; in GetFormatDataFlavor() 1668 if ( SotExchange::GetFormatDataFlavor( nFormat, aFlavor ) ) in GetAny() 1720 sal_Bool bRet = GetString( nFormat, aOUString ); in GetString() 1787 if(FORMAT_BITMAP == nFormat) in GetBitmapEx() 1949 if(FORMAT_BITMAP == nFormat) in GetGraphic() 2069 switch( nFormat ) in GetINetBookmark() [all …]
|
/aoo41x/main/vcl/unx/generic/app/ |
H A D | wmadaptor.cxx | 250 int nFormat = 8; in WMAdaptor() local 321 &nFormat, in WMAdaptor() 357 &nFormat, in WMAdaptor() 374 &nFormat, in WMAdaptor() 395 &nFormat, in WMAdaptor() 436 int nFormat = 8; in NetWMAdaptor() local 459 && nFormat == 32 in NetWMAdaptor() 630 int nFormat = 8; in GnomeWMAdaptor() local 715 && nFormat == 32 in GnomeWMAdaptor() 835 int nFormat = 8; in getNetWmName() local [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() 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() 330 if (nFormat == (sal_uLong)GetEntryData(i)) in SetDefFormat() [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 | 1048 if (nFormat != LISTBOX_ENTRY_NOTFOUND) in IMPL_LINK() 1049 nFormat = (sal_uLong)aFormatLB.GetEntryData((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() 1193 nFormat = 0; in FillItemSet() 1195 nFormat = (sal_uLong)aFormatLB.GetEntryData((sal_uInt16)nFormat); in FillItemSet() 1199 nFormat = aNumFormatLB.GetFormat(); in FillItemSet() 1201 if (nFormat && nFormat != ULONG_MAX && aNumFormatLB.IsAutomaticLanguage()) in FillItemSet() 1211 nFormat = SwValueField::GetSystemFormat(pSh->GetNumberFormatter(), nFormat); 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() 115 sal_uInt8 nFormat; in OP_Number() local 120 r >> nFormat >> nCol >> nRow >> fValue; 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() 163 sal_uInt8 nFormat; in OP_Formula() local 167 r >> nFormat >> nCol >> nRow; in OP_Formula() 359 sal_uInt8 nFormat; in OP_Blank() local [all …]
|
/aoo41x/main/l10ntools/source/filter/utils/ |
H A D | Cache.java | 295 nFormat = FORMAT_60; in mapFormatString2Format() 298 nFormat = FORMAT_6Y; in mapFormatString2Format() 302 return nFormat; in mapFormatString2Format() 713 switch(nFormat) in convertTypePropsToExternal() 813 switch(nFormat) in convertFilterPropsToExternal() 914 switch(nFormat) in convertDetectServicePropsToExternal() 947 switch(nFormat) in convertFrameLoaderPropsToExternal() 980 switch(nFormat) in convertContentHandlerPropsToExternal() 1036 switch(nFormat) in convertTypePropsToInternal() 1159 switch(nFormat) in convertFilterPropsToInternal() [all …]
|
/aoo41x/main/sw/source/ui/dochdl/ |
H A D | swdtflvr.cxx | 498 switch( nFormat ) in GetData() 1117 sal_uLong nFormat = 0; in Paste() local 1148 nFormat = SOT_FORMAT_RTF; in Paste() 1309 switch( nFormat ) in PasteData() 1468 switch( nFormat ) in PasteData() 2102 sal_uLong nFormat; in _PasteDDE() local 2854 sal_uLong nFormat ) in PasteFormat() argument 2884 nFormat, nEventAction, nFormat, in PasteFormat() 2906 nEventAction, nFormat, in _TestAllowedFormat() 3006 if( nFormat ) in PasteSpecial() [all …]
|
/aoo41x/main/xmlscript/source/xmldlg_imexp/ |
H A D | xmldlg_import.cxx | 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() 1166 nFormat = 9; in importDateFormatProperty() [all …]
|
/aoo41x/main/sot/source/base/ |
H A D | exchange.cxx | 342 if( SOT_FORMATSTR_ID_USER_END >= 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() 389 nFormat -= SOT_FORMATSTR_ID_USER_END + 1; in GetFormatMimeType() 391 if( rL.Count() > nFormat ) in GetFormatMimeType() 392 sMimeType = ((DataFlavor*) rL.GetObject( nFormat ))->MimeType; in GetFormatMimeType() 482 String SotExchange::GetFormatName( sal_uLong nFormat ) in GetFormatName() argument [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() 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 …]
|
/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() 729 sal_uInt16 nType, nFormat; in Load() local 735 rStm >> nFormat; in Load() [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() 405 sal_Int32 nFormat = xNumberFormats->queryKey(_sFormatString, _aLocale , sal_True); in setNumberFormat() local 406 if (nFormat == -1) in setNumberFormat() 425 sal_Int32 nFormat = -1; in setNumberFormatLocal() local 428 || !( mxPropertySet->getPropertyValue(sNumFormat) >>= nFormat ) ) in setNumberFormatLocal() 463 if (nFormat == -1) in setNumberFormat() 464 nFormat = xNumberFormats->addNew(sFormatString, aDefaultLocale); in setNumberFormat() 468 sal_Int32 nNewFormat = xNumberFormatTypes->getFormatForLocale(nFormat, aRangeLocale); in setNumberFormat() 739 sal_Int32 nFormat = -1; in getNumberFormat() local [all …]
|