You can directly enter the HTML code when you create an HTML container. When the document is executed in MicroStrategy Web, the HTML code is executed.
Note: In Design View in both Desktop and MicroStrategy Web, the actual HTML code is displayed.
For expanded examples, see the MicroStrategy Report Services Document Creation Guide.
For example, a document contains an HTML container. In Express Mode in MicroStrategy Web, it displays as shown below:
HTML code
This is a paragraph in HTML code. The font is gray.
The HTML code in it is very simple, but you can use any HTML codes.
In Express Mode, Interactive Mode, and Editable Mode in MicroStrategy Web, all valid HTML is supported. The HTML code is interpreted by the user’s browser. Not all HTML codes are supported in Flash Mode in MicroStrategy Web. The following HTML codes are supported in Flash Mode:
<A href, event, target>
<B>
<BR>
<FONT color, face, size>
<IMG src, width, height, align, hspace, vspace, id, checkPolicyFile>
<I>
<LI>
<P align, class>
<SPAN class>
<TextFormat blockindent, indent, leading, leftmargin, rightmargin, tabstops>
<U>
Note: For a full description of the HTML that Flash supports, see the Adobe website at livedocs.adobe.com/flex/201/langref/flash/text/TextField.html#htmlText.
In PDF View in Desktop, and when the document is exported to PDF or Excel, only the text in the HTML container is displayed. The formatting is determined by the formatting of the HTML container, not the HTML code within it. Notice that the first line is the same size and color as the second line, unlike in the previous sample.
HTML
code
This is a paragraph in HTML code. The font is gray.
Anything within the following tags is removed, and does not display:
<HEAD>
<STYLE>
<SCRIPT>
Open a document in Design or Editable Mode.
Do one of the following:
Click the
HTML Container icon on the toolbar.
From the Insert menu, select HTML Container.
On the Layout area, click and drag in the position in which to insert the HTML container.
Right-click the HTML container and select Properties and Formatting. The Properties and Formatting dialog box opens.
By default, an HTML container uses HTML code rather than a URL (see Displaying a website using a URL (iFrame)). Ensure that HTML Text is selected.
Click OK to save your changes.
Double-click in the HTML container to enter text.
Enter the HTML code in the HTML container. To create a new line, press ENTER.
When you have finished typing click anywhere outside the HTML container. The HTML code is displayed in the HTML container in Design View.
Switch to Express Mode to see the changes.
Related topics