3
* Copyright (C) 2007 Murray Cumming
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License as
7
* published by the Free Software Foundation; either version 2 of the
8
* License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* General Public License for more details.
15
* You should have received a copy of the GNU General Public
16
* License along with this program; if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
* Boston, MA 02111-1307, USA.
21
#ifndef GLOM_DATASTRUCTURE_PRINT_LAYOUT_H
22
#define GLOM_DATASTRUCTURE_PRINT_LAYOUT_H
24
#include "translatable_item.h"
25
#include "layout/report_parts/layoutitem_groupby.h"
26
#include <glibmm/ustring.h>
27
#include <gtkmm/pagesetup.h>
32
class PrintLayout : public TranslatableItem
36
PrintLayout(const PrintLayout& src);
37
PrintLayout& operator=(const PrintLayout& src);
39
bool get_show_table_title() const;
40
void set_show_table_title(bool show_table_title = true);
42
sharedptr<LayoutGroup> m_layout_group;
44
void set_page_setup(const Glib::RefPtr<Gtk::PageSetup>& page_setup);
45
Glib::RefPtr<Gtk::PageSetup> get_page_setup();
46
Glib::RefPtr<const Gtk::PageSetup> get_page_setup() const;
49
bool m_show_table_title;
51
Glib::RefPtr<Gtk::PageSetup> m_page_setup;
56
#endif //GLOM_DATASTRUCTURE_PRINT_LAYOUT_H