25#include <bitmaps.hlst>
33 SfxMedium* pSfxMedium,
const OUString& rFileName )
34 : GenericDialogController(pWindow,
"modules/sdraw/ui/insertslidesdialog.ui",
"InsertSlidesDialog")
35 , m_pMedium(pSfxMedium)
38 , m_xLbTree(new
SdPageObjsTLV(m_xBuilder->weld_tree_view(
"tree")))
39 , m_xCbxLink(m_xBuilder->weld_check_button(
"links"))
40 , m_xCbxMasters(m_xBuilder->weld_check_button(
"backgrounds"))
70 m_xLbTree->set_selection_mode(SelectionMode::Multiple);
94 std::unique_ptr<weld::TreeIter> xIter(
m_xLbTree->make_iterator());
96 return std::vector<OUString>();
123 m_xCbxLink->set_sensitive(m_xLbTree->IsLinkableSelected());
SAL_DLLPRIVATE::sd::DrawDocShell * GetDocSh() const
SAL_DLLPRIVATE DocumentType GetDocumentType() const
std::unique_ptr< SdPageObjsTLV > m_xLbTree
bool IsLink() const
is link checked
std::unique_ptr< weld::CheckButton > m_xCbxLink
std::unique_ptr< weld::CheckButton > m_xCbxMasters
bool IsRemoveUnnecessaryMasterPages() const
is link checked
virtual ~SdInsertPagesObjsDlg() override
SdInsertPagesObjsDlg(weld::Window *pParent, const SdDrawDocument *pDoc, SfxMedium *pSfxMedium, const OUString &rFileName)
void Reset()
Fills the TreeLB dependent on the medium.
std::vector< OUString > GetList(const sal_uInt16 nType)
returns the list nType == 0 -> pages nType == 1 -> objects
const SdDrawDocument * m_pDoc
std::shared_ptr< weld::Dialog > m_xDialog
IMPL_LINK_NOARG(SdInsertPagesObjsDlg, SelectObjectHdl, weld::TreeView &, void)
Enabled and selects end-color-LB.
#define LINK(Instance, Class, Member)
OUString SdResId(TranslateId aId)