Home
last modified time | relevance | path

Searched refs:xStream (Results 1 – 25 of 173) sorted by relevance

1234567

/aoo41x/main/package/qa/ofopxmlstorages/
H A DTestHelper.java47 public boolean WriteBytesToStream( XStream xStream, in WriteBytesToStream() argument
55 XOutputStream xOutput = xStream.getOutputStream(); in WriteBytesToStream()
138 if ( !disposeStream( xStream, sStreamName ) ) in WriteBytesToStream()
651 xInTemp = xStream.getInputStream(); in getInputStream()
663 public boolean closeOutput( XStream xStream ) in closeOutput() argument
668 xOutTemp = xStream.getOutputStream(); in closeOutput()
764 if ( xStream != null ) in CreateTempFile()
954 XStream xStream, in createStorageFromStream() argument
967 pArgs[0] = (Object) xStream; in createStorageFromStream()
1024 if ( xStream == null ) in createTempStorage()
[all …]
/aoo41x/main/ucb/source/ucp/tdoc/
H A Dtdoc_storage.cxx280 uno::Reference< io::XStream > xStream in createInputStream() local
283 if ( !xStream.is() ) in createInputStream()
286 return xStream->getInputStream(); in createInputStream()
315 uno::Reference< io::XStream > xStream in createOutputStream() local
319 if ( !xStream.is() ) in createOutputStream()
363 uno::Reference< io::XStream > xStream in createStream() local
367 if ( !xStream.is() ) in createStream()
665 xStream in queryStream()
680 xStream in queryStream()
699 if ( !xStream.is() ) in queryStream()
[all …]
/aoo41x/main/unotools/source/ucbhelper/
H A Ducbstreamhelper.cxx172 SvStream* UcbStreamHelper::CreateStream( Reference < XInputStream > xStream ) in CreateStream() argument
175 UcbLockBytesRef xLockBytes = UcbLockBytes::CreateInputLockBytes( xStream ); in CreateStream()
186 SvStream* UcbStreamHelper::CreateStream( Reference < XStream > xStream ) in CreateStream() argument
189 if ( xStream->getOutputStream().is() ) in CreateStream()
191 UcbLockBytesRef xLockBytes = UcbLockBytes::CreateLockBytes( xStream ); in CreateStream()
200 return CreateStream( xStream->getInputStream() ); in CreateStream()
208 UcbLockBytesRef xLockBytes = UcbLockBytes::CreateInputLockBytes( xStream ); in CreateStream()
222 SvStream* UcbStreamHelper::CreateStream( Reference < XStream > xStream, sal_Bool bCloseStream ) in CreateStream() argument
225 if ( xStream->getOutputStream().is() ) in CreateStream()
227 UcbLockBytesRef xLockBytes = UcbLockBytes::CreateLockBytes( xStream ); in CreateStream()
[all …]
/aoo41x/main/odk/examples/java/Storage/
H A DTestHelper.java43 public boolean WriteBytesToStream( XStream xStream, in WriteBytesToStream() argument
50 XOutputStream xOutput = xStream.getOutputStream(); in WriteBytesToStream()
376 public boolean InternalCheckStream( XStream xStream, in InternalCheckStream() argument
382 XInputStream xInput = xStream.getInputStream(); in InternalCheckStream()
619 public XInputStream getInputStream( XStream xStream ) in getInputStream() argument
624 xInTemp = xStream.getInputStream(); in getInputStream()
636 public boolean closeOutput( XStream xStream ) in closeOutput() argument
641 xOutTemp = xStream.getOutputStream(); in closeOutput()
737 if ( xStream != null ) in CreateTempFile()
739 XOutputStream xOut = xStream.getOutputStream(); in CreateTempFile()
[all …]
/aoo41x/main/package/source/zipapi/
H A DByteGrabber.cxx37 : xStream(xIstream) in ByteGrabber()
51 xStream = xNewStream; in setInputStream()
61 return xStream->readBytes(aData, nBytesToRead ); in readBytes()
106 if (xStream->readBytes(aSequence,1) != 1) in operator >>()
116 if (xStream->readBytes ( aSequence, 2) != 2) in operator >>()
132 if (xStream->readBytes(aSequence, 4) != 4) in operator >>()
150 if (xStream->readBytes(aSequence,1) != 1) in operator >>()
160 if (xStream->readBytes(aSequence, 2) != 2) in operator >>()
175 if (xStream->readBytes(aSequence, 4) != 4) in operator >>()
H A DZipFile.cxx75 , xStream(xInput) in ZipFile()
96 , xStream(xInput) in ZipFile()
125 xStream = xNewStream; in setInputStream()
126 xSeek = uno::Reference < XSeekable > ( xStream, UNO_QUERY ); in setInputStream()
127 aGrabber.setInputStream ( xStream ); in setInputStream()
384 … const uno::Reference< XInputStream >& xStream, in StaticGetDataFromRawStream()
395 uno::Reference< XSeekable > xSeek( xStream, UNO_QUERY ); in StaticGetDataFromRawStream()
417 xStream->readBytes( aReadBuffer, nSize ); in StaticGetDataFromRawStream()
423 return new XUnbufferedStream( xFactory, xStream, rData ); in StaticGetDataFromRawStream()
510 xStream->readBytes( aReadBuffer, nSize ); in hasValidPassword()
[all …]
/aoo41x/main/package/qa/storages/
H A DTestHelper.java47 public boolean WriteBytesToStream( XStream xStream, in WriteBytesToStream() argument
54 XOutputStream xOutput = xStream.getOutputStream(); in WriteBytesToStream()
776 XInputStream xInput = xStream.getInputStream(); in InternalCheckStream()
1175 xInTemp = xStream.getInputStream(); in getInputStream()
1187 public boolean closeOutput( XStream xStream ) in closeOutput() argument
1192 xOutTemp = xStream.getOutputStream(); in closeOutput()
1288 if ( xStream != null ) in CreateTempFile()
1290 XOutputStream xOut = xStream.getOutputStream(); in CreateTempFile()
1294 XInputStream xIn = xStream.getInputStream(); in CreateTempFile()
1646 return xStream; in cloneSubStream()
[all …]
/aoo41x/main/package/source/xstor/
H A Dxfactory.cxx145 uno::Reference< io::XStream > xStream; in createInstanceWithArguments() local
171 xStream = xTempAccess->openFileReadWrite( aURL ); in createInstanceWithArguments()
175 else if ( !( aArguments[0] >>= xStream ) && !( aArguments[0] >>= xInputStream ) ) in createInstanceWithArguments()
270 else if ( xStream.is() ) in createInstanceWithArguments()
272 … if ( ( ( nStorageMode & embed::ElementModes::WRITE ) && !xStream->getOutputStream().is() ) in createInstanceWithArguments()
273 || !xStream->getInputStream().is() ) in createInstanceWithArguments()
276 uno::Reference< io::XSeekable > xSeekable( xStream, uno::UNO_QUERY ); in createInstanceWithArguments()
283 if ( !CheckPackageSignature_Impl( xStream->getInputStream(), xSeekable ) ) in createInstanceWithArguments()
287 …static_cast< OWeakObject* >( new OStorage( xStream, nStorageMode, aPropsToSet, m_xFactory, nStorag… in createInstanceWithArguments()
H A Dswitchpersistencestream.cxx80 const uno::Reference< io::XStream >& xStream ) in SwitchablePersistenceStream()
84 SwitchPersistenceTo( xStream ); in SwitchablePersistenceStream()
104 void SwitchablePersistenceStream::SwitchPersistenceTo( const uno::Reference< io::XStream >& xStream in SwitchPersistenceTo() argument
106 uno::Reference< io::XTruncate > xNewTruncate( xStream, uno::UNO_QUERY_THROW ); in SwitchPersistenceTo()
107 uno::Reference< io::XSeekable > xNewSeekable( xStream, uno::UNO_QUERY_THROW ); in SwitchPersistenceTo()
108 uno::Reference< io::XInputStream > xNewInStream = xStream->getInputStream(); in SwitchPersistenceTo()
109 uno::Reference< io::XOutputStream > xNewOutStream = xStream->getOutputStream(); in SwitchPersistenceTo()
134 xStream, xNewTruncate, xNewSeekable, xNewInStream, xNewOutStream, in SwitchPersistenceTo()
175 …chablePersistenceStream::CopyAndSwitchPersistenceTo( const uno::Reference< io::XStream >& xStream ) in CopyAndSwitchPersistenceTo() argument
177 uno::Reference< io::XStream > xTargetStream = xStream; in CopyAndSwitchPersistenceTo()
H A Dowriteablestream.cxx568 if ( !aTempURL.isEmpty() && xStream.is() ) in GetFilledTempFileIfNo()
1440 uno::Reference< io::XStream > xStream; in GetStream_Impl() local
1459 m_xCacheStream = xStream; in GetStream_Impl()
1471 xStream = GetTempFileAsStream(); in GetStream_Impl()
1478 if ( !xStream.is() ) in GetStream_Impl()
1831 if ( xStream.is() ) in OWriteStream()
1833 m_xInStream = xStream->getInputStream(); in OWriteStream()
1834 m_xOutStream = xStream->getOutputStream(); in OWriteStream()
1894 if ( xStream.is() ) in CheckInitOnDemand()
1898 m_xSeekable.set( xStream, uno::UNO_QUERY_THROW ); in CheckInitOnDemand()
[all …]
/aoo41x/main/package/source/zippackage/
H A DZipPackageFolder.cxx380 uno::Reference < XInputStream > xStream; in saveChild() local
387 xStream = rInfo.pStream->GetOwnStreamNoWrap(); in saveChild()
390 bUseNonSeekableAccess = ( xStream.is() && !xSeek.is() ); in saveChild()
395 xStream = rInfo.pStream->getRawData(); in saveChild()
397 if ( !xStream.is() ) in saveChild()
416 ImplSetStoredData ( *pTempEntry, xStream ); in saveChild()
528 xStream = rInfo.pStream->getRawData(); in saveChild()
529 if ( !xStream.is() ) in saveChild()
581 xStream = rInfo.pStream->getInputStream(); in saveChild()
582 if ( !xStream.is() ) in saveChild()
[all …]
H A DZipPackageStream.cxx133 if ( xStream.is() ) in CloseOwnStreamIfAny()
135 xStream->closeInput(); in CloseOwnStreamIfAny()
136 xStream = uno::Reference< io::XInputStream >(); in CloseOwnStreamIfAny()
144 if ( !m_bHasSeekable && xStream.is() ) in GetOwnSeekStream()
150 xStream = ::comphelper::OSeekableInputWrapper::CheckSeekableCanWrap( xStream, m_xFactory ); in GetOwnSeekStream()
151 uno::Reference< io::XSeekable > xSeek( xStream, UNO_QUERY ); in GetOwnSeekStream()
159 return xStream; in GetOwnSeekStream()
478 xStream = aStream; in setInputStream()
648 uno::Reference< io::XInputStream > xOldStream = xStream; in setRawStream()
649 xStream = xNewStream; in setRawStream()
[all …]
/aoo41x/main/comphelper/source/container/
H A Dembeddedobjectcontainer.cxx479 if ( xStream.is() ) in AddEmbeddedObject()
482 xStream = 0; in AddEmbeddedObject()
1112 if ( xStream.is() ) in RemoveEmbeddedObject()
1213 uno::Reference < io::XInputStream > xStream; in GetGraphicStream() local
1222 xStream = xGraphicStream->getInputStream(); in GetGraphicStream()
1238 return xStream; in GetGraphicStream()
1399 uno::Reference < io::XInputStream > xStream; in StoreAsChildren() local
1417 xStream = GetGraphicReplacementStream( in StoreAsChildren()
1425 if ( xStream.is() ) in StoreAsChildren()
1456 aArgs[2].Value <<= xStream; in StoreAsChildren()
[all …]
/aoo41x/main/sot/source/unoolestorage/
H A Dxolesimplestorage.cxx231 uno::Reference< io::XStream > xStream; in initialize() local
253 else if ( xStream.is() ) in initialize()
256 uno::Reference< io::XSeekable > xSeek( xStream, uno::UNO_QUERY_THROW ); in initialize()
257 m_pStream = ::utl::UcbStreamHelper::CreateStream( xStream, sal_False ); in initialize()
288 else if ( xStream.is() ) in initialize()
291 m_xStream = xStream; in initialize()
294 uno::Reference< io::XSeekable > xSeek( xStream, uno::UNO_QUERY_THROW ); in initialize()
297 if ( !xInpStream.is() || !xStream->getOutputStream().is() ) in initialize()
336 uno::Reference< io::XStream > xStream; in insertByName() local
345 if ( aElement >>= xStream ) in insertByName()
[all …]
/aoo41x/main/framework/source/accelerators/
H A Dacceleratorconfiguration.cxx354 if (xStream.is()) in reload()
355 xIn = xStream->getInputStream(); in reload()
392 if (xStream.is()) in store()
393 xOut = xStream->getOutputStream(); in store()
403 xStream.clear(); in store()
419 if (xStream.is()) in storeToStorage()
420 xOut = xStream->getOutputStream(); in storeToStorage()
453 if (xStream.is()) in isReadOnly()
454 xOut = xStream->getOutputStream(); in isReadOnly()
561 aSource.aInputStream = xStream; in impl_ts_load()
[all …]
/aoo41x/main/ucb/source/ucp/webdav/
H A DDAVResourceAccess.cxx347 uno::Reference< io::XInputStream > xStream; in GET() local
361 xStream = m_xSession->GET( getRequestURI(), in GET()
378 return xStream; in GET()
429 uno::Reference< io::XInputStream > xStream; in GET() local
443 xStream = m_xSession->GET( getRequestURI(), in GET()
462 return xStream; in GET()
475 uno::Reference< io::XInputStream > xStream; in GET() local
488 xStream = m_xSession->GET( getRequestURI(), in GET()
507 return xStream; in GET()
653 uno::Reference< io::XInputStream > xStream; in POST() local
[all …]
/aoo41x/main/sfx2/source/doc/
H A Ddocfile.cxx307 Reference < XStream > xStream; member in SfxMedium_Impl
665 pImp->xStream = uno::Reference< io::XStream >(); in CloseInStream_Impl()
721 pImp->xStream = uno::Reference< io::XStream >(); in CloseOutStream_Impl()
1484 if ( pImp->xStream.is() ) in GetStorage()
1487 aArgs[0] <<= pImp->xStream; in GetStorage()
2534 if ( pImp->xStream.is() ) in GetMedium_Impl()
2549 if ( pImp->xStream.is() ) in GetMedium_Impl()
3022 if ( pImp->xStream.is() ) in CloseAndReleaseStreams_Impl()
3941 if ( !pImp->xStream.is() ) in SignContents_Impl()
4163 if ( pImp->xStream.is() ) in SwitchDocumentToTempFile()
[all …]
H A Dgraphhelp.cxx380 const uno::Reference< io::XStream >& xStream ) in getThumbnailFormatFromGDI_Impl()
385 if ( xStream.is() ) in getThumbnailFormatFromGDI_Impl()
386 pStream = ::utl::UcbStreamHelper::CreateStream( xStream ); in getThumbnailFormatFromGDI_Impl()
417 const uno::Reference< io::XStream >& xStream ) in getSignedThumbnailFormatFromBitmap_Impl()
422 if ( xStream.is() ) in getSignedThumbnailFormatFromBitmap_Impl()
423 pStream = ::utl::UcbStreamHelper::CreateStream( xStream ); in getSignedThumbnailFormatFromBitmap_Impl()
450 …per::getThumbnailReplacement_Impl( sal_Int32 nResID, const uno::Reference< io::XStream >& xStream ) in getThumbnailReplacement_Impl() argument
453 if ( nResID && xStream.is() ) in getThumbnailReplacement_Impl()
478 aStoreProps[0].Value <<= xStream; in getThumbnailReplacement_Impl()
/aoo41x/main/embeddedobj/source/msole/
H A Dolepersist.cxx325 return xStream; in TryToGetAcceptableFormat_Impl()
646 uno::Reference< io::XInputStream > xStream; in HasVisReplInStream() local
662 xStream = xTempAccess->openFileRead( m_aTempURL ); in HasVisReplInStream()
668 if ( !xStream.is() ) in HasVisReplInStream()
669 xStream = m_xObjectStream->getInputStream(); in HasVisReplInStream()
671 if ( xStream.is() ) in HasVisReplInStream()
676 aArgs[0] <<= xStream; in HasVisReplInStream()
709 const uno::Reference< io::XStream >& xStream, in TryToRetrieveCachedVisualRepresentation_Impl()
715 if ( xStream.is() ) in TryToRetrieveCachedVisualRepresentation_Impl()
721 aArgs[0] <<= xStream; in TryToRetrieveCachedVisualRepresentation_Impl()
[all …]
/aoo41x/main/svl/source/misc/
H A Dsharecontrolfile.cxx96 uno::Reference< io::XStream > xStream; in OpenStream() local
104 xStream = aContent.openWriteableStreamNoLock(); in OpenStream()
124 xStream = aContent.openWriteableStreamNoLock(); in OpenStream()
130 m_xSeekable.set( xStream, uno::UNO_QUERY_THROW ); in OpenStream()
131 m_xInputStream.set( xStream->getInputStream(), uno::UNO_QUERY_THROW ); in OpenStream()
132 m_xOutputStream.set( xStream->getOutputStream(), uno::UNO_QUERY_THROW ); in OpenStream()
134 m_xStream = xStream; in OpenStream()
/aoo41x/main/svx/source/xml/
H A Dxmleohlp.cxx545 uno::Reference< io::XInputStream > xStream; in ImplGetReplacementImage() local
558 xStream = mpDocPersist->getEmbeddedObjectContainer().GetGraphicStream( xObj, &aMediaType ); in ImplGetReplacementImage()
561 if ( !xStream.is() ) in ImplGetReplacementImage()
569 xStream = svt::EmbeddedObjectRef::GetGraphicReplacementStream( in ImplGetReplacementImage()
583 return xStream; in ImplGetReplacementImage()
740 Reference < io::XStream > xStream = in getByName() local
744 if( xStream.is() ) in getByName()
745 xStrm = xStream->getInputStream(); in getByName()
/aoo41x/main/comphelper/source/misc/
H A Dstoragehelper.cxx156 const uno::Reference < io::XInputStream >& xStream, in GetStorageFromInputStream()
161 aArgs[0] <<= xStream; in GetStorageFromInputStream()
174 const uno::Reference < io::XStream >& xStream, in GetStorageFromStream()
180 aArgs[0] <<= xStream; in GetStorageFromStream()
363 const uno::Reference < io::XInputStream >& xStream, in GetStorageOfFormatFromInputStream()
379 aArgs[0] <<= xStream; in GetStorageOfFormatFromInputStream()
394 const uno::Reference < io::XStream >& xStream, in GetStorageOfFormatFromStream()
411 aArgs[0] <<= xStream; in GetStorageOfFormatFromStream()
/aoo41x/main/svtools/source/misc/
H A Dembedhlp.cxx687 uno::Reference < io::XInputStream > xStream; in GetGraphicStream() local
692 xStream = mpImp->pContainer->GetGraphicStream( mxObj, &mpImp->aMediaType ); in GetGraphicStream()
693 if ( xStream.is() ) in GetGraphicStream()
701 nRead = xStream->readBytes ( aSequence, nConstBufferSize ); in GetGraphicStream()
710 if ( !xStream.is() ) in GetGraphicStream()
724 xStream = GetGraphicReplacementStream(mpImp->nViewAspect,mxObj,&mpImp->aMediaType); in GetGraphicStream()
726 if(xStream.is()) in GetGraphicStream()
729 … mpImp->pContainer->InsertGraphicStream(xStream,mpImp->aPersistName,mpImp->aMediaType); in GetGraphicStream()
731 SvStream* pResult = ::utl::UcbStreamHelper::CreateStream( xStream ); in GetGraphicStream()
883 … uno::Reference < io::XInputStream > xStream = new ::utl::OSeekableInputStreamWrapper( aStream ); in SetGraphicToContainer() local
[all …]
/aoo41x/main/unotools/inc/unotools/
H A Ducbstreamhelper.hxx72 static SvStream* CreateStream( NS_UNO::Reference < NS_IO::XInputStream > xStream );
73 static SvStream* CreateStream( NS_UNO::Reference < NS_IO::XStream > xStream );
74 …static SvStream* CreateStream( NS_UNO::Reference < NS_IO::XInputStream > xStream, sal_Bool bClo…
75 …static SvStream* CreateStream( NS_UNO::Reference < NS_IO::XStream > xStream, sal_Bool bCloseStr…
/aoo41x/main/sw/source/core/docnode/
H A Dretrieveinputstream.cxx71 com::sun::star::uno::Reference<com::sun::star::io::XStream> xStream; in threadFunction() local
72 aMedium[comphelper::MediaDescriptor::PROP_STREAM()] >>= xStream; in threadFunction()
73 if ( xStream.is() ) in threadFunction()
75 xInputStream = xStream->getInputStream(); in threadFunction()

Completed in 198 milliseconds

1234567