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.koeh...@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+unsubscr...@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

Reply via email to