LibreOffice Module sw (master) 1
|
Functions | |
sal_Int32 | GetEnumAsInt32 (const css::uno::Any &rVal) |
bool | UCB_DeleteFile (const OUString &rURL) |
bool | UCB_MoveFile (const OUString &rURL, std::u16string_view rNewURL) |
bool | UCB_IsCaseSensitiveFileName (std::u16string_view rURL) |
bool | UCB_IsReadOnlyFileName (const OUString &rURL) |
bool | UCB_IsFile (const OUString &rURL) |
bool | UCB_IsDirectory (const OUString &rURL) |
bool | UCB_GetFileListOfFolder (const OUString &rURL, std::vector< OUString > &rList, const OUString *pExtension, std::vector< ::DateTime > *pDateTimeList) |
bool | needToMapFillItemsToSvxBrushItemTypes (const SfxItemSet &rSet, sal_uInt16 const nMemberId) |
helper to check if fill style is set to color or bitmap and thus formerly used SvxBrushItem parts need to be mapped for backwards compatibility More... | |
bool | UCB_GetFileListOfFolder (const OUString &rURL, std::vector< OUString > &rList, const OUString *pExtension, std::vector< DateTime > *pDateTimeList=nullptr) |
sal_Int32 SWUnoHelper::GetEnumAsInt32 | ( | const css::uno::Any & | rVal | ) |
Definition at line 50 of file swunohelper.cxx.
Referenced by SwPageNumberField::PutValue(), SwFormatAnchor::PutValue(), SwFormatSurround::PutValue(), SwDrawModeGrf::PutValue(), SwXShape::setPropertyValue(), and SwXTextField::setPropertyValue().
bool SWUnoHelper::needToMapFillItemsToSvxBrushItemTypes | ( | const SfxItemSet & | rSet, |
sal_uInt16 const | nMID | ||
) |
helper to check if fill style is set to color or bitmap and thus formerly used SvxBrushItem parts need to be mapped for backwards compatibility
Definition at line 261 of file swunohelper.cxx.
References SfxItemSet::GetItem(), SfxItemSet::GetItemState(), MID_BACK_COLOR, MID_BACK_COLOR_R_G_B, MID_BACK_COLOR_TRANSPARENCY, MID_GRAPHIC, MID_GRAPHIC_POSITION, MID_GRAPHIC_TRANSPARENCY, MID_GRAPHIC_TRANSPARENT, rSet, XATTR_FILLBITMAP(), XATTR_FILLBMP_POS(), XATTR_FILLBMP_STRETCH(), XATTR_FILLBMP_TILE(), XATTR_FILLCOLOR(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLSTYLE(), and XATTR_FILLTRANSPARENCE().
Referenced by SwXAutoStyle::getPropertyStates(), and lcl_SwXParagraph_getPropertyState().
SW_DLLPUBLIC bool SWUnoHelper::UCB_DeleteFile | ( | const OUString & | rURL | ) |
Definition at line 59 of file swunohelper.cxx.
References ucbhelper::Content::executeCommand(), comphelper::getProcessComponentContext(), and TOOLS_WARN_EXCEPTION.
Referenced by DeleteTmpFile_Impl(), SwGlossaries::DelGroupDoc(), IMPL_LINK_NOARG(), and SwDBManager::MergeMailFiles().
bool SWUnoHelper::UCB_GetFileListOfFolder | ( | const OUString & | rURL, |
std::vector< OUString > & | rList, | ||
const OUString * | pExtension, | ||
std::vector< ::DateTime > * | pDateTimeList | ||
) |
Definition at line 185 of file swunohelper.cxx.
References ucbhelper::Content::createCursor(), comphelper::getProcessComponentContext(), and TOOLS_WARN_EXCEPTION.
Referenced by SwGlossaries::GetNameList(), and SwGlossaryList::Update().
bool SWUnoHelper::UCB_GetFileListOfFolder | ( | const OUString & | rURL, |
std::vector< OUString > & | rList, | ||
const OUString * | pExtension, | ||
std::vector< DateTime > * | pDateTimeList = nullptr |
||
) |
SW_DLLPUBLIC bool SWUnoHelper::UCB_IsCaseSensitiveFileName | ( | std::u16string_view | rURL | ) |
Definition at line 107 of file swunohelper.cxx.
References INetURLObject::GetBase(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), INetURLObject::NONE, INetURLObject::SetBase(), and TOOLS_WARN_EXCEPTION.
Referenced by SwGlossaries::FindGroupName(), and SwGlossaryGroupDlg::SwGlossaryGroupDlg().
bool SWUnoHelper::UCB_IsDirectory | ( | const OUString & | rURL | ) |
Definition at line 166 of file swunohelper.cxx.
References comphelper::getProcessComponentContext(), and ucbhelper::Content::isFolder().
Referenced by SwXMailMerge::execute(), and SwXMailMerge::setPropertyValue().
SW_DLLPUBLIC bool SWUnoHelper::UCB_IsFile | ( | const OUString & | rURL | ) |
Definition at line 152 of file swunohelper.cxx.
References comphelper::getProcessComponentContext(), and ucbhelper::Content::isDocument().
Referenced by IMPL_LINK(), SwAddressListDialog::SwAddressListDialog(), and SwMailMergeConfigItem_Impl::SwMailMergeConfigItem_Impl().
SW_DLLPUBLIC bool SWUnoHelper::UCB_IsReadOnlyFileName | ( | const OUString & | rURL | ) |
Definition at line 135 of file swunohelper.cxx.
References comphelper::getProcessComponentContext(), and ucbhelper::Content::getPropertyValue().
Referenced by SwXMailMerge::execute(), IMPL_LINK(), SwXMailMerge::setPropertyValue(), and SwAddressListDialog::SwAddressListDialog().
bool SWUnoHelper::UCB_MoveFile | ( | const OUString & | rURL, |
std::u16string_view | rNewURL | ||
) |
Definition at line 78 of file swunohelper.cxx.
References aURL, ucbhelper::Content::executeCommand(), comphelper::getProcessComponentContext(), INetURLObject::NONE, sName, and TOOLS_WARN_EXCEPTION.
Referenced by SwGlossaries::RenameGroupDoc().