Lines Matching refs:i_rImpl

305 getURIForStream(struct DocumentMetadataAccess_Impl& i_rImpl,  in getURIForStream()  argument
309 rdf::URI::createNS( i_rImpl.m_xContext, in getURIForStream()
310 i_rImpl.m_xBaseURI->getStringValue(), i_rPath), in getURIForStream()
318 addFile(struct DocumentMetadataAccess_Impl & i_rImpl, in addFile() argument
325 i_rImpl, i_rPath) ); in addFile()
327 i_rImpl.m_xManifest->addStatement(i_rImpl.m_xBaseURI.get(), in addFile()
328 getURI<rdf::URIs::PKG_HASPART>(i_rImpl.m_xContext), in addFile()
330 i_rImpl.m_xManifest->addStatement(xURI.get(), in addFile()
331 getURI<rdf::URIs::RDF_TYPE>(i_rImpl.m_xContext), in addFile()
335 i_rImpl.m_xManifest->addStatement(xURI.get(), in addFile()
336 getURI<rdf::URIs::RDF_TYPE>(i_rImpl.m_xContext), in addFile()
351 addContentOrStylesFileImpl(struct DocumentMetadataAccess_Impl & i_rImpl, in addContentOrStylesFileImpl() argument
356 xType.set(getURI<rdf::URIs::ODF_CONTENTFILE>(i_rImpl.m_xContext)); in addContentOrStylesFileImpl()
358 xType.set(getURI<rdf::URIs::ODF_STYLESFILE>(i_rImpl.m_xContext)); in addContentOrStylesFileImpl()
362 addFile(i_rImpl, xType.get(), i_rPath); in addContentOrStylesFileImpl()
368 addMetadataFileImpl(struct DocumentMetadataAccess_Impl & i_rImpl, in addMetadataFileImpl() argument
372 addFile(i_rImpl, in addMetadataFileImpl()
373 getURI<rdf::URIs::PKG_METADATAFILE>(i_rImpl.m_xContext), in addMetadataFileImpl()
379 removeFile(struct DocumentMetadataAccess_Impl & i_rImpl, in removeFile() argument
384 i_rImpl.m_xManifest->removeStatements(i_rImpl.m_xBaseURI.get(), in removeFile()
385 getURI<rdf::URIs::PKG_HASPART>(i_rImpl.m_xContext), in removeFile()
387 i_rImpl.m_xManifest->removeStatements(i_xPart.get(), in removeFile()
388 getURI<rdf::URIs::RDF_TYPE>(i_rImpl.m_xContext), 0); in removeFile()
399 getAllParts(struct DocumentMetadataAccess_Impl & i_rImpl) in getAllParts() argument
404 i_rImpl.m_xManifest->getStatements( i_rImpl.m_xBaseURI.get(), in getAllParts()
405 getURI<rdf::URIs::PKG_HASPART>(i_rImpl.m_xContext), 0), in getAllParts()
428 isPartOfType(struct DocumentMetadataAccess_Impl & i_rImpl, in isPartOfType() argument
435 i_rImpl.m_xManifest->getStatements(i_xPart.get(), in isPartOfType()
436 getURI<rdf::URIs::RDF_TYPE>(i_rImpl.m_xContext), in isPartOfType()
545 readStream(struct DocumentMetadataAccess_Impl & i_rImpl, in readStream() argument
562 rdf::URI::create(i_rImpl.m_xContext, i_rBaseURI)); in readStream()
564 rdf::URI::createNS(i_rImpl.m_xContext, in readStream()
566 i_rImpl.m_xRepository->importGraph(rdf::FileFormat::RDF_XML, in readStream()
594 readStream(i_rImpl, xDir, rest, buf.makeStringAndClear() ); in readStream()
615 importFile(struct DocumentMetadataAccess_Impl & i_rImpl, in importFile() argument
623 readStream(i_rImpl, i_xStorage, i_rPath, i_rBaseURI); in importFile()
637 exportStream(struct DocumentMetadataAccess_Impl & i_rImpl, in exportStream() argument
657 rdf::URI::create(i_rImpl.m_xContext, i_rBaseURI)); in exportStream()
658 i_rImpl.m_xRepository->exportGraph(rdf::FileFormat::RDF_XML, in exportStream()
664 writeStream(struct DocumentMetadataAccess_Impl & i_rImpl, in writeStream() argument
675 exportStream(i_rImpl, i_xStorage, i_xGraphName, i_rPath, in writeStream()
696 writeStream(i_rImpl, xDir, i_xGraphName, rest, in writeStream()
712 initLoading(struct DocumentMetadataAccess_Impl & i_rImpl, in initLoading() argument
719 i_rImpl.m_xManifest.clear(); in initLoading()
721 i_rImpl.m_xBaseURI = i_xBaseURI; in initLoading()
724 i_rImpl.m_xRepository.clear(); in initLoading()
725 i_rImpl.m_xRepository.set(rdf::Repository::create(i_rImpl.m_xContext), in initLoading()
737 getURIForStream(i_rImpl, manifest)); in initLoading()
739 readStream(i_rImpl, i_xStorage, manifest, baseURI); in initLoading()
752 i_rImpl.m_xRepository->getGraph(xManifest)); in initLoading()
753 i_rImpl.m_xManifest.set(xManifestGraph.is() ? xManifestGraph : in initLoading()
754 i_rImpl.m_xRepository->createGraph(xManifest), uno::UNO_SET_THROW); in initLoading()
756 i_rImpl.m_xManifest->getStatements(0, in initLoading()
757 getURI<rdf::URIs::RDF_TYPE>(i_rImpl.m_xContext), in initLoading()
758 getURI<rdf::URIs::PKG_DOCUMENT>(i_rImpl.m_xContext).get())); in initLoading()
761 i_rImpl.m_xManifest->addStatement(i_rImpl.m_xBaseURI.get(), in initLoading()
762 getURI<rdf::URIs::RDF_TYPE>(i_rImpl.m_xContext), in initLoading()
763 getURI<rdf::URIs::PKG_DOCUMENT>(i_rImpl.m_xContext).get()); in initLoading()
765 OSL_ENSURE(i_rImpl.m_xBaseURI.is(), "base URI is null"); in initLoading()
766 OSL_ENSURE(i_rImpl.m_xRepository.is(), "repository is null"); in initLoading()
767 OSL_ENSURE(i_rImpl.m_xManifest.is(), "manifest is null"); in initLoading()
782 static void init(struct DocumentMetadataAccess_Impl & i_rImpl) in init() argument
786 i_rImpl.m_xManifest.set(i_rImpl.m_xRepository->createGraph( in init()
787 getURIForStream(i_rImpl, in init()
792 i_rImpl.m_xManifest->addStatement(i_rImpl.m_xBaseURI.get(), in init()
793 getURI<rdf::URIs::RDF_TYPE>(i_rImpl.m_xContext), in init()
794 getURI<rdf::URIs::PKG_DOCUMENT>(i_rImpl.m_xContext).get()); in init()
802 if (!addContentOrStylesFileImpl(i_rImpl, in init()
806 if (!addContentOrStylesFileImpl(i_rImpl, in init()