Ask Your Question
0

find and replace fields

asked 2015-11-02 16:06:11 +0200

jutr gravatar image

updated 2016-03-15 13:57:25 +0200

Alex Kemp gravatar image

scenario:

Have two custom fields. Use one field through the doc (more than 2 usages, ex:63 instances of one custom field, doc size ~30+ pages). Have a brilliant idea to change some of them (around 23) to another custom field, very similar, but different ;)

Is there any escape sequence allowing easy search replace fields? (I've tried switch to display field names, copy field name(grey area), then Ctrl-H, and paste to 'Replace With' but got actual value rather than expected 'field name like escape sequence' )

my LO : Version: 5.0.1.2; Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261; Locale: pl-PL (pl_PL)

I can do it manually, but I'd prefer watch PC doing it :)

also if other LibreOffice apps support fields then I would expect similar Search&Replace feature for fields.

Best Regards,

Julian

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-04-28 12:14:45 +0200

I had a similar problem. The solution that worked for me was:

  1. Save as OpenDocument Text (Flat XML)
  2. Open the resulting .fodt file in a text editor
  3. Do search and replace in text editor
  4. Save it
  5. Open .ofdt in Libre and save as .odt
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-11-02 16:06:11 +0200

Seen: 360 times

Last updated: Apr 28 '17