45 : GenericDialogController(pParent,
"modules/swriter/ui/rowheight.ui",
"RowHeightDialog")
47 , m_xHeightEdit(m_xBuilder->weld_metric_spin_button(
"heightmf",
FieldUnit::
CM))
48 , m_xAutoHeightCB(m_xBuilder->weld_check_button(
"fit"))
50 FieldUnit eFieldUnit =
SW_MOD()->GetUsrPref( dynamic_cast< const SwWebDocShell*>(
58 auto nHeight = pSz->GetHeight();
66 short nRet = GenericDialogController::run();
virtual short run() override
std::unique_ptr< SwFormatFrameSize > GetRowHeight() const
Pointer must be destroyed by caller != 0.
Value in Var-direction gives minimum (can be exceeded but not be less).
Used by the UI to modify the document model.
const SwView & GetView() const
std::unique_ptr< weld::MetricSpinButton > m_xHeightEdit
void SetRowHeight(const SwFormatFrameSize &rSz)
SwTableHeightDlg(weld::Window *pParent, SwWrtShell &rS)
Frame cannot be moved in Var-direction.
SwDocShell * GetDocShell()
std::unique_ptr< weld::CheckButton > m_xAutoHeightCB