The enhanced HTML parser cleanses the field HTML prior to processing. Any unbalanced are corrected and the entire field is enclosed with an implied <body> node. As a general rule any tag which matches the name of character or paragraph style will apply that style.
EasyCatalog Tags Supported
The following tags and attributes are available:
sizeFont size
Tag | Attribute | Value |
span | style | Optional. ย See section below |
font | face | Font name |
color | Swatch name | |
p | shade | Paragraph shade |
align | left,right,center,justify | |
style | Paragraph style name | |
a | href | URL |
style | Character stylesheet to apply | |
img | src | Filename or full path to an image |
url | Hyperlink to apply | |
shape | Image box frame shape variant: ELLIPSE TRIANGLE POLYGON | |
swatch | Swatch name | |
clippingpath | PHOTOSHOP | |
fitting | FRAMETOCONTENT CONTENTAWARE | |
width | Value in points or string with unit of measure | |
height | Value in points or string with unit of measure | |
style | Object style name | |
rotation | Rotation of the image | |
scriptlabel | Script Label to apply to image frame | |
barcodetype | Type of barcode to generate: EAN5 EAN8 EAN13 Code 128 UPCA I2OF5 Datamatrix Code 39 EAN14 GS1-128 QR Code | |
barcodevalue | The Barcodes value | |
barcodeparastyle | Paragraph style for the barcode text | |
barcodeswatch | Swatch of the barcode | |
table | style | Table style to apply |
width | Overall table width | |
td/th | colspan | Column span |
rowspan | Row span | |
style/cellstyle | Cell style | |
width | Cell width measurementย in points or a string with unit of measure, or: FIXED VARIABLE FITTOTEXT | |
height | Cell height measurementย in points or a string with unit of measure | |
vmerge | Vertical merge setting: CONTENTMATCH POPULATEDCONTENTMATCH | |
hmerge | Horizontal merge setting: CONTENTMATCH POPULATEDCONTENTMATCH | |
delete | Cell deletion option: NEVER IFEMPTY | |
valign | Vertical content alignment: TOP BOTTOM MIDDLE | |
rotation | Cell content rotation |
Where the name of a tag matches the name of a Formatting Rule, then a singleton instance of this tag will insert the formatting rule into the text. so <fr> would insert a formatting rule called fr into the text.
Allow All White Space
By default HTML whitespace rules are obeyed. Enabling this option will prevent removal of any whitespace.
Support for <span style=”…”> HTML Tag
Only in beta 2025 and 2026. This feature enables the application to parse and apply inline CSS styles defined inside HTML <span> tags during import or rendering, improving fidelity of styled text from HTML sources. This option is on by default in all new data sources. It can be disabled using the HTML parser options in the field options.
Supported CSS Properties
The application currently supports and applies the following CSS properties found inside <span style=”…”>:
font-size โ Sets the font size (e.g., 12pt, 1.2em)
font-family โ Sets the font face (e.g., “Minion Pro”)
font-variant โ Sets the font face (e.g., “Regular”)
font-style โ Character style name to apply
color โ Applies text color (CMYK, RGB, named swatch)
line-height โ Controls leading
text-transform โ Controls text casing (uppercase, lowercase, none)
vertical-align โ Supports sub, super
text-decoration-line – Supports, none, underline, line-through
text-decoration-color – Applies text color (CMYK, RGB, named swatch)
Example:
1 2 3 4 5 | <p> <span style="font-family: 'Minion Pro'; font-variant: Bold; color: #FF0000">This is Minion Pro Bold,</span> <span style="font-family: 'Minion Pro'; font-variant: Italic;"> this is Minion Pro Italic,</span> <span style="font-family: 'Minion Pro''; font-variant: Bold Italic; line-height : -1"> and this is Minion Pro Bold Italic.</span> </p> |