[Libreoffice-bugs] [Bug 131266] Extra space added into RTF

2020-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131266

--- Comment #7 from Alistair Saywell  ---
(In reply to Buovjaga from comment #6)
> If you open the .doc file in a text editor, you see it is in fact an RTF.
> 
> I bibisected the behaviour change with Linux 6.4 repo and the commit is
> this:
> https://git.libreoffice.org/core/+/
> 24b04db5a63b57a74e58a7616091437ad68548ac%5E!/
> tdf#123703 RTF import: fix length of space character sequence
> 
> So this is an improvement to the earlier situation.
> 
> For your new cleanup workflow, I propose:
> 1. Ctrl-H Find & replace
> 2. Other options - tick Regular Expressions
> 3. In the Find field, input \s\s
> 4. In the Replace field, input a single normal space
> 5. Replace all multiple times until satisfied
> 
> The \s pattern in a regular expression means any whitespace and will eat
> them all regardless of Unicode value.

Thank you Buojaga for your explanation and the link to the reason as to why it
is not a bug. I will modify my workflow to include the /s/s; I already search
for empty paragraphs so Regular Expressions is normally on. Time for me to
update to latest LO version and to update my working list of common
expressions. 
Thanks again
Alistair

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 131266] Extra space added into RTF

2020-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=131266

Buovjaga  changed:

   What|Removed |Added

Summary|Extra space added into .doc |Extra space added into RTF
   |(possibly RTF)  |
 Resolution|--- |NOTABUG
 CC||ilmari.lauhakangas@libreoff
   ||ice.org
 Status|UNCONFIRMED |RESOLVED

--- Comment #6 from Buovjaga  ---
If you open the .doc file in a text editor, you see it is in fact an RTF.

I bibisected the behaviour change with Linux 6.4 repo and the commit is this:
https://git.libreoffice.org/core/+/24b04db5a63b57a74e58a7616091437ad68548ac%5E!/
tdf#123703 RTF import: fix length of space character sequence

So this is an improvement to the earlier situation.

For your new cleanup workflow, I propose:
1. Ctrl-H Find & replace
2. Other options - tick Regular Expressions
3. In the Find field, input \s\s
4. In the Replace field, input a single normal space
5. Replace all multiple times until satisfied

The \s pattern in a regular expression means any whitespace and will eat them
all regardless of Unicode value.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs