libcrn
3.9.5
A document image processing library
|
Displays an alto page. More...
#include <GtkCRNAltoImage.h>
Public Member Functions | |
AltoImage (Image *image=nullptr) | |
virtual | ~AltoImage () |
void | set_image (Image *image) |
Sets the Image widget to wrap around. More... | |
void | set_view (const crn::xml::AltoWrapper::View &v, bool display_image) |
Sets the alto view. More... | |
void | unset_view (bool clear_image) |
Unsets the alto view. More... | |
void | set_can_edit_pages (bool e) |
void | set_can_edit_spaces (bool e) |
void | set_can_edit_blocks (bool e) |
void | set_can_edit_lines (bool e) |
void | set_can_edit_words (bool e) |
Glib::RefPtr< Gtk::ActionGroup > | get_actions () |
Gets the action group associated to the alto wrapper. More... | |
sigc::signal< void, crn::xml::WordPath > | signal_word_resized () |
sigc::signal< void, crn::xml::WordPath > | signal_word_deleted () |
sigc::signal< void, crn::xml::WordPath > | signal_word_added () |
Displays an alto page.
Definition at line 34 of file GtkCRNAltoImage.h.
AltoImage::AltoImage | ( | Image * | image = nullptr | ) |
Definition at line 35 of file GtkCRNAltoImage.cpp.
|
virtual |
Definition at line 55 of file GtkCRNAltoImage.cpp.
|
inline |
Gets the action group associated to the alto wrapper.
Gets the action group associated to the alto wrapper. Valid names are:
Definition at line 62 of file GtkCRNAltoImage.h.
|
inline |
Definition at line 48 of file GtkCRNAltoImage.h.
|
inline |
Definition at line 49 of file GtkCRNAltoImage.h.
|
inline |
Definition at line 46 of file GtkCRNAltoImage.h.
|
inline |
Definition at line 47 of file GtkCRNAltoImage.h.
|
inline |
Definition at line 50 of file GtkCRNAltoImage.h.
void AltoImage::set_image | ( | Image * | image | ) |
Sets the Image widget to wrap around.
Sets the Image widget to wrap around. The previously wrapped image is unconfigured
[in] | image | the width to wrap or nullptr |
Definition at line 63 of file GtkCRNAltoImage.cpp.
void AltoImage::set_view | ( | const crn::xml::AltoWrapper::View & | v, |
bool | display_image | ||
) |
Sets the alto view.
Sets the alto view
[in] | v | the view |
[in] | display_image | shall the AltoImage set the wrapped Image or was it done before (e.g. by GtkCRN::Document) |
Definition at line 138 of file GtkCRNAltoImage.cpp.
|
inline |
Definition at line 66 of file GtkCRNAltoImage.h.
|
inline |
Definition at line 65 of file GtkCRNAltoImage.h.
|
inline |
Definition at line 64 of file GtkCRNAltoImage.h.
void AltoImage::unset_view | ( | bool | clear_image | ) |
Unsets the alto view.
Unsets the alto view
[in] | clear_image | shall the AltoImage set the wrapped Image or was it done before (e.g. by GtkCRN::Document) |
Definition at line 151 of file GtkCRNAltoImage.cpp.