Am Mittwoch, 4. Mai 2016 schrieben Sie: > Does this sound like a workable approach if you were familiar with > Emacs? If you were able to identify exactly what needs to be removed > from content.xml, and sent me a fragment of a file to illustrate it, I > might be able to specify a sequence of commands that you could use.
I posted the tag, which I think is the relevant, before: > >>> <text:p text:style-name="P2">blabla</text:p> I assume "P2" refers to printable, suppressing output on paper. if you have a simple command line > > On Tue, 3 May 2016, Walther Koehler wrote: > > Hi Robert > > > > Am Dienstag, 3. Mai 2016 schrieb Robert Funnell: > >> 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.) > > > > Unfortunately, I am not used to emacs, although I know it is a very > > powerful editor. > > > > Walther > > > >> - 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