Convert embedded Visio not to jpg but to svg

Post Reply
age
Jr. Propeller Head
Posts: 4
Joined: Tue Jul 05, 2022 7:12 am

Convert embedded Visio not to jpg but to svg

Post 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
SKamprowski
Sr. Propeller Head
Posts: 277
Joined: Fri Feb 13, 2015 8:25 am
Location: Germany

Re: Convert embedded Visio not to jpg but to svg

Post 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.
Kind regards,
Sabine Kamprowski
DocToHelp MVP (by ComponentOne)
age
Jr. Propeller Head
Posts: 4
Joined: Tue Jul 05, 2022 7:12 am

Re: Convert embedded Visio not to jpg but to svg

Post by age »

Thank you for your hint. I will try.
age
Jr. Propeller Head
Posts: 4
Joined: Tue Jul 05, 2022 7:12 am

Re: Convert embedded Visio not to jpg but to svg

Post 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
Post Reply