Search and Replace loses picture in

Questions and answers on how to use DOCXReadWrite
Post Reply
frankfinken
Posts: 20
Joined: Mon Jun 27, 2016 5:34 pm

Search and Replace loses picture in

Post by frankfinken »

Hi lars,

When the input file contains a picture, the input file loses that picture after a search/replace. You can reproduce this with the 4-FindingText example program.

I will send you an example input file.


Frank
frankfinken
Posts: 20
Joined: Mon Jun 27, 2016 5:34 pm

Re: Search and Replace loses picture in

Post by frankfinken »

Hi Lars,

Did you have time to look at this?
frankfinken
Posts: 20
Joined: Mon Jun 27, 2016 5:34 pm

Re: Search and Replace loses picture in

Post by frankfinken »

Hi Lars,

can I get an update on this issue? We want to go live, but this is preventing it.



Frank
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Search and Replace loses picture in

Post by larsa »

Hello

Text in pictures are not supported. Use a text box instead.
Lars Arvidsson, Axolot Data
frankfinken
Posts: 20
Joined: Mon Jun 27, 2016 5:34 pm

Re: Search and Replace loses picture in

Post by frankfinken »

Hi Lars,

I do nothing with the text in the picture. I only want to search/replace the following fields, which are directly on the document.

<Klant.Omschrijving>
<Klant.Adres1> <Klant.Adres2> <Klant.Adres3>
<Klant.PostCode> <Klant.Stad>


Certificaat NR: <UniekID>


Or do you mean that the background picture is causing the issue? See Milieucertificaat 2.docx which I send you earlier.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Search and Replace loses picture in

Post by larsa »

Hello

What is it that is missing after search/replace? The background picture?
Lars Arvidsson, Axolot Data
frankfinken
Posts: 20
Joined: Mon Jun 27, 2016 5:34 pm

Re: Search and Replace loses picture in

Post by frankfinken »

Hi Lars,

I have send you an email with the input and generated output. As you can see the search/replace goes well, and the background is preserved but the second picture is now empty and displaced.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Search and Replace loses picture in

Post by larsa »

Hello

Thank you for the file.

As I wrote before, text in pictures are not supported. Use a text box instead. I have tested that and it works fine.
Lars Arvidsson, Axolot Data
Post Reply