/aoo4110/main/unotools/qa/complex/tempfile/ |
H A D | TestHelper.java | 41 public void SetTempFileRemove( XTempFile xTempFile, boolean b ) { in SetTempFileRemove() argument 43 xTempFile.setRemoveFile( b ); in SetTempFileRemove() 49 public boolean GetTempFileRemove ( XTempFile xTempFile ) { in GetTempFileRemove() argument 52 b = xTempFile.getRemoveFile(); in GetTempFileRemove() 59 public String GetTempFileURL ( XTempFile xTempFile ) { in GetTempFileURL() argument 72 public String GetTempFileName( XTempFile xTempFile ) { in GetTempFileName() argument 100 XOutputStream xOutTemp = xTempFile.getOutputStream(); in WriteBytesWithStream() 114 XInputStream xInTemp = xTempFile.getInputStream(); in ReadBytesWithStream() 148 public void CloseTempFile( XTempFile xTempFile ) { in CloseTempFile() argument 152 xOutTemp = xTempFile.getOutputStream(); in CloseTempFile() [all …]
|
H A D | Test01.java | 48 XTempFile xTempFile = null; in test() local 55 xTempFile = UnoRuntime.queryInterface(XTempFile.class, oTempFile); in test() 64 if ( xTempFile == null ) { in test() 71 sFileURL = m_aTestHelper.GetTempFileURL( xTempFile ); in test() 72 sFileName = m_aTestHelper.GetTempFileName( xTempFile ); in test() 81 m_aTestHelper.WriteBytesWithStream( pBytesIn, xTempFile ); in test() 84 xTempFile.seek(0); in test() 85 m_aTestHelper.ReadBytesWithStream( pBytesOut1, pBytesIn.length + 1, xTempFile ); in test() 101 xTempFile.setRemoveFile( false ); in test() 102 m_aTestHelper.CloseTempFile( xTempFile ); in test()
|
H A D | Test02.java | 47 XTempFile xTempFile = null; in test() local 54 xTempFile = UnoRuntime.queryInterface(XTempFile.class, oTempFile); in test() 67 m_aTestHelper.WriteBytesWithStream( pBytesIn, xTempFile ); in test() 70 sFileURL = m_aTestHelper.GetTempFileURL( xTempFile ); in test() 73 m_aTestHelper.SetTempFileRemove( xTempFile, false ); in test() 76 m_aTestHelper.CloseTempFile( xTempFile ); in test()
|
/aoo4110/main/sot/source/unoolestorage/ |
H A D | xolesimplestorage.cxx | 264 uno::Reference < io::XStream > xTempFile( in initialize() local 267 uno::Reference < io::XSeekable > xTempSeek( xTempFile, uno::UNO_QUERY_THROW ); in initialize() 268 uno::Reference< io::XOutputStream > xTempOut = xTempFile->getOutputStream(); in initialize() 285 uno::Reference< io::XInputStream > xTempInput = xTempFile->getInputStream(); in initialize() 292 m_xTempStream = xTempFile; in initialize() 304 m_pStream = ::utl::UcbStreamHelper::CreateStream( xTempFile, sal_False ); in initialize() 449 uno::Reference< io::XStream > xTempFile( in getByName() local 452 uno::Reference< io::XSeekable > xSeekable( xTempFile, uno::UNO_QUERY_THROW ); in getByName() 453 uno::Reference< io::XOutputStream > xOutputStream = xTempFile->getOutputStream(); in getByName() 454 uno::Reference< io::XInputStream > xInputStream = xTempFile->getInputStream(); in getByName() [all …]
|
/aoo4110/main/framework/source/inc/pattern/ |
H A D | storages.hxx | 66 …css::uno::Reference< css::io::XOutputStream > xTempFile(xSMGR->createInstance(SERVICENAME_TEMPFILE… in createTempStorageBasedOnFolder() local 67 if (!xTempFile.is()) in createTempStorageBasedOnFolder() 75 xPackageCreator->convertToPackage(sFolder, xTempFile); in createTempStorageBasedOnFolder() 78 css::uno::Reference< css::io::XSeekable > xSeekable(xTempFile, css::uno::UNO_QUERY_THROW); in createTempStorageBasedOnFolder() 87 lArgs[0] <<= xTempFile; in createTempStorageBasedOnFolder()
|
/aoo4110/main/embeddedobj/source/msole/ |
H A D | olepersist.cxx | 94 uno::Reference < beans::XPropertySet > xTempFile( in GetNewTempFileURL_Impl() local 98 if ( !xTempFile.is() ) in GetNewTempFileURL_Impl() 180 uno::Reference < beans::XPropertySet > xTempFile( in GetNewFilledTempFile_Impl() local 183 uno::Reference < io::XStream > xTempStream( xTempFile, uno::UNO_QUERY_THROW ); in GetNewFilledTempFile_Impl() 286 uno::Reference < io::XStream > xTempFile( in GetNewFilledTempStream_Impl() local 290 uno::Reference< io::XOutputStream > xTempOutStream = xTempFile->getOutputStream(); in GetNewFilledTempStream_Impl() 299 return xTempFile; in GetNewFilledTempStream_Impl() 468 uno::Reference < io::XStream > xTempFile( in InsertVisualCache_Impl() local 472 uno::Reference< io::XSeekable > xTempSeek( xTempFile, uno::UNO_QUERY_THROW ); in InsertVisualCache_Impl() 582 xNameContainer->replaceByName( aCacheName, uno::makeAny( xTempFile ) ); in InsertVisualCache_Impl() [all …]
|
/aoo4110/main/oox/source/ole/ |
H A D | olestorage.cxx | 232 …Reference< XStream > xTempFile( xFactory->createInstance( CREATE_OUSTRING( "com.sun.star.io.TempFi… in initStorage() local 234 Reference< XOutputStream > xOutStrm( xTempFile->getOutputStream(), UNO_SET_THROW ); in initStorage() 242 xInStrm = xTempFile->getInputStream(); in initStorage() 343 …Reference< XStream > xTempFile( xFactory->createInstance( CREATE_OUSTRING( "com.sun.star.io.TempFi… in implOpenSubStorage() local 344 StorageRef xTempStorage( new OleStorage( *this, xTempFile, rElementName ) ); in implOpenSubStorage()
|
/aoo4110/main/svl/source/misc/ |
H A D | documentlockfile.cxx | 100 uno::Reference< io::XStream > xTempFile( in CreateOwnLockFile() local 103 uno::Reference< io::XSeekable > xSeekable( xTempFile, uno::UNO_QUERY_THROW ); in CreateOwnLockFile() 105 uno::Reference< io::XInputStream > xInput = xTempFile->getInputStream(); in CreateOwnLockFile() 106 uno::Reference< io::XOutputStream > xOutput = xTempFile->getOutputStream(); in CreateOwnLockFile()
|
/aoo4110/main/sot/qa/complex/olesimplestorage/ |
H A D | Test01.java | 55 XTempFile xTempFile = UnoRuntime.queryInterface(XTempFile.class, oTempFile); in test() local 60 pArgs[0] = (Object) xTempFile; in test() 105 pArgs[0] = (Object)xTempFile.getInputStream (); in test()
|
/aoo4110/main/sdext/source/minimizer/ |
H A D | impoptimizer.cxx | 349 …Reference< XStream > xTempFile( rxContext->getServiceManager()->createInstanceWithContext( OUStrin… in ImpCompressGraphic() local 350 Reference< XOutputStream > xOutputStream( xTempFile->getOutputStream() ); in ImpCompressGraphic() 354 Reference< XInputStream > xInputStream( xTempFile->getInputStream() ); in ImpCompressGraphic() 369 …Reference< XStream > xTempFile( rxContext->getServiceManager()->createInstanceWithContext( OUStrin… in ImpCompressGraphic() local 370 Reference< XOutputStream > xOutputStream( xTempFile->getOutputStream() ); in ImpCompressGraphic() 373 Reference< XInputStream > xInputStream( xTempFile->getInputStream() ); in ImpCompressGraphic()
|
/aoo4110/main/oox/source/core/ |
H A D | filterdetect.cxx | 560 …Reference< XStream > xTempFile( xFactory->createInstance( CREATE_OUSTRING( "com.sun.star.io.TempFi… in extractUnencryptedPackage() local 561 … Reference< XOutputStream > xDecryptedPackage( xTempFile->getOutputStream(), UNO_SET_THROW ); in extractUnencryptedPackage() 588 … rMediaDesc.setComponentDataEntry( CREATE_OUSTRING( "DecryptedPackage" ), Any( xTempFile ) ); in extractUnencryptedPackage() 590 Reference< XInputStream > xDecrInStrm = xTempFile->getInputStream(); in extractUnencryptedPackage()
|
/aoo4110/main/sfx2/qa/complex/sfx2/standalonedocinfo/ |
H A D | Test01.java | 60 XTempFile xTempFile = UnoRuntime.queryInterface(XTempFile.class, oTempFile); in test() local 70 String sURL = AnyConverter.toString ( xTempFile.getUri () ); in test()
|
/aoo4110/main/package/source/xstor/ |
H A D | owriteablestream.cxx | 248 uno::Reference < beans::XPropertySet > xTempFile( in GetNewTempFileURL() local 252 if ( !xTempFile.is() ) in GetNewTempFileURL() 256 …xTempFile->setPropertyValue( ::rtl::OUString::createFromAscii( "RemoveFile" ), uno::makeAny( sal_F… in GetNewTempFileURL() 257 uno::Any aUrl = xTempFile->getPropertyValue( ::rtl::OUString::createFromAscii( "Uri" ) ); in GetNewTempFileURL() 1548 uno::Reference < io::XStream > xTempFile; in CreateReadonlyCopyBasedOnData() local 1550 xTempFile = uno::Reference < io::XStream >( in CreateReadonlyCopyBasedOnData() 1554 xTempFile = xTargetStream; in CreateReadonlyCopyBasedOnData() 1556 uno::Reference < io::XSeekable > xTempSeek( xTempFile, uno::UNO_QUERY ); in CreateReadonlyCopyBasedOnData() 1560 uno::Reference < io::XOutputStream > xTempOut = xTempFile->getOutputStream(); in CreateReadonlyCopyBasedOnData() 1570 uno::Reference< io::XInputStream > xInStream = xTempFile->getInputStream(); in CreateReadonlyCopyBasedOnData()
|
/aoo4110/main/package/source/zippackage/ |
H A D | ZipPackage.cxx | 1188 …uno::Reference < io::XStream > xTempFile( m_xFactory->createInstance ( sServiceName ), UNO_QUERY_T… in writeTempFile() local 1189 xTempOut.set( xTempFile->getOutputStream(), UNO_SET_THROW ); in writeTempFile() 1190 xTempIn.set( xTempFile->getInputStream(), UNO_SET_THROW ); in writeTempFile() 1572 uno::Reference< beans::XPropertySet > xTempFile( xTempStream, uno::UNO_QUERY_THROW ); in DisconnectFromTargetAndThrowException_Impl() local 1573 uno::Any aUrl = xTempFile->getPropertyValue( ::rtl::OUString::createFromAscii( "Uri" ) ); in DisconnectFromTargetAndThrowException_Impl() 1575 xTempFile->setPropertyValue( ::rtl::OUString::createFromAscii( "RemoveFile" ), in DisconnectFromTargetAndThrowException_Impl()
|
/aoo4110/main/comphelper/source/streaming/ |
H A D | otransactedfilestream.cxx | 301 …uno::Reference< beans::XPropertySet > xTempFile( m_pStreamData->m_xTempStream, uno::UNO_QUERY_THRO… in Commit_Impl() local 302 uno::Any aUrl = xTempFile->getPropertyValue( ::rtl::OUString::createFromAscii( "Uri" ) ); in Commit_Impl() 304 xTempFile->setPropertyValue( ::rtl::OUString::createFromAscii( "RemoveFile" ), in Commit_Impl()
|
/aoo4110/main/sfx2/source/doc/ |
H A D | doctemplates.cxx | 1386 uno::Reference< beans::XPropertySet > xTempFile( in WriteUINamesForTemplateDir_Impl() local 1391 uno::Any aUrl = xTempFile->getPropertyValue( ::rtl::OUString::createFromAscii( "Uri" ) ); in WriteUINamesForTemplateDir_Impl() 1394 uno::Reference< io::XStream > xStream( xTempFile, uno::UNO_QUERY_THROW ); in WriteUINamesForTemplateDir_Impl()
|