From: msevior@physics.unimelb.edu.au
Date: Mon Apr 07 2003 - 13:20:47 EDT
> my continuing crusade to get properties well-defined... I have been
> working on table/cell properties for the last couple of weeks, and
> particularly inheritance of cell properties from table properties, so
> for example you can set table background color to "pink" (although I
> accept this is a highly questionable choice of color) and all cells will
> become pink, unless you set their color to something non-transparent.
> Similarly for cell borders, although the defaults for cell-borders don't
> allow inheritance.
>
> TODO:
> - I'd like to work on adding style attributes to tables and cells that
> will make them stylable (sp?)
> - table formatting dialogs should be able to set table properties
> - table formatting dialogs should be able to set linestyle, color &
> width
> for each border, and should support "inherit" for cell properties
>
> BUGS:
> - highlighted text in colored table cells renders oddly, with the
> highlighting disappearing from time to time
> - I need to figure out how to remove properties via the change record
>
Use the PTC_RemoveFmt value in the changeStruxFmt or changeSpanFmt methods.
Like:
m_pDoc->changeStruxFmt(PTC_RemoveFmt,dpBody,dpBody,NULL,dumProps,PTX_Block);
Cheers
Martin
This archive was generated by hypermail 2.1.4 : Mon Apr 07 2003 - 13:35:11 EDT