Home
last modified time | relevance | path

Searched refs:xTempFile (Results 1 – 16 of 16) sorted by relevance

/aoo41x/main/unotools/qa/complex/tempfile/
H A DTestHelper.java41 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 DTest01.java48 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 DTest02.java47 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()
/aoo41x/main/sot/source/unoolestorage/
H A Dxolesimplestorage.cxx264 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 …]
/aoo41x/main/framework/source/inc/pattern/
H A Dstorages.hxx66 …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()
/aoo41x/main/embeddedobj/source/msole/
H A Dolepersist.cxx94 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 …]
/aoo41x/main/oox/source/ole/
H A Dolestorage.cxx232 …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()
/aoo41x/main/svl/source/misc/
H A Ddocumentlockfile.cxx100 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()
/aoo41x/main/sot/qa/complex/olesimplestorage/
H A DTest01.java55 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()
/aoo41x/main/sdext/source/minimizer/
H A Dimpoptimizer.cxx349 …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()
/aoo41x/main/oox/source/core/
H A Dfilterdetect.cxx561 …Reference< XStream > xTempFile( xFactory->createInstance( CREATE_OUSTRING( "com.sun.star.io.TempFi… in extractUnencryptedPackage() local
562 … Reference< XOutputStream > xDecryptedPackage( xTempFile->getOutputStream(), UNO_SET_THROW ); in extractUnencryptedPackage()
589 … rMediaDesc.setComponentDataEntry( CREATE_OUSTRING( "DecryptedPackage" ), Any( xTempFile ) ); in extractUnencryptedPackage()
591 Reference< XInputStream > xDecrInStrm = xTempFile->getInputStream(); in extractUnencryptedPackage()
/aoo41x/main/sfx2/qa/complex/sfx2/standalonedocinfo/
H A DTest01.java60 XTempFile xTempFile = UnoRuntime.queryInterface(XTempFile.class, oTempFile); in test() local
70 String sURL = AnyConverter.toString ( xTempFile.getUri () ); in test()
/aoo41x/main/package/source/xstor/
H A Dowriteablestream.cxx248 uno::Reference < beans::XPropertySet > xTempFile( in GetNewTempFileURL() local
252 if ( !xTempFile.is() ) in GetNewTempFileURL()
256xTempFile->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()
/aoo41x/main/package/source/zippackage/
H A DZipPackage.cxx1188 …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()
/aoo41x/main/comphelper/source/streaming/
H A Dotransactedfilestream.cxx301 …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()
/aoo41x/main/sfx2/source/doc/
H A Ddoctemplates.cxx1386 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()

Completed in 109 milliseconds