This has becode quite a huge patch. It does the following:

1) Add cell line styles
* Properties: {left,right,top,bot}-style
* Values: {off,normal}, default=normal
          dotted, dashed,etc can be added later

2) Add cell background colors
* Properties: bg-color
* Values: {color}

3) Add cell background styles
Properties: bg-style
* Values: {off,fill}, default=off
           25% fill, 50% fill, etc can be added later


Note 1) A sample document is attached. A screenshot can be found here,
showing this document using all the new features:
http://pino.frontisterion.nl/uwog/cell_props.jpg

***************************************************
Note 2) KNOWN BUG (Martin, Dom, etc please read!}
***************************************************
When a Run calls _clearScreen(), the left offset is too far to the left.
We never say this problem, because it always cleares with the current
page color. With this patch, it clears with the current cell background
color instead. 
To reproduce, open the attached document and hit enter :)


Have fun,
  Marc


CVS:
----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:    src/text/fmt/xp/fl_TableLayout.cpp
CVS:    src/text/fmt/xp/fl_TableLayout.h src/text/fmt/xp/fp_Column.cpp
CVS:    src/text/fmt/xp/fp_Line.cpp src/text/fmt/xp/fp_Run.cpp
CVS:    src/text/fmt/xp/fp_TableContainer.cpp
CVS:    src/text/fmt/xp/fp_TableContainer.h
CVS:
----------------------------------------------------------------------

Attachment: cell_props.abw
Description: application/abiword

Reply via email to