========================== Report Designer/Form ========================== Form is a built-in type of report part that allows WYSIWYG editting in HTML. User can: - Interactively design the form using icons on the toolbar, with muli-level Undo and Redo. - Add dynamic content using smart tags. - Add recurring content using innovative repeater tags, see `Repeater Smart Tag`_. - Leverage existing report parts by embedding them into the form. - Edit the form in HTML format (for experienced users). .. _Form_Properties_Sections: .. figure:: /_static/images/Form_Properties_Sections.png :align: right :width: 218px Form - Properties Sections Form properties are grouped into several sections: - Form - Edit - Insert - Format - Table - Tool - View - Printing |br| Configure General Form Properties --------------------------------- General Form properties can be configured in Form section: - .. _Form_Border_Settings: .. figure:: /_static/images/Form_Border_Settings.png :align: right :width: 458px Form - Border Settings Form border #. Click the gear icon (⚙) to open Form Border Settings pop-up. #. Choose the border to be visible or not. #. Select a border color. #. Select the border thickness (in pixels). #. Click OK to close the Form Border Settings pop-up. |br| .. note:: The Preview section will not be shown (as image below) if the **Show Preview section in Configuration Mode** checkbox is unticked in Others tab in Advanced Settings. .. figure:: /_static/images/Form_Border_Settings_No_Review.PNG :width: 458px Report Designer - Gauge Border Settings without Preview section Please see :ref:`Advanced_Settings_Others` for more details. - Form background color #. Click the color icon to open the color palete. #. Choose a color from the color palete. #. Click OK to close the pop-up and apply the selected color. Edit Section ------------ Click inside the text area in Visual mode to see all the toolbar icons. - Copy, Cut and Paste: Highlight one or multiple items then click Copy or Cut, then Paste into another place. Paste as Text will remove all formatting from the items. (This feature is still in progress.) - Find and Replace text values while preserving the formatting. - Muli-level Undo and Redo. Insert Items in Visual mode --------------------------- Many items can be quickly and interactively inserted using the icons in visual mode: - .. _Form_Insert_Link_Pop-up: .. figure:: /_static/images/Form_Insert_Link_Pop-up.png :align: right :width: 324px Form - Insert Link Link |br| The link is displayed as |Form Link Display.png|. - .. _Form_Insert_Image_Pop-up: .. figure:: /_static/images/Form_Insert_Image_Pop-up.png :align: right :width: 376px Form - Insert Image Image |br| - Anchor - Special character - Current date value - Horizontal line - Page break - Template break - .. _Form_Insert_Field: .. figure:: /_static/images/Form_Insert_Field.png :align: right :width: 454px Form - Insert Data Source Field Data Source Field |br| - Smart Tag. This is a dynamic content that will be updated on display: - Date Time - it will show the date value at the time of display (compared with "Insert date/time value" button that populates the fixed date value at the time of editing). - Subtotal - it will show the sub total value for a field being used in the form. - Grand Total - it will show the grand total value for a field being used in the form. - Embedded Report Settings - To be updated. Format Items in Visual mode --------------------------- Formatting can also be quickly applied using the icons in visual mode: - Heading styles - Grouping HTML tags

,

,
and
.

   -  

is used for a paragraph; -

is used to quote content from another source, usually with a tag containing the reference. -
 is used for preformatted content, which would be displayed
      differently without the tag.
   -  
is used to group items together for easy organization and formatting. - Font face and font size. - Text effects bold, italic, underlined and struck through. - Text effects superscript, subscript, and computer code style (displayed in a monospaced font by default). - Font color and background color. - Text alignment. - Bulleted and numbered list styles. - Indent space. - Clear Formatting Design a Table in Visual mode ----------------------------- #. .. _Form_Table_Insert: .. figure:: /_static/images/Form_Table_Insert.png :align: right :width: 180px Form - Insert Table Click the Insert Table icon in Table section, then interactively select the number of columns and rows. |br| #. .. _Form_Table_Properties_Icons: .. figure:: /_static/images/Form_Table_Properties_Icons.png :align: right :width: 250px Form - Table Properties Click inside the table in Visual mode to see more icons in Table section, divided into Table, Cell, Row and Column groups. |br| #. Configure table-wide settings in Table Properties pop-up. .. _Form_Table_General_Properties: .. figure:: /_static/images/Form_Table_General_Properties.png :width: 631px Form - Table General Properties .. _Form_Table_Advanced_Properties: .. figure:: /_static/images/Form_Table_Advanced_Properties.png :width: 631px Form - Table Advanced Properties #. .. _Form_Table_Cell_General_Properties: .. figure:: /_static/images/Form_Table_Cell_General_Properties.png :align: right :width: 552px Form - Table Cell General Properties .. _Form_Table_Cell_Advanced_Properties: .. figure:: /_static/images/Form_Table_Cell_Advanced_Properties.png :align: right :width: 555px Form - Table Cell Advanced Properties Configure each cell in Cell Properties pop-up. |br| #. .. _Form_Table_Row_Properties: .. figure:: /_static/images/Form_Table_Row_Properties.png :align: right :width: 228px Form - Table Row Properties Configure each row in Row Properties pop-up. |br| .. note:: .. _Form_Table_Floating_Toolbar: .. figure:: /_static/images/Form_Table_Floating_Toolbar.png :align: right :width: 236px Form - Table Floating Toolbar The floating toolbar contains quick access icons for table properties and quickly adding and removing columns and rows. |br| Tool Section ------------ - Directionality supports formatting right-to-left languages with the Right to Left icon. Editing Preferences in View Section ----------------------------------- Editing preferences can be configured in View section: - Show invisible characters. - Show Visual Aids. - Show the form in fullscreen mode. - Edit Data Refresh Interval settings. - Use Pagination Printing Section ---------------- - Tick "Page Break After Each Entry" checkbox to print each data object in a separate page. Right-click Menu ---------------- .. _Report_Form_Spell_Checker: .. figure:: /_static/images/Report_Form_Spell_Checker.png :align: right :width: 344px Form - Spell Checker Most-commonly-used actions are already incorporated into the right-click menu: - Link - Image - Table, cell, row and column actions - Spell Checker for selected text - this is only available on a selected block of text. |br| Edit in HTML format ------------------- In HTML tab: - User can edit the raw HTML code and see the changes reflected in Visual mode or Preview mode. - User can use the now visible HTML group in Properties box. - Tick the Wrap Text checkbox to make long lines of code span multiple lines. - Tick the Highlight Code checkbox to enable syntax highlighting for HTML tags. - Click the Reformat button to beautify the code. .. _Report_Form_HTML_tab: .. figure:: /_static/images/Report_Form_HTML_tab.png :width: 697px Form - HTML Properties |br| Repeater Smart Tag ------------------- The Repeater smart tag allows repeating form content to dynamically display data. That content will be repeated for each unique set of values of the data. For example, the Repeater smart tag can be used to display Freight amount for each ShipCity in each ShipCountry, in a format totally customizable by the report designer. .. figure:: /_static/images/Report_Form/Form_ShipCountry_Repeater_ShipCity_SumFreight_Preview.png :width: 205px Form - Sample Repeater Result |br| To repeat a specific form content: #. * Either select the content then click Repeater > Add in Insert group in Report Part Properties panel * Or wrap the content by ```` and ```` tags in HTML view #. Make sure that the field values outside of Repeater tags are either unique or grouped. |br| (In this example ShipCountry field has "Group" as Function in Data Formatting) The selected content will be highlighted in Visual view. .. figure:: /_static/images/Report_Form/Form_ShipCountry_Repeater_ShipCity_SumFreight_Visual.png :width: 221px Form - Repeater Indicator in Visual view |br| Steps for this specific sample: #. Type "In country " then add field ShipCountry, select "Group" as Function in Data Formatting then enter. #. Type "In city " then add field ShipCity then select "Group" as Function in Data Formatting. #. Select both lines then choose Bullet List in Format group in Report Part Properties panel. #. Click anywhere in the second line and choose Increase Indent in Format group in Report Part Properties panel. #. Switch to HTML view to easily enter ```` and ```` tags in correct position. |br| Also add one more
tag to make the view prettier. .. figure:: /_static/images/Report_Form/Form_ShipCountry_Repeater_ShipCity_SumFreight_HTML.png :width: 923px Form - Repeater tags in HTML view |br| .. |Form Link Display.png| image:: /_static/images/Form_Link_Display.png .. _Form_Subtotal_Inside_Repeater: From version 2.12.0, Izenda supports the form report part containing subtotal inside repeater(s). |br| For example: .. figure:: /_static/images/Report_Form/Form_Subtotal_Inside_Repeater_Designer.png Form - Subtotal inside repeaters - Configuration |br| .. figure:: /_static/images/Report_Form/Form_Subtotal_Inside_Repeater_View.png Form - Subtotal inside repeaters - Preview |br| **Notes:** Subtotals are not supported for parallel repeaters, only nested repeater structures.