[Libreoffice-bugs] [Bug 114200] FILEOPEN: "Text Import" dialog: option to trim whitespace

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 7 09:42:53 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114200

Aron Budea <baron at caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |baron at caesar.elte.hu

--- Comment #5 from Aron Budea <baron at caesar.elte.hu> ---
I don't know much about this, and don't know how to repro the paste part
myself, but if it's the same as CSV handling, then the parsing code is here:

https://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/impex.cxx#367
bool ScImportExport::ImportStream(...)

...and even further in ExtText2Doc(...) called from there.
The options from the dialog are available in pExtOptions in that class (which
is of type ScAsciiOptions). So I'd assume the UI has to be extended with a
checkbox, then the option has to be captured into a newly added bool field of
ScAsciiOptions through the class Heiko mentioned, and finally taken into
account in ExtText2Doc(...) or somewhere around there.

I hope that helps, good luck!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171207/89a02f04/attachment.html>


More information about the Libreoffice-bugs mailing list