Lines Matching refs:i_rPath
108 static bool isContentFile(::rtl::OUString const & i_rPath) in isContentFile() argument
110 return i_rPath.equalsAscii(s_content); in isContentFile()
113 static bool isStylesFile (::rtl::OUString const & i_rPath) in isStylesFile() argument
115 return i_rPath.equalsAscii(s_styles); in isStylesFile()
118 static bool isReservedFile(::rtl::OUString const & i_rPath) in isReservedFile() argument
120 return isContentFile(i_rPath) in isReservedFile()
121 || isStylesFile(i_rPath) in isReservedFile()
122 || i_rPath.equalsAscii(s_meta) in isReservedFile()
123 || i_rPath.equalsAscii(s_settings); in isReservedFile()
270 splitPath(::rtl::OUString const & i_rPath, in splitPath() argument
273 const sal_Int32 idx(i_rPath.indexOf(static_cast<sal_Unicode>('/'))); in splitPath()
274 if (idx < 0 || idx >= i_rPath.getLength()) { in splitPath()
276 o_rRest = i_rPath; in splitPath()
278 } else if (idx == 0 || idx == i_rPath.getLength() - 1) { in splitPath()
282 o_rDir = (i_rPath.copy(0, idx)); in splitPath()
283 o_rRest = (i_rPath.copy(idx+1)); in splitPath()
306 ::rtl::OUString const& i_rPath) in getURIForStream() argument
310 i_rImpl.m_xBaseURI->getStringValue(), i_rPath), in getURIForStream()
320 ::rtl::OUString const & i_rPath, in addFile() argument
325 i_rImpl, i_rPath) ); in addFile()
352 const ::rtl::OUString & i_rPath) in addContentOrStylesFileImpl()
355 if (isContentFile(i_rPath)) { in addContentOrStylesFileImpl()
357 } else if (isStylesFile(i_rPath)) { in addContentOrStylesFileImpl()
362 addFile(i_rImpl, xType.get(), i_rPath); in addContentOrStylesFileImpl()
369 const ::rtl::OUString & i_rPath, in addMetadataFileImpl()
374 i_rPath, &i_rTypes); in addMetadataFileImpl()
547 ::rtl::OUString const & i_rPath, in readStream() argument
553 if (!splitPath(i_rPath, dir, rest)) throw uno::RuntimeException(); in readStream()
555 if (i_xStorage->isStreamElement(i_rPath)) { in readStream()
557 i_xStorage->openStreamElement(i_rPath, in readStream()
565 i_rBaseURI, i_rPath)); in readStream()
571 ucb::IOErrorCode_NO_FILE, i_rBaseURI + i_rPath, i_rPath); in readStream()
603 i_rBaseURI + i_rPath, i_rPath); in readStream()
606 i_rBaseURI + i_rPath, i_rPath); in readStream()
609 i_rBaseURI + i_rPath, i_rPath); in readStream()
619 ::rtl::OUString i_rPath) in importFile() argument
623 readStream(i_rImpl, i_xStorage, i_rPath, i_rBaseURI); in importFile()
667 ::rtl::OUString const & i_rPath, in writeStream() argument
672 if (!splitPath(i_rPath, dir, rest)) throw uno::RuntimeException(); in writeStream()
675 exportStream(i_rImpl, i_xStorage, i_xGraphName, i_rPath, in writeStream()