33 RID_SVXSTRARY_PAPERSIZE_STD : RID_SVXSTRARY_PAPERSIZE_DRAW;
37 for ( sal_uInt32
i = 0;
i < nCnt; ++
i )
40 Paper eSize =
static_cast<Paper>(pPaperAry[
i].second);
41 m_xControl->append(OUString::number(
static_cast<sal_Int32
>(eSize)),
aStr);
51 for (
int i = 0;
i < nEntryCount; ++
i)
54 if (eTmp == ePreselectPaper)
65 m_xControl->set_active((nSelPos != -1) ? nSelPos : nUserPos);
void set_active_id(Paper eSize)
SvxPaperSizeListBox(std::unique_ptr< weld::ComboBox > pControl)
void FillPaperSizeEntries(PaperSizeApp eApp)
Paper get_active_id() const
std::unique_ptr< weld::ComboBox > m_xControl
OUString SvxResId(TranslateId aId)
#define SAL_N_ELEMENTS(arr)
constexpr OUStringLiteral first