Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Perhaps LO Find & Replace using Regular expressions would work.
Not an LO solution but SED can be useful for such tasks.
Can you post a sample of the file contents?

On Tue, May 3, 2016 at 4:16 PM, Robert Funnell <robert.funnell@mcgill.ca>
wrote:

Walther -

Could you open your content.xml with Emacs and record a macro to find and
remove the hidden text? (I'm not sure that qualifies as simple.)

- Robert

On Tue, 3 May 2016, Walther Koehler wrote:

Hallo,
Am Dienstag, 3. Mai 2016 schrieb Bruce Hohl:

Do you have some advice how to remove the hidden (hard-)formatted text
in

a

simple way?

File > Save :: Save as type = Text (.txt) OR Text - Choose Encoding
(.txt)
Thus, LO can be used to read, create and edit unformatted text files.


Yes, you are right, but it does not solve my problem. The text file will
contain the hidden formated text.

To make it very clear:
I do not care about the format information in the file.
I do not want the content (the hidden formated characters) in the file
before shipping.

Using linux, the command line program xpath might do the job. It is
capable of removing certain xml tags in a file like

<text:p text:style-name="P2">blabla</text:p>

Regards

Walther

...

From: Walther Koehler <walther.koehler@posteo.de>
Date: Fri, Apr 29, 2016 at 5:54 AM
Subject: [libreoffice-users] delete hidden formated text in odt
To: users@global.libreoffice.org


Dear LO users,

I would like to give away *.odt files without hidden formated text.
Do you have some advice how to remove the hidden (hard-)formatted
text

in a

simple way?
Is it possible by a macro?

(I am aware that you can make hidden text invisible and print the
file
without
hidden text on paper. I also know how to remove properties)

Thank you in advance

Walther


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems?
http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be
deleted



-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.