I can understand the rationale of making table cells as wide as possible by 
default to ease editing within cells.  However, I think the closer that you can 
render the table in XXE to the final rendered product is a good thing.  I think 
that adding support for the pgwide attribute (or a corresponding css attribute 
on table-body) will save some unnecessary iteration between editing and 
rendering a document to get the tables to look correct.

Cheers,
Mike



-----Original Message-----
From: Hussein Shafie [mailto:[email protected]]
Sent: Mon 9/10/2007 3:03 AM
To: Santy, Michael
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] packing table cells to fit their content
 
Santy, Michael wrote:
> 
> I'm looking to have docbook tables shrink to fit their contents in the 
> editor.  If I understand the OASIS Exchange Table model correctly, there 
> is a "pgwide" attribute on the "table" element that allows a user to 
> specify this behavior.  This attribute, if set to '1', specifies that 
> the columns without a width specification should stretch to fill the 
> available space.  If set to '0', the columns should shrink to fit to the 
> content or the colspec width.

We don't claim to support 100% of the CALS table specification. See
http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_table.html




> Is there any way to make XXE shrink the table cells to their content?

No. XXE always makes the table as wide as its window because this eases 
editing inside cells.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070910/a5a41ee7/attachment.htm
 

Reply via email to