Home > Forum > General > Word Add-In & Barcode images in table

Word Add-In & Barcode images in table
0

Hi community!

I am struggling with Word Add-In and data tables.

The requirement is to show a table of order positions, each position contains an image field with a barcode (which should be shown in table) and some other fields.

Is that even possible and if so how?

Thanks a lot in advance & best regards, Nik

MVP

HI,

You can try to download a special font for word, depending on the type it is a code.
And pass the code data as text and not an image to a given column.
And in this column, set the text properties to the same font.
But if it works in this way, only the user who has this font also installed will display the data in the form of code.
You can convert a generated word file into a pdf. If the word format is not necessary, you can try to generate it immediately
in PDF based on templates (in the form of an HTML file).
It's just a theory that needs to be checked :)

Regards.

In reply to: Karol Częczek

HI,

You can try to download a special font for word, depending on the type it is a code.
And pass the code data as text and not an image to a given column.
And in this column, set the text properties to the same font.
But if it works in this way, only the user who has this font also installed will display the data in the form of code.
You can convert a generated word file into a pdf. If the word format is not necessary, you can try to generate it immediately
in PDF based on templates (in the form of an HTML file).
It's just a theory that needs to be checked :)

Regards.

Hi Karol!

Thanks for your answer and your interesting theory ;-)

We need to generate Barcodes in Webcon (there is a custom SDK action for this) and store them as images in workflow.

DOCX will be converted to PDF.

We could switch to HTML, but I think that is a lot of work, to get the same layout with HTML code.

Another problem here is, we need to insert a dynamic table in HTML (order positions).

Since HTML2PDF action expects a static template, we do not know how to do that.

Is there a way to get a dynamic HTML as template?

Thanks a lot in advance & best regards, Nik