Summary: | FILEOPEN: [RTF filter] Content piece of the table’s large cell is lost in file from Web page created in Word 2007 | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | ape <idler.1st> |
Component: | filters and storage | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | cno, idler.1st, jmadero.dev, vmiklos |
Version: | 4.1.5.1 rc | ||
Hardware: | Other | ||
OS: | All | ||
See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=74356 https://bugs.freedesktop.org/show_bug.cgi?id=74357 |
||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | DOCX file (fdo#74357) saved as ODT by LibO_Dev-4.2.3.0.0+ |
Description
ape
2014-02-02 10:09:42 UTC
(In reply to comment #0) > I converted the MHT file to the RTF > file using WinWord-2007 (see an attachment). -- RTF file is very large - 157 MB, but compressed to 6.6 MB (7z archive). I had to post it here: https://downloader-default8m.disk.yandex.ru/rdisk/77b3c839cd603f9348eadc64259059c5/52ee23e1/sSyW9dyrkl5QVHe_oA2-8sNpuQjZ74FTTNO1wEkWob97euT8SuTX4CTvxJiduat5KWIlUhi-igCXpHb32X8sfA==?uid=68677964&filename=AMD_A10-7850K_A8-7600_rtf.7z&disposition=attachment&hash=&limit=0&content_type=application%2Fx-7z-compressed&fsize=6907967&hid=13ea32e1b66109a9d39e2c19a0801f58&media_type=compressed&rtoken=72629848744daad4a8f97469231d66f5&rtimestamp=52ee23e2 confirm bug I see that it's different because it's RTF/DOC/DOCX - it could very well be fine to have it as one bug report but I'll leave it as separate for now. RTF filter bugs most definitely do not belong on MAB list as they are quite rare and not going to impact many users (In reply to comment #0) > I saved the Web page as an MHT archive. I converted the MHT file to the RTF > file using WinWord-2007 (see an attachment). I opened the RTF file using > LibreOffice-4.2.0; 4.1.5; 4.0.6 and saw the error: > [...] thanks for the report. Do you know if the same problems happens if you create such a file - from scratch in LibreOffice - by pasting in LibreOffice and then saving as rtf - by pasting in LibreOffice and then saving as odt ? regards, Cor (In reply to comment #4) > Do you know if the same problems happens if you create such a file > - from scratch in LibreOffice > ... -- Hi, Cor! I guess: 1. The filter does not know how to process the data (text, graphics) contained in a large table cell located after a large image which size is the size of the page. This error occurs in earlier versions of the program: LibreOffice-3.5.x and 3.6.x. 2. New programs (LibreOffice-4.1.5 and 4.2.0) do not process the entire table cell if the cell contains some data that cannot be displayed. Inserting copy data of the MHT file in the Writer’s new document does not give more information about the bug. Only text is stored in the Clipboard in that case. Regards, ape. Miklos, I added you to CC. Your patch solved the problem DOCX-files (bug 74357) very well. Please decide a similar issue with files of RTF format, if you have the time and opportunity. -- ape Created attachment 94633 [details] DOCX file (fdo#74357) saved as ODT by LibO_Dev-4.2.3.0.0+ I have been using this version of the program: LibreOfficeDev 4.2.3.0.0+ (Build ID: 5ba682c48e449f30e3cc1ec4acac75a6122ee6d7, TinderBox: Win-x86@42, Branch:libreoffice-4-2, Time: 2014-02-22_23:03:29) -- 1. The DOCX file (attachment 93208 [details]) was opened and then was saved as ODT format (see an attachment). 2. The ODT file was saved as Rich Text Format (more than 220 MB). 3. I don't see the content of eighteen primary pages when I open this RTF file using Writer. 4. I can see the contents of all pages when I open this RTF file by WinWord-2007. -- I guess that the RTF import filter does not know how to process a cell with large image which size is the size of the page. The piece of regression fixed in this version: LibreOfficeDev-4.2.3.0.0+ (Build ID: 4274001144adeb0b0a1e7da05d52c1bedbe899e5, TinderBox: Win-x86@42, Branch: libreoffice-4-2, Time: 2014-02-27_08:31:36). -- Now Writer shows the first eleven pages of the RTF file (see URL in the comment 1), the same as the DOC file (see bug 74356). But if you made these actions: opened ODT file (see comment 7; attachment 94633 [details]) and saved this ODT file as RTF format (size ~224 MB), then Writer (e.g. Writer_4.2.1.1,_4.0.6) opens new RTF file is fine and shows all contents of all pages. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.