12#include <bookmark.hxx>
30 sw::mark::IFieldmark::parameter_map_t::const_iterator pListEntries
32 css::uno::Sequence<OUString> vListEntries;
33 if (pListEntries != pParameters->end())
35 pListEntries->second >>= vListEntries;
36 for (OUString
const&
i : std::as_const(vListEntries))
40 if (!vListEntries.hasElements())
46 sw::mark::IFieldmark::parameter_map_t::const_iterator pResult
48 if (pResult != pParameters->end())
50 sal_Int32 nSelection = -1;
51 pResult->second >>= nSelection;
70 OUString sSelection = rBox.get_selected_text();
71 if (sSelection ==
SwResId(STR_DROP_DOWN_EMPTY_LIST))
73 m_xFieldPopup->popdown();
77 sal_Int32 nSelection = rBox.get_selected_index();
81 m_rFieldmark.Invalidate();
86 m_xFieldPopup->popdown();
static const AllSettings & GetSettings()
static std::unique_ptr< weld::Builder > CreateBuilder(weld::Widget *pParent, const OUString &rUIFile, bool bMobile=false, sal_uInt64 nLOKWindowId=0)
constexpr tools::Long Height() const
tools::Long AdjustHeight(tools::Long n)
void setWidth(tools::Long nWidth)
tools::Long AdjustWidth(tools::Long n)
constexpr tools::Long Width() const
virtual void SetModified(bool=true) override
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
SwDocShell * GetDocShell()
Fieldmark representing a drop-down form field.
IFieldmark::parameter_map_t * GetParameters() override
virtual Size GetSizePixel() const
weld::Window * GetFrameWeld() const
#define LINK(Instance, Class, Member)
constexpr OUStringLiteral ODF_FORMDROPDOWN_RESULT
constexpr OUStringLiteral ODF_FORMDROPDOWN_LISTENTRY
OUString SwResId(TranslateId aId)