/* i4ucdocumentpageviewiface.vala * * Copyright (C) 2010 Matias De la Puente * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Author: * Matias De la Puente */ public interface I4uc.DocumentPageViewIface : GLib.Object, PageIface { public abstract string font_name { set; get; } public abstract int tab_width { set; get; } public abstract bool auto_indent { set; get; } public abstract bool highlight_current_line { set; get; } public abstract bool insert_spaces_instead_of_tabs { set; get; } public abstract bool show_line_numbers { set; get; } public abstract bool highlight_matching_brackets { set; get; } public abstract bool wrap_mode { set; get; } public abstract bool can_undo { get; } public abstract bool can_redo { get; } public abstract bool has_selection { get; } public abstract string content { set; get; } public abstract string language_id { set; get; } public abstract SearchBarViewIface search_bar_view { get; } public abstract bool search_bar_view_visible { set; get; } public signal void selected (); public signal void content_changed (); public signal void selection_changed (); public abstract void undo (); public abstract void redo (); public abstract void cut (); public abstract void copy (); public abstract void paste (); public abstract void guess_language_id (string content_type); public abstract int show_save_dialog (string name, ref string folder_uri, out string document_uri); public abstract void show_print_dialog (); public abstract void show_error_message (string error_message); public abstract int show_close_message (); }