Skip to main content
Version: Next

Exporting to HTML and MIME HTML formats

4D Write Pro documents can be exported to the HTML and MIME HTML formats using the WP EXPORT DOCUMENT and WP EXPORT VARIABLE commands. Use these tables to check which 4D Write Pro attributes and features are exported to HTML and MIME HTML. The attributes/features are sorted alphabetically. For a detailed list of attributes, see 4D Write Pro Attributes.

Common attributes

Attribute/FeatureExportedComment
Background clipyes
Background color (for element, not character)yes
Background imageyes
Background repeatyes
Background originyes
Background positionyes
Background width and heightyes
Border coloryes
Border radiusyes
Border styleyes
Border widthyes
Element idyes
Marginyes
Paddingyes
Protectedno
Style sheetyes

Characters

Attribute/FeatureExportedComment
Background coloryes
Font and font stylesyes
Font sizeyes
Strikethrough colorno
Strikethrough stylespartiallyOnly solid is exported
Superscript, subscriptyes
Text coloryes
Text shadowyes
Text transformpartiallySmall uppercase is not exported
Underline colorno
Underline stylespartiallyOnly solid is exported

Columns

Attribute/FeatureExportedComment
Column countno
Column rule colorno
Column rule styleno
Column rule widthno
Column spacingno

Document

Attribute/FeatureExportedComment
Break paragraphs in formulasno
Document (meta) informationpartiallyOnly title and subject are exported
Dpino
Font defaultno
Header and footer autofitno
Page marginno
Page orientationno
Page width/heightno
Protection enabledno
Tab decimal separatorno
User unitno

Images

Attribute/FeatureExportedComment
Alternate textyes
Anchor alignpartiallyOnly right, left, top or bottom
Anchor embeddedyes
Anchor originpartiallyOnly for the container box (borders of the web page)
Anchor to a single pageno
Anchor to all pagesno
Anchor to all sections of a pageno
Background image (and related background attributes)yes
Image display modepartiallyIf an image has a background image, it is exported as scaled to fit.
Image URLyes
Vertical alignyes

Text boxes

Attribute/FeatureExportedComment
Anchor alignyes
Anchor embeddedyesas div
Anchor offsetyes
Anchor originpartiallyOnly for the container box (borders of the web page)
Anchor to a single pageno
Anchor to all sections of a pageno
Vertical alignyes

Paragraphs

Attribute/FeatureExportedComment
Absolute tab stopsno
Column break afteryesSingle column only (multiple columns are not supported)
Directionyes
Keep with nextyes
Line heightyes
List fontno
List imageyes
List image heightno
List start numberyes
List string format (custom format)no
List style typepartiallyHollow-square, diamond, and club are not exported, decimal-greek is the same as lower-greek
Min-heightyes
Min-widthno
New line style sheetno
Page break afteryes
Page break insideyes
Section break after (continuous or not)no
Text alignyes
Text indentyes
Vertical-alignyes
Widow and orphan controlno
Widthyes

Sections and page elements

Attribute/FeatureExportedComment
First page sub-sectionno
Headers and footersno
Left and right page sub-sectionsno
Main sectionsnoOnly document-level attributes are exported to the html body
Page marginno
Page orientationno

Tables

Attribute/FeatureExportedComment
Background image (and related attributes)yes
Column break afteryesSingle column only (multiple columns are not supported)
Horizontal alignmentyes
Page break afteryes
Page break insideyes
Section break afterno
Bottom carry-over rowsno

Table cells

Attribute/FeatureExportedComment
Background image (and related attributes)yes
Heightyes
Vertical alignyes
Widthyes

Table rows

Attribute/FeatureExportedComment
Background image (and related attributes)yes
Column break afteryesSingle column only (multiple columns are not supported)
Heightyes
Page break afteryes

Other features

Attribute/FeatureExportedComment
4D formulasnoComputed and freezed for export
4D method linksno
Bookmarks and bookmark linksyes
URL linksyes