glom r1235 - in trunk: . glom glom/layout_item_dialogs glom/libglom/data_structure/layout glom/libglom/document glom/mode_design/print_layouts glom/utility_widgets glom/utility_widgets/canvas



Author: murrayc
Date: 2007-10-24 11:07:30 +0100 (Wed, 24 Oct 2007)
New Revision: 1235
ViewCVS link: http://svn.gnome.org/viewcvs/glom?rev=1235&view=rev

Added:
   trunk/glom/mode_design/print_layouts/dialog_text_formatting.cc
   trunk/glom/mode_design/print_layouts/dialog_text_formatting.h
Modified:
   trunk/ChangeLog
   trunk/glom/glom_developer.glade
   trunk/glom/layout_item_dialogs/box_formatting.cc
   trunk/glom/layout_item_dialogs/box_formatting.h
   trunk/glom/libglom/data_structure/layout/fieldformatting.cc
   trunk/glom/libglom/data_structure/layout/fieldformatting.h
   trunk/glom/libglom/data_structure/layout/layoutitem.cc
   trunk/glom/libglom/data_structure/layout/layoutitem.h
   trunk/glom/libglom/document/document_glom.cc
   trunk/glom/mode_design/print_layouts/Makefile.am
   trunk/glom/mode_design/print_layouts/canvas_layout_item.cc
   trunk/glom/mode_design/print_layouts/canvas_print_layout.cc
   trunk/glom/mode_design/print_layouts/canvas_print_layout.h
   trunk/glom/utility_widgets/canvas/canvas_text_movable.cc
   trunk/glom/utility_widgets/canvas/canvas_text_movable.h
   trunk/glom/utility_widgets/datawidget.cc
Log:
2007-10-24  Murray Cumming  <murrayc murrayc com>

* glom/glom_developer.glade: Added window_text_format.
* glom/layout_item_dialogs/box_formatting.cc:
* glom/layout_item_dialogs/box_formatting.h:
Added font and color properties.
* glom/libglom/data_structure/layout/fieldformatting.cc:
* glom/libglom/data_structure/layout/fieldformatting.h:
Added get/set for font and foreground/background colors.
* glom/libglom/data_structure/layout/layoutitem.cc:
* glom/libglom/data_structure/layout/layoutitem.h:
Removed get/set_print_layout_text_size() - We use the new 
stuff in FieldFormatting instead.
* glom/libglom/document/document_glom.cc: Load and save the 
new field formatting.
* glom/mode_design/print_layouts/Makefile.am:
* glom/mode_design/print_layouts/dialog_text_formatting.cc:
* glom/mode_design/print_layouts/dialog_text_formatting.h:
Added a dialog for text formatting, containing the same 
text formatting options as the field properties layout 
(via box_formatting.[h|cc] and its glade definition.
* glom/mode_design/print_layouts/canvas_layout_item.cc:
Use the field formatting to change the font and colors.
* glom/utility_widgets/canvas/canvas_text_movable.cc:
* glom/utility_widgets/canvas/canvas_text_movable.h: Added 
set_font(), and set_text(), so we can build the pango markup.
* glom/mode_design/print_layouts/canvas_print_layout.cc:
* glom/mode_design/print_layouts/canvas_print_layout.h:
on_context_menu_formatting(): Show the font format dialog,
though I need to figure out why the inner box is not visible. 
* glom/utility_widgets/datawidget.cc: Use the formatting font 
and properties here, so weird styles can be used on the on-screen 
layout too.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]