https://bugs.documentfoundation.org/show_bug.cgi?id=105274
Bug ID: 105274
Summary: Idea: Add Support to Save Draw (and PDF) file to ODT
format (without text boxes)
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Draw
Assignee: [email protected]
Reporter: [email protected]
Created attachment 130339
--> https://bugs.documentfoundation.org/attachment.cgi?id=130339&action=edit
simple.pdf
Currently Draw can import PDF files very well. The idea is to add support to
save the Draw file as an ODT file directly.
-------------------
Steps to reproduce:
-------------------
1. Open an PDF file with Draw;
2. In File menu, there should be an submenu item "Save as Text Document".
As most PDF files are very complicated, when users hit this submenu, he or she
should be warned that some formatting may not reserved in the exported text
document.
-----------------------------
More Details in a Simple Way
-----------------------------
The attached "simple.pdf" file is created using Writer. There are simple two
paragraphs: "I love LibreOffice!" and "I love LibreOffice very much!", with
some simple formatting.
Now you open this PDF with Draw. You will see the perfect same text with
formatting, except that the text is in text boxes. Remember in Writer the text
is in paragraphs.
Save it as "simple.odg", then unzip, in content.xml you will find those text,
both in draw:text-box node. The idea is to assembly the text back to form the
same paragraphs as it is in Writer, while retaining as much formatting as
possible.
----------------------------------
More Complicated Real Case Example
----------------------------------
The attached "complicated.pdf" is an Issues and Decision Memo issued by the
U.S. Department of Commerce regarding an Anti-dumping case. Assume that I open
this file in Draw, then want to click "File - Save as Text Document" menu to
save it as a ODT file so that I can do some editing.
If you open this file in Draw, you see many many text boxes which hold the real
text. When unzip the odg file you will see thousands of <draw:text-box> in
content.xml.
Currently if I want to make this file to an ODT file, I have to do it manually
by copy-and-paste the texts in each text boxes from Draw to Writer. The idea is
to assembly the text in text-boxes into Writer, so that we have nice formatted
text in paragraphs, while retaining as much formatting as possible.
-------------
I know this feature needs a lot of work, but it worth a try as it may be very
useful, and may make LibreOffice more competitive than other products.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs