Table funcion in Docbook Author view
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Table funcion in Docbook Author view
Post by sorin_ristache »
Hello,
You can change the displayed width of a table column in the CSS stylesheet that drives the Author mode for the edited XML document. For example in XHTML documents DocBook documents you can set the width property on td elements used for table cells. In DocBook documents you can control the column width also in the XML file with the attributes namest and nameend of the element entry used for a table cell.
If Oxygen XML Author allows adjusting the table width by dragging the column border with the mouse in Author mode you may think that this will be also the format of the table in the final output (XHTML, PDF, etc) generated by a transformation of the same XML document with an XSLT stylesheet and that would not be true. Dragging the column border in Author mode would do only a visual change in Author mode without changing the CSS stylesheet used in Author mode and without changing any XSLT stylesheet that may be associated with the same XML document.
Regards,
Sorin
You can change the displayed width of a table column in the CSS stylesheet that drives the Author mode for the edited XML document. For example in XHTML documents DocBook documents you can set the width property on td elements used for table cells. In DocBook documents you can control the column width also in the XML file with the attributes namest and nameend of the element entry used for a table cell.
If Oxygen XML Author allows adjusting the table width by dragging the column border with the mouse in Author mode you may think that this will be also the format of the table in the final output (XHTML, PDF, etc) generated by a transformation of the same XML document with an XSLT stylesheet and that would not be true. Dragging the column border in Author mode would do only a visual change in Author mode without changing the CSS stylesheet used in Author mode and without changing any XSLT stylesheet that may be associated with the same XML document.
Regards,
Sorin
-
- Posts: 6
- Joined: Wed Nov 12, 2008 8:40 pm
Re: Table funcion in Docbook Author view
Hi Sorin,
In current docbook css and xml, how am I going to expend the width of the cals table using the current docbook css??? By using namest and namend, it is actually doing a cell span, is there any way to widen it without spanning.
I understand your point that it would not show out the exact output from xslt, at least it will be good if I could edit the current docbook css to widen the default width they have now. How would I go about doing it???
In current docbook css and xml, how am I going to expend the width of the cals table using the current docbook css??? By using namest and namend, it is actually doing a cell span, is there any way to widen it without spanning.
I understand your point that it would not show out the exact output from xslt, at least it will be good if I could edit the current docbook css to widen the default width they have now. How would I go about doing it???
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Table funcion in Docbook Author view
Post by sorin_ristache »
I am sorry, in the current version (10.0) the width property is implemented only at the table level, not at the table cell level. That is the width property is applied only if it is used on elements with the display:table property. For DocBook you can customize the predefined CSS and add the width property to one of the elements table, informaltable, tgroup.
We will consider allowing adjusting the width of table cells/table columns.
Regards,
Sorin
We will consider allowing adjusting the width of table cells/table columns.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Table funcion in Docbook Author view
Post by sorin_ristache »
Hello,
We made the table cells resizable by drag and drop and by table properties set in the XML document (for example the colwidth attribute or the width attribute). This feature will be available starting with version 10.2 which will be released in a week.
Regards,
Sorin
We made the table cells resizable by drag and drop and by table properties set in the XML document (for example the colwidth attribute or the width attribute). This feature will be available starting with version 10.2 which will be released in a week.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service