LibreOffice Module svl (master) 1
|
Functions | |
SVL_DLLPUBLIC bool | GetModifiedDateTimeOfFile (const OUString &rURL, Date *pDate, tools::Time *pTime) |
Return the modified time and date stamp for this URL. More... | |
SVL_DLLPUBLIC bool | IsDocument (const OUString &rURL) |
Return if under the URL a document exist. More... | |
SVL_DLLPUBLIC bool | IsFolder (const OUString &rURL) |
Return if under the URL a folder exist. More... | |
bool FStatHelper::GetModifiedDateTimeOfFile | ( | const OUString & | rURL, |
Date * | pDate, | ||
tools::Time * | pTime | ||
) |
Return the modified time and date stamp for this URL.
URL | the asking URL |
pDate | if unequal 0, the function set the date stamp |
pTime | if unequal 0, the function set the time stamp |
Definition at line 33 of file fstathelper.cxx.
References comphelper::getProcessComponentContext(), ucbhelper::Content::getPropertyValue(), and uno::Any::hasValue().
bool FStatHelper::IsDocument | ( | const OUString & | rURL | ) |
Return if under the URL a document exist.
This is only a wrapper for the UCB.IsContent.
Definition at line 62 of file fstathelper.cxx.
References comphelper::getProcessComponentContext(), and ucbhelper::Content::isDocument().
Referenced by FSStorage::copyElementTo(), FSStorageFactory::createInstanceWithArguments(), FSStorage::getByName(), FSStorage::hasByName(), FSStorage::openStorageElementImpl(), FSStorage::openStreamElementByHierarchicalName(), FSStorage::openStreamElementImpl(), FSStorage::removeElement(), FSStorage::removeStreamElementByHierarchicalName(), and FSStorage::renameElement().
bool FStatHelper::IsFolder | ( | const OUString & | rURL | ) |
Return if under the URL a folder exist.
This is only a wrapper for the UCB.isFolder.
Definition at line 78 of file fstathelper.cxx.
References comphelper::getProcessComponentContext(), and ucbhelper::Content::isFolder().
Referenced by FSStorage::copyElementTo(), FSStorageFactory::createInstanceWithArguments(), FSStorage::getByName(), FSStorage::hasByName(), FSStorage::isStorageElement(), FSStorage::isStreamElement(), FSStorage::openStorageElementImpl(), FSStorage::openStreamElementByHierarchicalName(), FSStorage::openStreamElementImpl(), FSStorage::removeElement(), FSStorage::removeStreamElementByHierarchicalName(), and FSStorage::renameElement().