You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2007/06/25 12:27:33 UTC

[jira] Created: (CAMEL-49) PDF tables seem to be equally sized column widths; we could really use the auto-width type formatting like the HTML versions to tidy up the tabular views

PDF tables seem to be equally sized column widths; we could really use the auto-width type formatting like the HTML versions to tidy up the tabular views
---------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-49
                 URL: https://issues.apache.org/activemq/browse/CAMEL-49
             Project: Apache Camel
          Issue Type: Sub-task
            Reporter: James Strachan
            Assignee: Jonas Lim




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-49) PDF tables seem to be equally sized column widths; we could really use the auto-width type formatting like the HTML versions to tidy up the tabular views

Posted by "Jonas Lim (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39548 ] 

Jonas Lim commented on CAMEL-49:
--------------------------------

I don't  believe table layout "auto" is  implemented in FOP since it seems to only support  table-layout="fixed". 
We can probably hack a work around  by modifying our xsl - we can discover all the things a fixed-layout table needs before creating the FO elements


> PDF tables seem to be equally sized column widths; we could really use the auto-width type formatting like the HTML versions to tidy up the tabular views
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-49
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-49
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: James Strachan
>            Assignee: Jonas Lim
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-49) PDF tables seem to be equally sized column widths; we could really use the auto-width type formatting like the HTML versions to tidy up the tabular views

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Strachan resolved CAMEL-49.
---------------------------------

    Resolution: Fixed

Hiram's change to use princexml.com fixes this issue

> PDF tables seem to be equally sized column widths; we could really use the auto-width type formatting like the HTML versions to tidy up the tabular views
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-49
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-49
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: James Strachan
>            Assignee: Jonas Lim
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-49) PDF tables seem to be equally sized column widths; we could really use the auto-width type formatting like the HTML versions to tidy up the tabular views

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39594 ] 

James Strachan commented on CAMEL-49:
-------------------------------------

I guess longer term, we may wish to customize the widths of tables on specific pages. e.g. in the pom we could maybe do something like (am using a properties file notation here, but we could use XML if you prefer)

{code}
# this page has 2 tables
1.uri = cheese.html
1.table.1.widths = 10% 10% 80%
1.table.2.widths = 30% 80%

2.url = foo.html
3.url = bar.html
{code}

As a hacky workaround for now - how about we come up with some good defaults. Basically in all the tables in the current document, the first 1 or 2 columns are kinda small; the last column is always the big one as its the description. So how about our default table sizing is something along the lines of the last column is double the width?


> PDF tables seem to be equally sized column widths; we could really use the auto-width type formatting like the HTML versions to tidy up the tabular views
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-49
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-49
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: James Strachan
>            Assignee: Jonas Lim
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.