Home
last modified time | relevance | path

Searched refs:xInputStream (Results 1 – 25 of 125) sorted by relevance

12345

/trunk/main/xmlsecurity/source/xmlsec/
H A Dxmlstreamio.cxx70 xInputStream = m_xUriBinding->getUriBinding( sUri ) ; in xmlStreamMatch()
71 if (!xInputStream.is()) in xmlStreamMatch()
75 xInputStream = m_xUriBinding->getUriBinding( in xmlStreamMatch()
79 if (xInputStream.is()) in xmlStreamMatch()
100 xInputStream = m_xUriBinding->getUriBinding( sUri ) ; in xmlStreamOpen()
101 if (!xInputStream.is()) in xmlStreamOpen()
105 xInputStream = m_xUriBinding->getUriBinding( in xmlStreamOpen()
109 if( xInputStream.is() ) { in xmlStreamOpen()
110 pInputStream = xInputStream.get() ; in xmlStreamOpen()
131 if( !xInputStream.is() ) in xmlStreamRead()
[all …]
/trunk/main/sot/source/unoolestorage/
H A Dxolesimplestorage.cxx150 nRead = xInputStream->readBytes( aData, nBytesCount ); in InsertInputStreamToStorage_Impl()
194 uno::Reference< io::XInputStream > xInputStream; in InsertNameAccessToStorage_Impl() local
197 if ( aAny >>= xInputStream ) in InsertNameAccessToStorage_Impl()
232 uno::Reference< io::XInputStream > xInputStream; in initialize() local
247 if ( xInputStream.is() ) in initialize()
272 if ( xInputStream.is() ) in initialize()
337 uno::Reference< io::XInputStream > xInputStream; in insertByName() local
346 xInputStream = xStream->getInputStream(); in insertByName()
350 if ( xInputStream.is() ) in insertByName()
455 if ( !xOutputStream.is() || !xInputStream.is() ) in getByName()
[all …]
/trunk/main/xmlsecurity/tools/demo/
H A Dmultisigdemo.cxx71 uno::Reference< io::XInputStream > xInputStream; in main() local
139 xInputStream = OpenInputStream( aSIGFileName ); in main()
140 bDone = aSignatureHelper.ReadAndVerifySignature( xInputStream ); in main()
141 xInputStream->closeInput(); in main()
201 xInputStream = OpenInputStream( aSIGFileName ); in main()
202 bDone = aSignatureHelper.ReadAndVerifySignature( xInputStream ); in main()
203 xInputStream->closeInput(); in main()
218 xInputStream = OpenInputStream( aSIGFileName2 ); in main()
219 bDone = aSignatureHelper.ReadAndVerifySignature( xInputStream ); in main()
220 xInputStream->closeInput(); in main()
/trunk/main/xmlhelp/source/cxxhelp/provider/
H A Dbufferedinputstream.cxx38 Reference<XInputStream> chelp::turnToSeekable(const Reference<XInputStream>& xInputStream) in turnToSeekable() argument
40 if( ! xInputStream.is() ) in turnToSeekable()
41 return xInputStream; in turnToSeekable()
43 Reference<XSeekable> xSeekable(xInputStream,UNO_QUERY); in turnToSeekable()
46 return xInputStream; in turnToSeekable()
48 return new BufferedInputStream(xInputStream); in turnToSeekable()
53 BufferedInputStream::BufferedInputStream(const Reference<XInputStream>& xInputStream) in BufferedInputStream() argument
64 num = xInputStream->readBytes(aData,4096); in BufferedInputStream()
92 xInputStream->closeInput(); in BufferedInputStream()
H A Durlparameter.cxx765 Reference< XInputStream > xInputStream; in zipOpen() local
774 xInputStream = xSink->getInputStream(); in zipOpen()
781 if( xInputStream.is() ) in zipOpen()
783 return new Reference<XInputStream>(xInputStream); in zipOpen()
802 Reference< XInputStream > xInputStream; in helpOpen() local
811 xInputStream = xSink->getInputStream(); in helpOpen()
818 if( xInputStream.is() ) in helpOpen()
819 return new Reference<XInputStream>(xInputStream); in helpOpen()
/trunk/main/package/source/xstor/
H A Dxfactory.cxx41 sal_Bool CheckPackageSignature_Impl( const uno::Reference< io::XInputStream >& xInputStream, in CheckPackageSignature_Impl() argument
44 if ( !xInputStream.is() || !xSeekable.is() ) in CheckPackageSignature_Impl()
51 sal_Int32 nRead = xInputStream->readBytes( aData, 4 ); in CheckPackageSignature_Impl()
146 uno::Reference< io::XInputStream > xInputStream; in createInstanceWithArguments() local
173 xInputStream = xTempAccess->openFileRead( aURL ); in createInstanceWithArguments()
175 else if ( !( aArguments[0] >>= xStream ) && !( aArguments[0] >>= xInputStream ) ) in createInstanceWithArguments()
250 if ( xInputStream.is() ) in createInstanceWithArguments()
256 uno::Reference< io::XSeekable > xSeekable( xInputStream, uno::UNO_QUERY ); in createInstanceWithArguments()
263 if ( !CheckPackageSignature_Impl( xInputStream, xSeekable ) ) in createInstanceWithArguments()
267 …static_cast< OWeakObject* >( new OStorage( xInputStream, nStorageMode, aPropsToSet, m_xFactory, nS… in createInstanceWithArguments()
H A Dswitchpersistencestream.cxx90 const uno::Reference< io::XInputStream >& xInputStream ) in SwitchablePersistenceStream()
94 SwitchPersistenceTo( xInputStream ); in SwitchablePersistenceStream()
139 …blePersistenceStream::SwitchPersistenceTo( const uno::Reference< io::XInputStream >& xInputStream ) in SwitchPersistenceTo() argument
143 uno::Reference< io::XSeekable > xNewSeekable( xInputStream, uno::UNO_QUERY_THROW ); in SwitchPersistenceTo()
145 if ( !xInputStream.is() ) in SwitchPersistenceTo()
169 xNewStream, xNewTruncate, xNewSeekable, xInputStream, xNewOutStream, in SwitchPersistenceTo()
/trunk/main/scripting/java/com/sun/star/script/framework/io/
H A DUCBStreamHandler.java218 XInputStream xInputStream = null; in getFileStreamFromUCB() local
222 xInputStream = m_xSimpleFileAccess.openFileRead(path); in getFileStreamFromUCB()
232 if ( xInputStream.available() > 0 ) in getFileStreamFromUCB()
234 sz = xInputStream.available(); in getFileStreamFromUCB()
238 LogUtils.DEBUG("available = " + xInputStream.available() ); in getFileStreamFromUCB()
241 ln = xInputStream.readBytes(inputBytes, sz); in getFileStreamFromUCB()
260 if (xInputStream != null) { in getFileStreamFromUCB()
262 xInputStream.closeInput(); in getFileStreamFromUCB()
/trunk/main/ucb/source/core/
H A Ducbcmds.cxx966 if ( !xInputStream.is() ) in getInputStream()
1010 return xInputStream; in getInputStream()
1150 if ( xInputStream.is() ) in handleNameClashRename()
1162 xInputStream.clear(); in handleNameClashRename()
1166 xInputStream.clear(); in handleNameClashRename()
1170 xInputStream.clear(); in handleNameClashRename()
1172 if ( !xInputStream.is() ) in handleNameClashRename()
1174 xInputStream in handleNameClashRename()
1176 if ( !xInputStream.is() ) in handleNameClashRename()
1201 aArg.Data = xInputStream; in handleNameClashRename()
[all …]
/trunk/main/writerfilter/unocomponent/debugservices/ooxml/
H A DOOXMLAnalyzeService.cxx70 uno::Reference<io::XInputStream> xInputStream; member in writerfilter::ooxmltest::URLLister
97 xInputStream = xFileAccess->openFileRead(absFileUrl) ; in URLLister()
112 sal_uInt32 nCount = xInputStream->readBytes(aSeq, 1024); in getURL()
204 uno::Reference<io::XInputStream> xInputStream = in run() local
207 if (xInputStream.is()) in run()
211 (xContext, xInputStream); in run()
232 xInputStream->closeInput(); in run()
/trunk/main/sw/source/core/docnode/
H A Dretrieveinputstream.cxx67 com::sun::star::uno::Reference<com::sun::star::io::XInputStream> xInputStream; in threadFunction() local
68 aMedium[comphelper::MediaDescriptor::PROP_INPUTSTREAM()] >>= xInputStream; in threadFunction()
69 if ( !xInputStream.is() ) in threadFunction()
75 xInputStream = xStream->getInputStream(); in threadFunction()
80 xInputStream, in threadFunction()
/trunk/main/sw/source/core/unocore/
H A Dunocrsrhelper.cxx816 uno::Reference < io::XInputStream > xInputStream; in InsertFile() local
822 aMediaDescriptor[comphelper::MediaDescriptor::PROP_INPUTSTREAM()] >>= xInputStream; in InsertFile()
829 if ( !xInputStream.is() && xStream.is() ) in InsertFile()
830 xInputStream = xStream->getInputStream(); in InsertFile()
832 if(!pDocSh || (!sFileName.getLength() && !xInputStream.is())) in InsertFile()
838 if( xInputStream.is() ) in InsertFile()
841 aArgs[0] <<= xInputStream; in InsertFile()
856 if( xInputStream.is() && !xReadStorage.is()) in InsertFile()
859 pMed->setStreamToLoadFrom(xInputStream, sal_True ); in InsertFile()
879 if( xInputStream.is() && !xReadStorage.is()) in InsertFile()
[all …]
/trunk/main/svx/source/xml/
H A Dxmlexport.cxx162 …ayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream, const Referenc… in SvxDrawingLayerImport() argument
164 …return SvxDrawingLayerImport( pModel, xInputStream, xComponent, "com.sun.star.comp.Draw.XMLOasisIm… in SvxDrawingLayerImport()
167 …ayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream, const Referenc… in SvxDrawingLayerImport() argument
223 aParserInput.aInputStream = xInputStream; in SvxDrawingLayerImport()
275 …ool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream ) in SvxDrawingLayerImport() argument
278 return SvxDrawingLayerImport( pModel, xInputStream, xComponent ); in SvxDrawingLayerImport()
/trunk/main/writerfilter/unocomponent/debugservices/doctok/
H A DDocTokAnalyzeService.cxx69 uno::Reference<io::XInputStream> xInputStream; member in writerfilter::doctoktest::URLLister
96 xInputStream = xFileAccess->openFileRead(absFileUrl) ; in URLLister()
111 sal_uInt32 nCount = xInputStream->readBytes(aSeq, 1024); in getURL()
201 uno::Reference<io::XInputStream> xInputStream = in run() local
206 (xContext, xInputStream); in run()
227 xInputStream->closeInput(); in run()
/trunk/main/sfx2/source/doc/
H A Ddocfile.cxx306 Reference < XInputStream > xInputStream; member in SfxMedium_Impl
659 pImp->xInputStream = uno::Reference< io::XInputStream >(); in CloseInStream_Impl()
1491 else if ( pImp->xInputStream.is() ) in GetStorage()
1494 aArgs[0] <<= pImp->xInputStream; in GetStorage()
1622 else if ( pImp->xInputStream.is() ) in GetZipStorageToSign_Impl()
2411 if ( xInputStream.is() ) in GetLockingStream_Impl()
2412 pImp->xInputStream = xInputStream; in GetLockingStream_Impl()
2476 pImp->xInputStream->skipBytes(0); in GetMedium_Impl()
2553 else if ( pImp->xInputStream.is() ) in GetMedium_Impl()
3535 if ( !pImp->xInputStream.is() ) in GetInputStream()
[all …]
/trunk/main/writerfilter/source/filter/
H A DImportFilter.cxx68 uno::Reference< io::XInputStream > xInputStream; in filter() local
73 xInputStream = aDetector.extractUnencryptedPackage( aMediaDesc ); in filter()
80 if ( !xInputStream.is() ) in filter()
104 …Pointer_t pStream(new writerfilter::dmapper::DomainMapper(m_xContext, xInputStream, m_xDstDoc, eTy… in filter()
111 … pDocStream = writerfilter::ooxml::OOXMLDocumentFactory::createStream(m_xContext, xInputStream); in filter()
132 …er_t pDocStream = writerfilter::doctok::WW8DocumentFactory::createStream(m_xContext, xInputStream); in filter()
H A DWriterFilterDetection.cxx73 uno::Reference < io::XInputStream > xInputStream; in detect() local
83 pValues[nProperty].Value >>= xInputStream; in detect()
92 SvStream* pStream = ::utl::UcbStreamHelper::CreateStream( xInputStream ); in detect()
119 xDocStorage = comphelper::OStorageHelper::GetStorageFromInputStream( xInputStream ); in detect()
/trunk/main/sd/source/filter/html/
H A Dbuttonset.cxx81 Reference< XInputStream > xInputStream; in getInputStream() local
86 xInputStream = xStream->getInputStream(); in getInputStream()
92 return xInputStream; in getInputStream()
97 Reference< XInputStream > xInputStream( getInputStream( rName ) ); in getGraphic() local
98 if( xInputStream.is() && xGraphicProvider.is() ) try in getGraphic()
102 aMediaProperties[0].Value <<= xInputStream; in getGraphic()
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/
H A DFlatXml.cxx128 Reference< XInputStream > xInputStream; in importer() local
133 aSourceData[i].Value >>= xInputStream; in importer()
141 OSL_ASSERT(xInputStream.is()); in importer()
142 if (!xInputStream.is()) return sal_False; in importer()
145 Reference< XSeekable > xSeek(xInputStream, UNO_QUERY); in importer()
163 aInput.aInputStream = xInputStream; in importer()
/trunk/main/filter/source/xsltfilter/
H A DXSLTFilter.cxx265 Reference< XInputStream > xInputStream; in importer() local
270 aSourceData[i].Value >>= xInputStream; in importer()
276 OSL_ASSERT(xInputStream.is()); in importer()
277 if ( !xInputStream.is() ) in importer()
304 OSL_ASSERT(xInputStream.is()); in importer()
306 if (xHandler.is() && xInputStream.is() && m_tcontrol.is()) in importer()
316 UOF2Storage aUOF2Storage( m_rServiceFactory, xInputStream ); in importer()
325 tsink->setInputStream( xInputStream ); in importer()
/trunk/main/writerfilter/unocomponent/debugservices/rtftok/
H A DXMLScanner.cxx183 uno::Reference< io::XInputStream > xInputStream; member in writerfilter::rtftok::RtfInputSourceImpl
190 xInputStream(xInputStream_), in RtfInputSourceImpl()
194 xSeekable=uno::Reference< io::XSeekable >(xInputStream, uno::UNO_QUERY); in RtfInputSourceImpl()
208 int len=xInputStream->readSomeBytes(buffer,maxlen); in read()
286 uno::Reference<io::XInputStream> xInputStream = xFileAccess->openFileRead(absFileUrl); in run() local
289 RtfInputSourceImpl rtfInputSource(xInputStream, xStatusIndicator); in run()
H A DScannerTestService.cxx293 uno::Reference< io::XInputStream > xInputStream; member in writerfilter::rtftok::RtfInputSourceImpl
300 xInputStream(xInputStream_), in RtfInputSourceImpl()
304 xSeekable=uno::Reference< io::XSeekable >(xInputStream, uno::UNO_QUERY); in RtfInputSourceImpl()
318 int len=xInputStream->readSomeBytes(buffer,maxlen); in read()
400 uno::Reference<io::XInputStream> xInputStream = xFileAccess->openFileRead(absFileUrl); in run() local
405 RtfInputSourceImpl rtfInputSource(xInputStream, xStatusIndicator); in run()
/trunk/main/comphelper/source/misc/
H A Dmediadescriptor.cxx747 css::uno::Reference< css::io::XInputStream > xInputStream; in impl_openStreamWithURL() local
771 xInputStream = xStream->getInputStream(); in impl_openStreamWithURL()
799 xInputStream.clear(); in impl_openStreamWithURL()
805 if (!xInputStream.is()) in impl_openStreamWithURL()
844 xInputStream = aContent.openStream(); in impl_openStreamWithURL()
846 xInputStream = aContent.openStreamNoLock(); in impl_openStreamWithURL()
859 if (xInputStream.is()) in impl_openStreamWithURL()
860 (*this)[MediaDescriptor::PROP_INPUTSTREAM()] <<= xInputStream; in impl_openStreamWithURL()
863 return xInputStream.is(); in impl_openStreamWithURL()
/trunk/main/ucb/source/ucp/webdav/
H A Dwebdavresponseparser.cxx990 const uno::Reference< io::XInputStream >& xInputStream, in parseWebDAVPropNameResponse()
996 if(xInputStream.is()) in parseWebDAVPropNameResponse()
1002 myInputSource.aInputStream = xInputStream; in parseWebDAVPropNameResponse()
1051 …< DAVResource > parseWebDAVPropFindResponse(const uno::Reference< io::XInputStream >& xInputStream) in parseWebDAVPropFindResponse() argument
1057 …parseWebDAVPropNameResponse(xInputStream, aRetval, aFoo, aFoo2, WebDAVResponseParserMode_PropFind); in parseWebDAVPropFindResponse()
1061 …VResourceInfo > parseWebDAVPropNameResponse(const uno::Reference< io::XInputStream >& xInputStream) in parseWebDAVPropNameResponse() argument
1067 …parseWebDAVPropNameResponse(xInputStream, aFoo, aRetval, aFoo2, WebDAVResponseParserMode_PropName); in parseWebDAVPropNameResponse()
1071 …p::DAVPropertyValue parseWebDAVLockResponse(const uno::Reference< io::XInputStream >& xInputStream) in parseWebDAVLockResponse() argument
1078 …parseWebDAVPropNameResponse(xInputStream, aFoo2, aFoo, aRetval, WebDAVResponseParserMode_LockRespo… in parseWebDAVLockResponse()
/trunk/main/embeddedobj/source/msole/
H A Downview.cxx92 const uno::Reference< io::XInputStream >& xInputStream ) in OwnView_Impl()
97 if ( !xFactory.is() || !xInputStream.is() ) in OwnView_Impl()
100 m_aTempFileURL = GetNewFilledTempFile_Impl( xInputStream, m_xFactory ); in OwnView_Impl()
208 … const uno::Reference< io::XInputStream >& xInputStream ) in GetFilterNameFromExtentionAndInStream()
210 if ( !xInputStream.is() ) in GetFilterNameFromExtentionAndInStream()
230 aArgs[1].Value <<= xInputStream; in GetFilterNameFromExtentionAndInStream()

Completed in 171 milliseconds

12345