LibreOffice Module sd (master) 1
inspagob.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <vcl/weld.hxx>
23
24class SdDrawDocument;
25class SdPageObjsTLV;
26class SfxMedium;
27
29{
30private:
33 const OUString& m_rName;
34
35 std::unique_ptr<SdPageObjsTLV> m_xLbTree;
36 std::unique_ptr<weld::CheckButton> m_xCbxLink;
37 std::unique_ptr<weld::CheckButton> m_xCbxMasters;
38
39 void Reset();
40 DECL_LINK(SelectObjectHdl, weld::TreeView&, void);
41
42public:
44 SfxMedium* pSfxMedium, const OUString& rFileName);
45 virtual ~SdInsertPagesObjsDlg() override;
46
51 std::vector<OUString> GetList ( const sal_uInt16 nType ) ;
52
53 bool IsLink() const;
55};
56
57/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< SdPageObjsTLV > m_xLbTree
Definition: inspagob.hxx:35
bool IsLink() const
is link checked
Definition: inspagob.cxx:105
std::unique_ptr< weld::CheckButton > m_xCbxLink
Definition: inspagob.hxx:36
SfxMedium * m_pMedium
Definition: inspagob.hxx:31
std::unique_ptr< weld::CheckButton > m_xCbxMasters
Definition: inspagob.hxx:37
const OUString & m_rName
Definition: inspagob.hxx:33
bool IsRemoveUnnecessaryMasterPages() const
is link checked
Definition: inspagob.cxx:113
virtual ~SdInsertPagesObjsDlg() override
Definition: inspagob.cxx:58
SdInsertPagesObjsDlg(weld::Window *pParent, const SdDrawDocument *pDoc, SfxMedium *pSfxMedium, const OUString &rFileName)
Definition: inspagob.cxx:31
void Reset()
Fills the TreeLB dependent on the medium.
Definition: inspagob.cxx:66
DECL_LINK(SelectObjectHdl, weld::TreeView &, void)
std::vector< OUString > GetList(const sal_uInt16 nType)
returns the list nType == 0 -> pages nType == 1 -> objects
Definition: inspagob.cxx:83
const SdDrawDocument * m_pDoc
Definition: inspagob.hxx:32