Exporting Project Databases as a Web in HTML Format

23.08.2021

Using HTML Export, you can publish your evaluations as an HTML web within minutes. The HTML web created can then be viewed with any web browser such as Microsoft Internet Explorer or Firefox. You can export individual objects, folders and subfolders or entire project databases. Several exports can be brought together in a single web.

For each object to be exported, FlexPro generates one HTML page, or in the case of multi-page objects and large databases, several HTML pages. FlexPro can convert tables, text and data sets completely into HTML code. Other objects, such as diagrams and documents, are incorporated into the HTML pages as PNG images.

FlexPro can also include a table of contents in the web. Even a hierarchy view such as that in Windows Explorer is possible. This can be integrated as a Java Applet, JavaScript Applet or as an ActiveX control.

HTML

HTML (HyperText Markup Language) is the standard "markup language" used for documents on the World Wide Web. HTML is developed by the World Wide Web Consortium. The HTML programming language uses tags to specify how page elements such as text and graphics are to be displayed in a web browser and how a web browser is to react to user actions such as activating hyperlinks via the keyboard or mouse. Most web browsers, in particular Microsoft Internet Explorer and Firefox, also recognize HTML tags, which are not yet part of the current standard. During export into HTML format, FlexPro automatically generates HTML files. Therefore, knowledge of the HTML programming language is not required.

HTML Templates

FlexPro generates the HTML pages for the individual objects based on an HTML template file. For each object type a separate template exists that you can customize. Fields in the template determine which object elements are to be integrated where.

The HTML templates are located in a subfolder within the FlexPro program folder. For normal installation, the path name should be C:\Program Files (or Program Files (x86))\Weisang\FlexPro 2021\ENU\HTML Templates. To customize the templates to fit your requirements, you should copy the complete folder and change the copied files only. In the second step of the HTML Export Wizard, you can specify the folder from which the templates are to be taken. You can use the following fields in the HTML templates:

Field

Meaning

<!-- %(Activated Folder Comments) -->

Comments on the activated subfolder of the folder containing the object to be exported.

<!-- %(Activated Folder Name) -->

Name of the activated subfolder of the folder containing the object to be exported.

<!-- %(Author) -->

Name of the data object author.

<!-- %(Begin Hyperlink) -->

<!-- %(End Hyperlink) -->

The hyperlink specified on the General tab of the Properties dialog box of the object to be exported. The text enclosed by the two fields is highlighted as the hyperlink.

<!-- %(Comments) -->

Comments of the object to be exported.

<!-- %(Comments Or Name) -->

Comments or, if there are no comments, the name of the object to be exported.

<!-- %(Database Name) -->

Name of the project database to be exported.

<!-- %(Database Path) -->

Path of the project database to be exported.

<!-- %(Date) -->

Date of the export.

<!-- %(Folder Comments) -->

Comments of the folder containing the object to be exported.

<!-- %(Folder Name) -->

Name of the folder containing the object to be exported.

<!-- %(Name) -->

Name of the object to be exported.

<!-- %(Next Page) -->

For multi-page objects, this is a button to switch to the next page.

<!-- %(Number Of Pages) -->

The number of pages in a document object.

<!-- %(Object) -->

The HTML code of the object to be exported.

<!-- %(Origin) -->

The origin of the data of a data object.

<!-- %(Path) -->

Path of the object to be exported.

<!-- %(Page Number) -->

The current page number of a document object.

<!-- %(Previous Page) -->

For multi-page objects, this is a button to switch to the previous page.

<!-- %(Quantity) -->

The name of the physical quantity of a data object or its Y component.

<!-- %(QuantityX) -->

The name of the physical quantity of a data object's X component.

<!-- %(QuantityZ) -->

The name of the physical quantity of a data object's Z component.

<!-- %(Style) -->

Stylesheet definition that is required for the object.

<!-- %(Table Of Contents) -->

The HTML code of the table of contents.

<!-- %(Time) -->

Time of the export.

<!-- %(Unit) -->

The physical unit of a data object or its Y component.

<!-- %([Unit]) -->

The physical unit of a data object or its Y component, placed in brackets.

<!-- %((Unit)) -->

The physical unit of a data object or its Y component, placed in parentheses.

<!-- %(UnitX) -->

The physical unit of a data object's X component.

<!-- %([UnitX]) -->

The physical unit of a data object's X component, placed in brackets.

<!-- %((UnitX)) -->

The physical unit of a data object's X component, placed in parentheses.

<!-- %(UnitZ) -->

The physical unit of a data object's Z component.

<!-- %([UnitZ]) -->

The physical unit of a data object's Z component, placed in brackets.

<!-- %((UnitZ)) -->

The physical unit of a data object's Z component, placed in parentheses.

<!-- %(User) -->

Name of the FlexPro user.

See Also

Exporting a Complete Project Database

Exporting Individual Project Database Objects

Exporting Multiple Project Databases to a Single Web Document

Share article or send as email:

You might be interested in these articles