You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/01/16 18:49:08 UTC

DO NOT REPLY [Bug 118797] New: OpenOffice truncates td when converting html to pdf

https://issues.apache.org/ooo/show_bug.cgi?id=118797

             Bug #: 118797
        Issue Type: DEFECT
           Summary: OpenOffice truncates td when converting html to pdf
    Classification: Application
           Product: Word processor
           Version: OOo 3.3 RC1
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: UNCONFIRMED
          Severity: major
          Priority: P5
         Component: save-export
        AssignedTo: writerneedsconfirm@openoffice.org
        ReportedBy: aolien@nextpoint.com
                CC: ooo-issues@incubator.apache.org


Created attachment 77137
  --> https://issues.apache.org/ooo/attachment.cgi?id=77137
Attempt to export as pdf

I need to use openoffice to convert html emails into pdfs. Most of the time
this works great but recently I came across emails that are wrapped within a
table and a single tr and td tag. I am adding the header information to the
beginning of the email, which causes the email body not to start until the
second page. Removing the email headers fixes the formatting problem of pushing
it to a new page, but an even more pressing issue remains.

Not all of the text from the email body is shown and it appears that everything
past the first page is truncated. I believe this is due to the excess length of
the tr or td tag. I find that by splitting the single row into multiple rows I
am able to fix the issue. This is not an acceptable solution, however, because
I am not able to programmatically determine how long the tr tag is; as it is
based on a combination of text and styling. Also, I need to be able to maintain
the original html from email as much as possible, as the goal is to preserve
these emails as close to the original as possible and display them in a
reasonable format.

Is this a know issue? I was not able to find related issues.

Is there a setting within openoffice that could solve this issue?

If neither of those answers are true, when could a fix for this issue be
expected?

I have attached an example html file, the issue is evident when exporting it to
a pdf file.

Software information:
OS: OSX 10.7.2
Openoffice version: 3.3.0 build 9567

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Issue 118797] OpenOffice truncates td when converting html to pdf

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118797

--- Comment #2 from Adina Moldovan <ad...@gmail.com> ---
Created attachment 84425
  --> https://issues.apache.org/ooo/attachment.cgi?id=84425&action=edit
openOffice.png

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Issue 118797] OpenOffice truncates td when converting html to pdf

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118797

Adina Moldovan <ad...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adinnaplus@gmail.com

--- Comment #1 from Adina Moldovan <ad...@gmail.com> ---
Hello,

I was able to replicate this issue with the following configuration
- Mac Os X 10.9.5
- Open Office 4.1.1 (AOO411m6 build 9775 - Rev 1617669)

Steps to reproduce:
1. Download the attached file (index.html). When I downloaded it, my mac
appended a .txt in its name, so I needed to rename the file from index.html.txt
to index.html
2. Open the file in OOo Writer
3. Open the file in TextEdit

Expected result: 
- The formatting in OOo Writer is easy to follow and read. 
- There should be no blank pages without an intended reason. 
- The text is not truncated. 
One expectation to display this html could be similar to the way it's displayed
in TextEdit (attached file textEdit.png)

Actual result: 
- The formatting in OOo Writer is not easy to read, there are some indentations
that make it harder to follow. 
- On the first page there's little text (From, Sent, To, Subject) followed by a
blank space until the next page. The blank space cannot be erased. The second
page contains some weirdly formatted text and the third page is blank again
(attahed file openOffice.png)
- The text in the index.html looks truncated as after the second page there's
more text in the file, but it's not displayed in Writer

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Issue 118797] OpenOffice truncates td when converting html to pdf

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118797

--- Comment #3 from Adina Moldovan <ad...@gmail.com> ---
Created attachment 84426
  --> https://issues.apache.org/ooo/attachment.cgi?id=84426&action=edit
textEdit.png

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.