| /trunk/main/comphelper/source/misc/ |
| H A D | storagehelper.cxx | 249 ::rtl::OUString aMediaType; in GetXStorageFormat() 250 xStorProps->getPropertyValue( ::rtl::OUString::createFromAscii( "MediaType" ) ) >>= aMediaType; in GetXStorageFormat() 256 aMediaType.equalsIgnoreAsciiCaseAscii(MIMETYPE_VND_SUN_XML_WRITER_ASCII ) || in GetXStorageFormat() 257 aMediaType.equalsIgnoreAsciiCaseAscii(MIMETYPE_VND_SUN_XML_WRITER_WEB_ASCII ) || in GetXStorageFormat() 258 aMediaType.equalsIgnoreAsciiCaseAscii(MIMETYPE_VND_SUN_XML_WRITER_GLOBAL_ASCII) || in GetXStorageFormat() 259 aMediaType.equalsIgnoreAsciiCaseAscii(MIMETYPE_VND_SUN_XML_DRAW_ASCII ) || in GetXStorageFormat() 260 aMediaType.equalsIgnoreAsciiCaseAscii(MIMETYPE_VND_SUN_XML_IMPRESS_ASCII ) || in GetXStorageFormat() 261 aMediaType.equalsIgnoreAsciiCaseAscii(MIMETYPE_VND_SUN_XML_CALC_ASCII ) || in GetXStorageFormat() 262 aMediaType.equalsIgnoreAsciiCaseAscii(MIMETYPE_VND_SUN_XML_CHART_ASCII ) || in GetXStorageFormat() 263 aMediaType.equalsIgnoreAsciiCaseAscii(MIMETYPE_VND_SUN_XML_MATH_ASCII ) in GetXStorageFormat() [all …]
|
| H A D | mimeconfighelper.cxx | 254 …String MimeConfigurationHelper::GetDocServiceNameFromMediaType( const ::rtl::OUString& aMediaType ) in GetDocServiceNameFromMediaType() argument 268 aSeq[0].Value <<= aMediaType; in GetDocServiceNameFromMediaType() 377 …ing MimeConfigurationHelper::GetExplicitlyRegisteredObjClassID( const ::rtl::OUString& aMediaType ) in GetExplicitlyRegisteredObjClassID() argument 385 xMediaTypeConfig->getByName( aMediaType ) >>= aStringClassID; in GetExplicitlyRegisteredObjClassID() 463 …amedValue > MimeConfigurationHelper::GetObjectPropsByMediaType( const ::rtl::OUString& aMediaType ) in GetObjectPropsByMediaType() argument 466 … GetObjectPropsByStringClassID( GetExplicitlyRegisteredObjClassID( aMediaType ) ); in GetObjectPropsByMediaType() 470 ::rtl::OUString aDocumentName = GetDocServiceNameFromMediaType( aMediaType ); in GetObjectPropsByMediaType() 590 …l::OUString MimeConfigurationHelper::GetFactoryNameByMediaType( const ::rtl::OUString& aMediaType ) in GetFactoryNameByMediaType() argument 592 …UString aResult = GetFactoryNameByStringClassID( GetExplicitlyRegisteredObjClassID( aMediaType ) ); in GetFactoryNameByMediaType() 596 ::rtl::OUString aDocumentName = GetDocServiceNameFromMediaType( aMediaType ); in GetFactoryNameByMediaType()
|
| /trunk/main/avmedia/source/win/ |
| H A D | framegrabber.cxx | 150 AM_MEDIA_TYPE aMediaType; in grabFrame() local 153 if( SUCCEEDED( pDet->get_StreamMediaType( &aMediaType ) ) ) in grabFrame() 155 if( ( aMediaType.formattype == FORMAT_VideoInfo ) && in grabFrame() 156 ( aMediaType.cbFormat >= sizeof( VIDEOINFOHEADER ) ) ) in grabFrame() 158 … VIDEOINFOHEADER* pVih = reinterpret_cast< VIDEOINFOHEADER* >( aMediaType.pbFormat ); in grabFrame() 167 if( aMediaType.cbFormat != 0 ) in grabFrame() 169 ::CoTaskMemFree( (PVOID) aMediaType.pbFormat ); in grabFrame() 170 aMediaType.cbFormat = 0; in grabFrame() 171 aMediaType.pbFormat = NULL; in grabFrame() 174 if( aMediaType.pUnk != NULL ) in grabFrame() [all …]
|
| /trunk/main/comphelper/source/container/ |
| H A D | embeddedobjectcontainer.cxx | 476 ::rtl::OUString aMediaType; in AddEmbeddedObject() 477 …< io::XInputStream > xStream = pImpl->mpTempObjectContainer->GetGraphicStream( xObj, &aMediaType ); in AddEmbeddedObject() 480 InsertGraphicStream( xStream, rName, aMediaType ); in AddEmbeddedObject() 717 ::rtl::OUString aMediaType; in TryToCopyGraphReplacement() 718 … uno::Reference < io::XInputStream > xGrStream = rSrc.GetGraphicStream( aOrigName, &aMediaType ); in TryToCopyGraphReplacement() 720 bResult = InsertGraphicStream( xGrStream, aTargetName, aMediaType ); in TryToCopyGraphReplacement() 1119 ::rtl::OUString aTempName, aMediaType; in RemoveEmbeddedObject() 1122 uno::Reference < io::XInputStream > xStream = GetGraphicStream( xObj, &aMediaType ); in RemoveEmbeddedObject() 1124 … pImpl->mpTempObjectContainer->InsertGraphicStream( xStream, aTempName, aMediaType ); in RemoveEmbeddedObject() 1411 ::rtl::OUString aMediaType; in StoreAsChildren() [all …]
|
| /trunk/main/svtools/source/misc/ |
| H A D | embedhlp.cxx | 237 ::rtl::OUString aMediaType; 285 mpImp->aMediaType = rObj.mpImp->aMediaType; in EmbeddedObjectRef() 453 mpImp->aMediaType = ::rtl::OUString(); in GetReplacement() 497 *pMediaType = mpImp->aMediaType; in GetGraphic() 631 mpImp->aMediaType = rMediaType; in SetGraphicStream() 664 mpImp->aMediaType = rMediaType; in SetGraphic() 684 xStream = mpImp->pContainer->GetGraphicStream( mxObj, &mpImp->aMediaType ); in GetGraphicStream() 716 xStream = GetGraphicReplacementStream(mpImp->nViewAspect,mxObj,&mpImp->aMediaType); in GetGraphicStream() 721 … mpImp->pContainer->InsertGraphicStream(xStream,mpImp->aPersistName,mpImp->aMediaType); in GetGraphicStream() 867 const ::rtl::OUString& aMediaType ) in SetGraphicToContainer() [all …]
|
| /trunk/main/embeddedobj/source/general/ |
| H A D | xcreator.cxx | 136 ::rtl::OUString aMediaType; in createInstanceInitFromEntry() 150 aAny >>= aMediaType; in createInstanceInitFromEntry() 182 aAny >>= aMediaType; in createInstanceInitFromEntry() 183 …if ( aMediaType.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "application/vnd.sun.star.ol… in createInstanceInitFromEntry() 200 OSL_ENSURE( aMediaType.getLength(), "No media type is specified for the object!" ); in createInstanceInitFromEntry() 201 if ( aMediaType.getLength() && !aEmbedFactory.getLength() ) in createInstanceInitFromEntry() 202 aEmbedFactory = m_aConfigHelper.GetFactoryNameByMediaType( aMediaType ); in createInstanceInitFromEntry()
|
| /trunk/main/sfx2/source/doc/ |
| H A D | docfilt.cxx | 191 ::rtl::OUString aMediaType; in GetTypeFromStorage() 192 xProps->getPropertyValue( ::rtl::OUString::createFromAscii( "MediaType" ) ) >>= aMediaType; in GetTypeFromStorage() 193 if ( aMediaType.getLength() ) in GetTypeFromStorage() 196 aDataFlavor.MimeType = aMediaType; in GetTypeFromStorage()
|
| H A D | objstor.cxx | 435 ::rtl::OUString aMediaType; in GeneralInit_Impl() 436 if ( !(a>>=aMediaType) || !aMediaType.getLength() ) in GeneralInit_Impl() 2010 ::rtl::OUString aMediaType; in DoSaveObjectAs() 2011 if ( !(a>>=aMediaType) || !aMediaType.getLength() ) in DoSaveObjectAs() 3468 ::rtl::OUString aMediaType; in StoragesOfUnknownMediaTypeAreCopied_Impl() 3476 … ( xOptStorage->getElementPropertyValue( aSubElements[nInd], aMediaTypePropName ) >>= aMediaType ); in StoragesOfUnknownMediaTypeAreCopied_Impl() 3496 … bGotMediaType = ( xProps->getPropertyValue( aMediaTypePropName ) >>= aMediaType ); in StoragesOfUnknownMediaTypeAreCopied_Impl() 3501 if ( aMediaType.getLength() in StoragesOfUnknownMediaTypeAreCopied_Impl() 3502 … && aMediaType.compareToAscii( "application/vnd.sun.star.oleobject" ) != COMPARE_EQUAL ) in StoragesOfUnknownMediaTypeAreCopied_Impl() 3505 aDataFlavor.MimeType = aMediaType; in StoragesOfUnknownMediaTypeAreCopied_Impl() [all …]
|
| /trunk/main/comphelper/inc/comphelper/ |
| H A D | mimeconfighelper.hxx | 73 ::rtl::OUString GetDocServiceNameFromMediaType( const ::rtl::OUString& aMediaType ); 82 ::rtl::OUString GetExplicitlyRegisteredObjClassID( const ::rtl::OUString& aMediaType ); 93 const ::rtl::OUString& aMediaType ); 105 ::rtl::OUString GetFactoryNameByMediaType( const ::rtl::OUString& aMediaType );
|
| /trunk/main/package/inc/ |
| H A D | ZipFile.hxx | 92 ::rtl::OUString aMediaType = ::rtl::OUString() ); 139 const ::rtl::OUString& aMediaType, 148 ::rtl::OUString& aMediaType, 177 const ::rtl::OUString& aMediaType,
|
| /trunk/main/package/source/package/zipapi/ |
| H A D | ZipFile.cxx | 200 const ::rtl::OUString& aMediaType, in StaticFillHeader() 207 …sal_Int16 nMediaTypeLength = static_cast < sal_Int16 > ( aMediaType.getLength() * sizeof( sal_Unic… in StaticFillHeader() 289 rtl_copyMemory ( pHeader, aMediaType.getStr(), nMediaTypeLength ); in StaticFillHeader() 299 ::rtl::OUString& aMediaType, in StaticFillData() argument 369 aMediaType = ::rtl::OUString( (sal_Unicode*)aBuffer.getConstArray(), in StaticFillData() 521 ::rtl::OUString aMediaType ) in createUnbufferedStream() argument 529 …tory, aMutexHolder, rEntry, xStream, rData, nStreamMode, bIsEncrypted, aMediaType, bRecoveryMode ); in createUnbufferedStream() 618 const ::rtl::OUString& aMediaType, in getWrappedRawStream() 629 …teUnbufferedStream ( aMutexHolder, rEntry, rData, UNBUFF_STREAM_WRAPPEDRAW, sal_True, aMediaType ); in getWrappedRawStream()
|
| H A D | XUnbufferedStream.cxx | 64 const ::rtl::OUString& aMediaType, in XUnbufferedStream() 114 aMediaType.getLength() * sizeof( sal_Unicode ) ); in XUnbufferedStream() 116 ZipFile::StaticFillHeader( rData, rEntry.nSize, aMediaType, pHeader ); in XUnbufferedStream()
|
| /trunk/main/sot/source/sdstor/ |
| H A D | storage.cxx | 804 uno::Any aMediaType; in GetUNOAPIDuplicate() local 807 … ::rtl::OUString::createFromAscii( "MediaType" ), aMediaType ) ) in GetUNOAPIDuplicate() 808 … pTempStorage->SetProperty( ::rtl::OUString::createFromAscii( "MediaType" ), aMediaType ); in GetUNOAPIDuplicate() 1514 ::rtl::OUString aMediaType; in GetFormatID() 1515 xProps->getPropertyValue( ::rtl::OUString::createFromAscii( "MediaType" ) ) >>= aMediaType; in GetFormatID() 1516 if ( aMediaType.getLength() ) in GetFormatID() 1519 aDataFlavor.MimeType = aMediaType; in GetFormatID()
|
| H A D | unostorageholder.cxx | 149 uno::Any aMediaType; in commited() local 150 if ( rTempStorage->GetProperty( ::rtl::OUString::createFromAscii( "MediaType" ), aMediaType ) ) in commited() 151 m_rSotStorage->SetProperty( ::rtl::OUString::createFromAscii( "MediaType" ), aMediaType ); in commited()
|
| /trunk/main/package/source/package/manifest/ |
| H A D | ManifestExport.cxx | 104 ::rtl::OUString aMediaType; in ManifestExport() 113 pValue->Value >>= aMediaType; in ManifestExport() 124 if ( aPath.getLength() && aMediaType.getLength() && aVersion.getLength() ) in ManifestExport() 130 aDocMediaType = aMediaType; in ManifestExport()
|
| /trunk/main/embeddedobj/source/commonembedding/ |
| H A D | xfactory.cxx | 104 ::rtl::OUString aMediaType; in createInstanceInitFromEntry() 107 aAny >>= aMediaType; in createInstanceInitFromEntry() 124 … ::rtl::OUString aDocServiceName = m_aConfigHelper.GetDocumentServiceFromMediaType( aMediaType ); in createInstanceInitFromEntry() 135 …o::Sequence< beans::NamedValue > aObject = m_aConfigHelper.GetObjectPropsByMediaType( aMediaType ); in createInstanceInitFromEntry()
|
| /trunk/main/svx/source/xml/ |
| H A D | xmleohlp.cxx | 554 ::rtl::OUString aMediaType; in ImplGetReplacementImage() 555 … xStream = mpDocPersist->getEmbeddedObjectContainer().GetGraphicStream( xObj, &aMediaType ); in ImplGetReplacementImage() 565 ::rtl::OUString aMediaType; in ImplGetReplacementImage() 569 &aMediaType ); in ImplGetReplacementImage()
|
| /trunk/main/ucb/source/ucp/package/ |
| H A D | pkgcontent.cxx | 896 xRow->appendString ( rProp, rData.aMediaType ); in getPropertyValues() 1017 rData.aMediaType ); in getPropertyValues() 1215 if ( aNewValue != m_aProps.aMediaType ) in setPropertyValues() 1218 aEvent.OldValue = uno::makeAny( m_aProps.aMediaType ); in setPropertyValues() 1221 m_aProps.aMediaType = aNewValue; in setPropertyValues() 2420 uno::Any aMediaType in loadData() local 2423 if ( !( aMediaType >>= rProps.aMediaType ) ) in loadData() 2757 uno::makeAny( m_aProps.aMediaType ) ); in storeData()
|
| /trunk/main/embeddedobj/source/msole/ |
| H A D | oleembed.cxx | 336 ::rtl::OUString aMediaType; in TryToConvertToOOo() 337 … xStorProps->getPropertyValue( ::rtl::OUString::createFromAscii( "MediaType" ) ) >>= aMediaType; in TryToConvertToOOo() 343 if ( aMediaType.getLength() ) in TryToConvertToOOo() 344 aEmbedFactory = aConfigHelper.GetFactoryNameByMediaType( aMediaType ); in TryToConvertToOOo()
|
| /trunk/main/package/source/package/zippackage/ |
| H A D | ZipPackageStream.cxx | 423 ::rtl::OUString aMediaType; in ParsePackageRawStream() 428 …hm, nChecksumAlgorithm, nDerivedKeySize, nStartKeyGenID, nMagHackSize, aMediaType, GetOwnSeekStrea… in ParsePackageRawStream() 435 … + aMediaType.getLength() * sizeof( sal_Unicode ); in ParsePackageRawStream() 441 sMediaType = aMediaType; in ParsePackageRawStream()
|
| /trunk/main/svx/inc/svx/ |
| H A D | svdoole2.hxx | 182 void SetGraphicToObj( const Graphic& aGraphic, const ::rtl::OUString& aMediaType ); 184 const ::rtl::OUString& aMediaType );
|
| /trunk/main/basic/source/uno/ |
| H A D | namecont.cxx | 3320 rtl::OUString aMediaType = xPackageTypeInfo->getMediaType(); in implDetectScriptPackage() local 3321 if( aMediaType.equals( aBasicLibMediaType ) ) in implDetectScriptPackage() 3325 else if( aMediaType.equals( aDialogLibMediaType ) ) in implDetectScriptPackage() 3366 rtl::OUString aMediaType = xPackageTypeInfo->getMediaType(); in implGetScriptPackageFromPackage() local 3367 if( aMediaType.equals( aBasicLibMediaType ) ) in implGetScriptPackageFromPackage() 3372 else if( aMediaType.equals( aDialogLibMediaType ) ) in implGetScriptPackageFromPackage() 3383 rtl::OUString aMediaType = xPackageTypeInfo->getMediaType(); in implGetScriptPackageFromPackage() local 3384 if( aMediaType.equals( aBasicLibMediaType ) ) in implGetScriptPackageFromPackage() 3388 else if( aMediaType.equals( aDialogLibMediaType ) ) in implGetScriptPackageFromPackage()
|
| /trunk/main/xmlhelp/source/treeview/ |
| H A D | tvread.cxx | 1006 rtl::OUString aMediaType = xPackageTypeInfo->getMediaType(); in implGetHelpPackageFromPackage() local 1007 if( aMediaType.equals( aHelpMediaType ) ) in implGetHelpPackageFromPackage() 1018 rtl::OUString aMediaType = xPackageTypeInfo->getMediaType(); in implGetHelpPackageFromPackage() local 1019 if( aMediaType.equals( aHelpMediaType ) ) in implGetHelpPackageFromPackage()
|
| /trunk/main/chart2/source/model/filter/ |
| H A D | XMLFilter.cxx | 158 OUString aMediaType; in lcl_getWriteStorage() local 160 ! ( xProp->getPropertyValue( C2U("MediaType")) >>= aMediaType ) || in lcl_getWriteStorage() 161 aMediaType.isEmpty() ) in lcl_getWriteStorage()
|
| /trunk/main/sc/source/ui/view/ |
| H A D | viewfun7.cxx | 287 …nst Size* pDescSize, const Graphic* pReplGraph, const ::rtl::OUString& aMediaType, sal_Int64 nAspe… in PasteObject() 302 aObjRef.SetGraphic( *pReplGraph, aMediaType ); in PasteObject()
|