Community
Participate
Working Groups
Created attachment 137827 [details] Report that shows problem Build ID: 3.4.0 Steps To Reproduce: 1. See attached report 2. The report contains a single text field that is populated by text copeid from MS-WORD and pasted into a web FCKEditor.Data was saved in DB and fetched into report Text (HTML Content) Field. 3. Produce report in designer (run in viewer). -> Table border is displayed. 4. Export report to PDF - Table Border is not displayed. 5. Export report to Excel - file won't open More information: Using Birt All in one 2.5M3. Does not Work all in runtime 2.5S3
I thought it had to do with copied data from MS WORD but actually it happens with regulat HTML Table code. Also in this case export to PDF/WORD does not pass HTML table and excel does not open at all. See new attachment.
Created attachment 137833 [details] File that shows problem
Currently birt can not support border property on table tag, only can support style property. Currently Case A doesn't work, but case b should works Case A: <table border="1"> .... </table> Case B <table style="border-top-width: 1pt; border-top-style: solid; border-top-color: black;border-left-width: 1pt; border-left-style: solid; border-left-color: black;border-right-width: 1pt; border-right-style: solid; border-right-color: black; border-bottom-width: 1pt; border-bottom-style: solid; border-bottom-color: black;"> .... </table>
(In reply to comment #3) > Currently birt can not support border property on table tag, only can support > style property. > Currently Case A doesn't work, but case b should works > Case A: > <table border="1"> > .... > </table> > Case B > <table style="border-top-width: 1pt; border-top-style: solid; border-top-color: > black;border-left-width: 1pt; border-left-style: solid; border-left-color: > black;border-right-width: 1pt; border-right-style: solid; border-right-color: > black; border-bottom-width: 1pt; border-bottom-style: solid; > border-bottom-color: black;"> > .... > </table> ------------------------------------------------- Is this to be solved soon or do I need to use a workaround converting case A to case B ?
I think it can not be fixed in 2.5.0 Suggest using the workaround currently.
This is very strange: I used a workaround the replaces all styles of HTML table and td elements with the styling you provided: The viewer - 2.5 still does not export the pdf correctly (no complete borders), although , export from eclipse report designer itself (not the latest 2.5 but rather 2.5S3) does display the borders correctly in PDF.. Any ideas? Thanks (In reply to comment #5) > I think it can not be fixed in 2.5.0 > Suggest using the workaround currently.
Created attachment 140821 [details] HTML file with replaced styles (as suggested that should be exported to PDF) this same data was passed to a report which did not export the border to pdf through the viewer.
Created attachment 140822 [details] Report the fails to export border in 2.5 Viewer but succeed in report designer
Created attachment 140823 [details] Test report which contains the Static HTML init
Hi there, The issue is has changed in the latest 2.6.0/2.6.1 build. The table can be exported to pdf and excel now. But RTL property of <table> tag is not supported in pdf and excel emitter.
And the align property of <div> tag is not supported in PDF/Excel