| [8136fe2] | 1 | /* i4ucdocumentpageviewiface.vala |
|---|
| 2 | * |
|---|
| 3 | * Copyright (C) 2010 Matias De la Puente |
|---|
| 4 | * |
|---|
| 5 | * This program is free software: you can redistribute it and/or modify |
|---|
| 6 | * it under the terms of the GNU General Public License as published by |
|---|
| 7 | * the Free Software Foundation, either version 3 of the License, or |
|---|
| 8 | * (at your option) any later version. |
|---|
| 9 | * |
|---|
| 10 | * This program is distributed in the hope that it will be useful, |
|---|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | * GNU General Public License for more details. |
|---|
| 14 | * |
|---|
| 15 | * You should have received a copy of the GNU General Public License |
|---|
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 17 | * |
|---|
| 18 | * Author: |
|---|
| 19 | * Matias De la Puente <mfpuente.ar@gmail.com> |
|---|
| 20 | */ |
|---|
| 21 | |
|---|
| [661bfce] | 22 | public interface I4uc.DocumentPageViewIface : GLib.Object, PageIface |
|---|
| [8136fe2] | 23 | { |
|---|
| [8884b78] | 24 | public abstract string font_name { set; get; } |
|---|
| 25 | public abstract int tab_width { set; get; } |
|---|
| 26 | public abstract bool auto_indent { set; get; } |
|---|
| 27 | public abstract bool highlight_current_line { set; get; } |
|---|
| 28 | public abstract bool insert_spaces_instead_of_tabs { set; get; } |
|---|
| 29 | public abstract bool show_line_numbers { set; get; } |
|---|
| 30 | public abstract bool highlight_matching_brackets { set; get; } |
|---|
| 31 | public abstract bool wrap_mode { set; get; } |
|---|
| [94ccfcc] | 32 | public abstract bool can_undo { get; } |
|---|
| 33 | public abstract bool can_redo { get; } |
|---|
| [8b8dc78] | 34 | public abstract bool has_selection { get; } |
|---|
| [03ea8d2] | 35 | public abstract string content { set; get; } |
|---|
| [eed29f7] | 36 | public abstract string language_id { set; get; } |
|---|
| [8136fe2] | 37 | |
|---|
| [bbadbe3] | 38 | public abstract SearchBarViewIface search_bar_view { get; } |
|---|
| 39 | public abstract bool search_bar_view_visible { set; get; } |
|---|
| 40 | |
|---|
| [8136fe2] | 41 | public signal void selected (); |
|---|
| 42 | public signal void content_changed (); |
|---|
| [8b8dc78] | 43 | public signal void selection_changed (); |
|---|
| [8136fe2] | 44 | |
|---|
| [94ccfcc] | 45 | public abstract void undo (); |
|---|
| 46 | public abstract void redo (); |
|---|
| [8b8dc78] | 47 | public abstract void cut (); |
|---|
| 48 | public abstract void copy (); |
|---|
| 49 | public abstract void paste (); |
|---|
| [eed29f7] | 50 | public abstract void guess_language_id (string content_type); |
|---|
| [bb01b45] | 51 | public abstract int show_save_dialog (string name, ref string folder_uri, out string document_uri); |
|---|
| [4164cfb] | 52 | public abstract void show_print_dialog (); |
|---|
| [8136fe2] | 53 | public abstract void show_error_message (string error_message); |
|---|
| [8283a1f] | 54 | public abstract int show_close_message (); |
|---|
| [8136fe2] | 55 | } |
|---|