Page 1 of 1

Convert embedded Visio not to jpg but to svg

Posted: Thu Jul 14, 2022 6:30 am
by age
Good afternoon

I was wondering if somebody has an idea how I can solve my requirements.

At the moment we are using Doc-To-Help V5.0.0.1521, Word 2016 and Visio to create html-documentation from word documents with embedded Visio diagrams (flow diagrams with text). This works quite well, but there is one drawback. The embedded Visio files are converted to pictures (jpgs) and therefore we can’t search for text in the flow diagrams.

So the requirement is to “somehow” make the pictures searchable for the embedded text when converted to html. So my idea/question is if it is somehow possible to convert (when using doc-to-help) the embedded Visio not into an image (jpg, png..) but into some vector oriented format like svg that browsers can display without plugins (native) and that can be searched with the browser text search.

I downloaded the lasted doc-to-help trial and also used word 2019 but didn’t manage to get what I need. But I am not very experienced with doc-to-help so maybe I missed something.

So I am wondering if somebody has an idea how I can achieve my goal or if there are other ideas.

Thx for your ideas
Regards
Gerhard

Re: Convert embedded Visio not to jpg but to svg

Posted: Tue Sep 27, 2022 4:07 am
by SKamprowski
Hi Gerhard,

I suppose to convert your pictures to svg, before linking them in your word documents, then choose for your target Option image format "original format" and see what's the result. I have no idea whether it will arrive in your output as svg file. You should find it in your output folder below images externals. If it's not there, I suggest to search your html documents for images, modify the references and the files in images externals approbiately.

Let us know wether this helps.

Re: Convert embedded Visio not to jpg but to svg

Posted: Tue Oct 04, 2022 7:34 am
by age
Thank you for your hint. I will try.

Re: Convert embedded Visio not to jpg but to svg

Posted: Tue Oct 18, 2022 11:36 pm
by age
Unfortunately it didn't work. I solved it now differently by programming a "postprocessor" that parses the html files and replace es images with the svg files.
Anway thx for your hints.
Regards
Gerhard