You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2004/10/06 22:48:58 UTC

[JIRA] Created: (FOR-312) Merged cells in OOo tables

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-312

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-312
    Summary: Merged cells in OOo tables
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: Forrest
 Components: 
             Other
   Versions:
             HEAD

   Assignee: 
   Reporter: Charles Palmer

    Created: Wed, 6 Oct 2004 3:48 PM
    Updated: Wed, 6 Oct 2004 3:48 PM
Environment: All

Description:
The current state-of-the-art is that Forrest supports OpenOffice Writer tables with horizontally merged table cells, but not vertically merged cells. Issue FOR-262 made some improvement but did not finish the job.

The issue seems to be that OOo deals with cells merged vertically by creating sub tables to the left or right of the merged cells, rather than some equivalent of the HTML rowspan attribute.

I have hacked openoffice-writer2forrest.xsl, and dealt with this by identifying the sub-table element in the xsl file and creating a new HTML (or Forrest) <table> whenever I find one.

This seems to work OK, but when rendered as HTML the borders of the cells are too thick - maybe we are getting two sets of table borders. This needs some further investigation - there should be some HTML table border attributes that can resolve this. For example, there seems to be an HTML construction <table frame="void"> which could possibly do the job, but just adding this into the openoffice-writer2forrest.xsl file did not work. Maybe giving the sub-table a class= or id= attribute could allow appropriate processing down-stream, maybe within a skin CSS, or maybe we need to be able to pass through more HTML.

I will add files to this issue - a hacked openoffice-writer2forrest.xsl (which no doubt needs polishing!) and a tables.sxw file that contains example tables and further documentation of this issue. (Sorry I am not enough of a software person to finish the fixes).


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[JIRA] Updated: (FOR-312) Merged cells in OOo tables

Posted by is...@cocoondev.org.
The following issue has been updated:

    Updater: David Crossley (mailto:crossley@apache.org)
       Date: Fri, 5 Nov 2004 9:41 AM
    Changes:
             Component changed to Plugin: OpenOffice.org
             Component changed from Other
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.cocoondev.org//browse/FOR-312?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-312

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-312
    Summary: Merged cells in OOo tables
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: Forrest
 Components: 
             Plugin: OpenOffice.org
   Versions:
             0.6

   Assignee: 
   Reporter: Charles Palmer

    Created: Wed, 6 Oct 2004 3:48 PM
    Updated: Fri, 5 Nov 2004 9:41 AM
Environment: All

Description:
The current state-of-the-art is that Forrest supports OpenOffice Writer tables with horizontally merged table cells, but not vertically merged cells. Issue FOR-262 made some improvement but did not finish the job.

The issue seems to be that OOo deals with cells merged vertically by creating sub tables to the left or right of the merged cells, rather than some equivalent of the HTML rowspan attribute.

I have hacked openoffice-writer2forrest.xsl, and dealt with this by identifying the sub-table element in the xsl file and creating a new HTML (or Forrest) <table> whenever I find one.

This seems to work OK, but when rendered as HTML the borders of the cells are too thick - maybe we are getting two sets of table borders. This needs some further investigation - there should be some HTML table border attributes that can resolve this. For example, there seems to be an HTML construction <table frame="void"> which could possibly do the job, but just adding this into the openoffice-writer2forrest.xsl file did not work. Maybe giving the sub-table a class= or id= attribute could allow appropriate processing down-stream, maybe within a skin CSS, or maybe we need to be able to pass through more HTML.

I will add files to this issue - a hacked openoffice-writer2forrest.xsl (which no doubt needs polishing!) and a tables.sxw file that contains example tables and further documentation of this issue. (Sorry I am not enough of a software person to finish the fixes).


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[JIRA] Updated: (FOR-312) Merged cells in OOo tables

Posted by is...@cocoondev.org.
The following issue has been updated:

    Updater: Charles Palmer (mailto:charles@dspdesign.com)
       Date: Wed, 6 Oct 2004 3:50 PM
    Comment:
This contains a hacked openoffice-writer2forrest.xsl that is an attempt at merging files vertically, and a tables.sxw file that contains sample tables and further commentary.
    Changes:
             Attachment changed to OOo_Tables.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.cocoondev.org//browse/FOR-312?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-312

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-312
    Summary: Merged cells in OOo tables
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: Forrest
 Components: 
             Other
   Versions:
             HEAD

   Assignee: 
   Reporter: Charles Palmer

    Created: Wed, 6 Oct 2004 3:48 PM
    Updated: Wed, 6 Oct 2004 3:50 PM
Environment: All

Description:
The current state-of-the-art is that Forrest supports OpenOffice Writer tables with horizontally merged table cells, but not vertically merged cells. Issue FOR-262 made some improvement but did not finish the job.

The issue seems to be that OOo deals with cells merged vertically by creating sub tables to the left or right of the merged cells, rather than some equivalent of the HTML rowspan attribute.

I have hacked openoffice-writer2forrest.xsl, and dealt with this by identifying the sub-table element in the xsl file and creating a new HTML (or Forrest) <table> whenever I find one.

This seems to work OK, but when rendered as HTML the borders of the cells are too thick - maybe we are getting two sets of table borders. This needs some further investigation - there should be some HTML table border attributes that can resolve this. For example, there seems to be an HTML construction <table frame="void"> which could possibly do the job, but just adding this into the openoffice-writer2forrest.xsl file did not work. Maybe giving the sub-table a class= or id= attribute could allow appropriate processing down-stream, maybe within a skin CSS, or maybe we need to be able to pass through more HTML.

I will add files to this issue - a hacked openoffice-writer2forrest.xsl (which no doubt needs polishing!) and a tables.sxw file that contains example tables and further documentation of this issue. (Sorry I am not enough of a software person to finish the fixes).


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira