/trunk/main/package/qa/ofopxmlstorages/ |
H A D | TestHelper.java | 47 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 …]
|
/trunk/main/ucb/source/ucp/tdoc/ |
H A D | tdoc_storage.cxx | 280 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 …]
|
/trunk/main/unotools/source/ucbhelper/ |
H A D | ucbstreamhelper.cxx | 172 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 …]
|
/trunk/main/odk/examples/java/Storage/ |
H A D | TestHelper.java | 43 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 …]
|
/trunk/main/package/qa/storages/ |
H A D | TestHelper.java | 47 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 …]
|
/trunk/main/package/source/package/zipapi/ |
H A D | ByteGrabber.cxx | 37 : 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 D | ZipFile.cxx | 75 , 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 …]
|
/trunk/main/comphelper/source/container/ |
H A D | embeddedobjectcontainer.cxx | 479 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 …]
|
/trunk/main/package/source/package/zippackage/ |
H A D | ZipPackageFolder.cxx | 380 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 D | ZipPackageStream.cxx | 133 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 …]
|
/trunk/main/package/source/xstor/ |
H A D | xfactory.cxx | 145 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 D | switchpersistencestream.cxx | 80 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 D | owriteablestream.cxx | 568 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 …]
|
/trunk/main/sot/source/unoolestorage/ |
H A D | xolesimplestorage.cxx | 231 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 …]
|
/trunk/main/framework/source/accelerators/ |
H A D | acceleratorconfiguration.cxx | 354 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 …]
|
/trunk/main/sfx2/source/doc/ |
H A D | docfile.cxx | 307 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 D | graphhelp.cxx | 380 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()
|
/trunk/main/ucb/source/ucp/webdav/ |
H A D | DAVResourceAccess.cxx | 347 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 …]
|
/trunk/main/embeddedobj/source/msole/ |
H A D | olepersist.cxx | 325 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 …]
|
/trunk/main/svl/source/misc/ |
H A D | sharecontrolfile.cxx | 96 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()
|
/trunk/main/svtools/source/misc/ |
H A D | embedhlp.cxx | 686 uno::Reference < io::XInputStream > xStream; in GetGraphicStream() local 691 xStream = mpImp->pContainer->GetGraphicStream( mxObj, &mpImp->aMediaType ); in GetGraphicStream() 692 if ( xStream.is() ) in GetGraphicStream() 700 nRead = xStream->readBytes ( aSequence, nConstBufferSize ); in GetGraphicStream() 709 if ( !xStream.is() ) in GetGraphicStream() 723 xStream = GetGraphicReplacementStream(mpImp->nViewAspect,mxObj,&mpImp->aMediaType); in GetGraphicStream() 725 if(xStream.is()) in GetGraphicStream() 728 … mpImp->pContainer->InsertGraphicStream(xStream,mpImp->aPersistName,mpImp->aMediaType); in GetGraphicStream() 730 SvStream* pResult = ::utl::UcbStreamHelper::CreateStream( xStream ); in GetGraphicStream() 882 … uno::Reference < io::XInputStream > xStream = new ::utl::OSeekableInputStreamWrapper( aStream ); in SetGraphicToContainer() local [all …]
|
/trunk/main/svx/source/xml/ |
H A D | xmleohlp.cxx | 545 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()
|
/trunk/main/comphelper/source/misc/ |
H A D | storagehelper.cxx | 156 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()
|
/trunk/main/unotools/inc/unotools/ |
H A D | ucbstreamhelper.hxx | 72 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…
|
/trunk/main/sw/source/core/docnode/ |
H A D | retrieveinputstream.cxx | 71 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()
|