Home
last modified time | relevance | path

Searched refs:aMimeType (Results 1 – 18 of 18) sorted by relevance

/aoo4110/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/
H A Dfilterdetect.cxx138 OString aMimeType = aHead.copy(n, aHead.indexOf('\"', n) - n); in detect() local
140 if (aMimeType.equals("application/x-vnd.oasis.opendocument.text") || in detect()
141 aMimeType.equals("application/vnd.oasis.opendocument.text")) in detect()
144 aMimeType.equals("application/vnd.oasis.opendocument.text-master")) in detect()
146 else if (aMimeType.equals("application/x-vnd.oasis.openoffice.text-global") || in detect()
147 aMimeType.equals("application/vnd.oasis.openoffice.text-global")) in detect()
149 else if (aMimeType.equals("application/x-vnd.oasis.opendocument.spreadsheet") || in detect()
150 aMimeType.equals("application/vnd.oasis.opendocument.spreadsheet")) in detect()
152 else if (aMimeType.equals("application/x-vnd.oasis.opendocument.drawing") || in detect()
153 aMimeType.equals("application/vnd.oasis.opendocument.drawing")) in detect()
[all …]
/aoo4110/main/svtools/source/graphic/
H A Dprovider.cxx785 ::rtl::OUString aMimeType; in storeGraphic()
787 aValue >>= aMimeType; in storeGraphic()
789 if( COMPARE_EQUAL == aMimeType.compareToAscii( MIMETYPE_BMP ) ) in storeGraphic()
791 else if( COMPARE_EQUAL == aMimeType.compareToAscii( MIMETYPE_EPS ) ) in storeGraphic()
793 else if( COMPARE_EQUAL == aMimeType.compareToAscii( MIMETYPE_GIF ) ) in storeGraphic()
795 else if( COMPARE_EQUAL == aMimeType.compareToAscii( MIMETYPE_JPG ) ) in storeGraphic()
797 else if( COMPARE_EQUAL == aMimeType.compareToAscii( MIMETYPE_MET ) ) in storeGraphic()
799 else if( COMPARE_EQUAL == aMimeType.compareToAscii( MIMETYPE_PNG ) ) in storeGraphic()
801 else if( COMPARE_EQUAL == aMimeType.compareToAscii( MIMETYPE_PCT ) ) in storeGraphic()
803 else if( COMPARE_EQUAL == aMimeType.compareToAscii( MIMETYPE_PBM ) ) in storeGraphic()
[all …]
H A Ddescriptor.cxx381 ::rtl::OUString aMimeType; in _getPropertyValues()
411 aMimeType = ::rtl::OUString::createFromAscii( pMimeType ); in _getPropertyValues()
414 if( !aMimeType.getLength() && ( mpGraphic->GetType() != GRAPHIC_NONE ) ) in _getPropertyValues()
415 aMimeType = ::rtl::OUString::createFromAscii( MIMETYPE_VCLGRAPHIC ); in _getPropertyValues()
418 aMimeType = maMimeType; in _getPropertyValues()
420 *pValues <<= aMimeType; in _getPropertyValues()
/aoo4110/main/sd/source/filter/grf/
H A Dsdgrffilter.cxx392 OUString aMimeType; in SaveGraphic() local
402 …raphicSet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "MimeType" ) ) ) >>= aMimeType; in SaveGraphic()
404 …if( bIsLinked || aMimeType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "image/x-vclgraphic" ) ) || ! in SaveGraphic()
422 … xDescSet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "MimeType" ) ) ) >>= aMimeType; in SaveGraphic()
426 …if( aMimeType.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "image/x-vclgraphic" ) ) || !aMimeType.get… in SaveGraphic()
438 aMimeType = OUString::createFromAscii( "image/x-svm" ); in SaveGraphic()
448 aMimeType = OUString::createFromAscii( "image/gif" ); in SaveGraphic()
455 aMimeType = OUString::createFromAscii( "image/png" ); in SaveGraphic()
489 if( aMimeType == aFilterMimeType ) in SaveGraphic()
499 if( aMimeType == aFilterMimeType ) in SaveGraphic()
[all …]
/aoo4110/main/svx/source/xml/
H A Dxmlgrhlp.cxx546 String aMimeType; in ImplGetGraphicMimeType() local
552 …= 0, nCount = sizeof( aMapper ) / sizeof( aMapper[ 0 ] ); ( i < nCount ) && !aMimeType.Len(); i++ ) in ImplGetGraphicMimeType()
554 aMimeType = String( aMapper[ i ].pMimeType, RTL_TEXTENCODING_ASCII_US ); in ImplGetGraphicMimeType()
557 return aMimeType; in ImplGetGraphicMimeType()
594 const ::rtl::OUString aMimeType( ImplGetGraphicMimeType( rPictureStreamName ) ); in ImplWriteGraphic() local
599 if( aMimeType.getLength() ) in ImplWriteGraphic()
601 aAny <<= aMimeType; in ImplWriteGraphic()
605 …const sal_Bool bCompressed = ( ( 0 == aMimeType.getLength() ) || ( aMimeType == ::rtl::OUString::c… in ImplWriteGraphic()
H A Dxmleohlp.cxx728 ::rtl::OUString aMimeType; in getByName()
/aoo4110/main/sot/source/base/
H A Dexchange.cxx426 ::rtl::OUString aMimeType( rMimeType ); in GetFormatIdFromMimeType()
430 if( pFlavor && aMimeType == pFlavor->MimeType ) in GetFormatIdFromMimeType()
447 const String aMimeType( rMimeType ); in GetFormat() local
451 if( aMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormat()
459 if( aMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormat()
/aoo4110/main/sw/source/core/docnode/
H A Dswbaslnk.cxx412 String aMimeType( SotExchange::GetFormatMimeType( GetContentType() )); in SwapIn() local
414 GetObj()->GetData( aValue, aMimeType, !IsSynchron() && bWaitForData ); in SwapIn()
427 DataChanged( aMimeType, aValue ); in SwapIn()
/aoo4110/main/embeddedobj/source/msole/
H A Dgraphconvert.cxx51 const ::rtl::OUString& aMimeType, in ConvertBufferToFormat()
77 aOutMediaProperties[1].Value <<= aMimeType; in ConvertBufferToFormat()
/aoo4110/main/sfx2/inc/sfx2/
H A Ddocfilt.hxx54 String aMimeType; member in SfxFilter
82 const String& GetMimeType() const { return aMimeType; } in GetMimeType()
/aoo4110/main/extensions/source/activex/main/
H A Dso_activex.cpp122 const char* aMimeType[] = { variable
312 wsprintfA( aSubKey, "%sMIME\\DataBase\\Content Type\\%s", aPrefix, aMimeType[ind] ); in DllRegisterServerNative_Impl()
404 wsprintfA( aSubKey, "%sMIME\\DataBase\\Content Type\\%s", aPrefix, aMimeType[ind] ); in DllUnregisterServerNative_Impl()
/aoo4110/main/svx/source/unodraw/
H A DUnoGraphicExporter.cxx1312 OUString aMimeType( pFilter->GetExportFormatMediaType( nFilter ) ); in getSupportedMimeTypeNames() local
1313 if( aMimeType.getLength() ) in getSupportedMimeTypeNames()
1315 *pStr++ = aMimeType; in getSupportedMimeTypeNames()
/aoo4110/main/sfx2/source/appl/
H A Dimpldde.hxx62 const String & aMimeType,
/aoo4110/main/sfx2/source/doc/
H A Ddocfilt.cxx68 aMimeType( rMimeType ), in DBG_NAME()
/aoo4110/main/vcl/source/gdi/
H A Dpdfwriter_impl2.cxx205 rtl::OUString aMimeType( ::rtl::OUString::createFromAscii( "image/jpeg" ) ); in implWriteBitmapEx() local
210 aOutMediaProperties[1].Value <<= aMimeType; in implWriteBitmapEx()
/aoo4110/main/vcl/unx/generic/dtrans/
H A DX11_selection.cxx177 OUString aMimeType( rMimeType.toAsciiLowerCase() ); in getTextPlainEncoding() local
179 if( aMimeType.getToken( 0, ';', nIndex ).equalsAsciiL( "text/plain" , 10 ) ) in getTextPlainEncoding()
181 if( aMimeType.getLength() == 10 ) // only "text/plain" in getTextPlainEncoding()
187 OUString aToken = aMimeType.getToken( 0, ';', nIndex ); in getTextPlainEncoding()
/aoo4110/main/sfx2/source/bastyp/
H A Dfltfnc.cxx1074 pFilter->aMimeType = sMimeType; in ReadSingleFilter_Impl()
/aoo4110/main/sw/source/ui/dochdl/
H A Dswdtflvr.cxx1882 ::rtl::OUString aMimeType; in _PasteOLE()
1886 xObjRef.SetGraphic( aGraphic, aMimeType ); in _PasteOLE()

Completed in 173 milliseconds