
<section id='BaseOps_ReportChunk_id'
webfilename='reportchunk'>
    <title>
        Creating Reports
    </title>
    <para>
        BaseOps can create reports that contain most of the information
        in a <link target='#BaseOps_IntroductionToCases_id'>BaseOps case</link>.
        Reports are customizable --- you have full control of the information
        that is presented, and can design your own specialty report (for example,
        a report showing only maps of F-16 flight profiles on runway 32).
    </para>
    <para>
        To work with reports, choose Reports from the <link
        target='#BaseOps_ListPane_id'>object type selector dropdown list</link>.
        Reports can be added, duplicated, and deleted as described in
        <iref target='BaseOps_ListPane_id'/>.
    </para>
    <section>
        <title>
            Viewing Reports
        </title>
        <para>
            To view a report on the screen, select it in the <link
            target='#BaseOps_ListPane_id'>object list</link>, then press the
            View Report button on the <link
            target='#WCF_ApplicationMainWindow_id'>text pane</link>. The BaseOps
            Report dialog box appears.
        </para>
        <exhibit>
            <img
            src='BaseOps_ReportChunk_ViewReportDialogBox_ScreenCap.png'/>
        </exhibit>
        <para>
            See <iref target='WCF_DocumentDisplayControl_id'/> for more information
            on the document display control used to display the report.
        </para>
    </section>
    <section>
        <title>
            Printing Reports
        </title>
        <para>
            To print a report, select it in the <link
            target='#BaseOps_ListPane_id'>object list</link>, then either:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    Press the Print button <img
                    src='intres:WCF_PrintToolbarButtonBitmap'/> on the <link
                    target='#WCF_ApplicationMainToolbar_id'>application toolbar</link>
                </para>
            </listitem>
            <listitem>
                <para>
                    Press <keytext>Ctrl + P</keytext>
                </para>
            </listitem>
            <listitem>
                <para>
                    Choose <menutext>Print</menutext> from the <menutext>File</menutext>
                    menu
                </para>
            </listitem>
            <listitem>
                <para>
                    Press the Print Report button on the <link
                    target='#WCF_ApplicationMainWindow_id'>text pane</link>
                </para>
            </listitem>
        </unorderedlist>
        <para>
            To print preview a report, either:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    Press the Print Preview button <img
                    src='intres:WCF_PrintPreviewToolbarButtonBitmap'/> on the <link
                    target='#WCF_ApplicationMainToolbar_id'>application toolbar</link>
                </para>
            </listitem>
            <listitem>
                <para>
                    Press <keytext>Ctrl + W</keytext>
                </para>
            </listitem>
            <listitem>
                <para>
                    Choose <menutext>Print Preview</menutext> from the <menutext>File</menutext>
                    menu
                </para>
            </listitem>
            <listitem>
                <para>
                    Press the Print Preview Report button on the <link
                    target='#WCF_ApplicationMainWindow_id'>text pane</link>
                </para>
            </listitem>
        </unorderedlist>
        <para>
            See <iref target='WCFO_PrintPreview_id'/> for more information
            on using print preview.
        </para>
    </section>
    <section>
        <title>
            Exporting Reports
        </title>
        <para>
            You can export reports to either HTML or text files. You can then
            import these files into a third-party application such as a word
            processor.
        </para>
        <para>
            To export a report, select it in the <link
            target='#BaseOps_ListPane_id'>object list</link>, then either:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    Choose <menutext>Export Report to File</menutext> from the <menutext>File</menutext>
                    menu
                </para>
            </listitem>
            <listitem>
                <para>
                    Press the Export Report button on the <link
                    target='#WCF_ApplicationMainWindow_id'>text pane</link>
                </para>
            </listitem>
        </unorderedlist>
        <para>
            The Export Report dialog box appears.
        </para>
        <exhibit>
            <img
            src='BaseOps_ReportChunk_ExportReportDialogBox_ScreenCap.png'/>
        </exhibit>
        <para>
            This is the standard Microsoft Windows Save File dialog box. The
            exact appearance of this dialog box will vary, depending on the
            version of Microsoft Windows that you are using. Familiarity with
            this dialog box is assumed.
        </para>
        <para>
            Choose the type of file you wish to export the report to: either
            HTML or Text. Then select the file name and press Save.
        </para>
        <note type='note'>
            <para>
                If your report contains a large number of maps, exporting it to
                HTML can take several minutes, since each map must be converted
                into a (potentially large) image file.
            </para>
        </note>
    </section>
    <section id='BaseOps_ReportChunk_CustomizingReports_id'>
        <title>
            Customizing Reports
        </title>
        <para>
            To customize a report, select it in the <link
            target='#BaseOps_ListPane_id'>object list</link>, then edit its
            properties in the <link
            target='#WCF_ApplicationMainWindow_id'>text pane</link>.
        </para>
        <exhibit>
            <img src='BaseOps_ReportChunk_ScreenCap.png'/>
        </exhibit>
        <para>
            Reports have the following properties.
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    <italic>Name</italic> - A descriptive name that uniquely and unambiguously
                    identifies the report. There is no length restriction on the name.
                </para>
                <para>
                    The name appears on the report's title page.
                </para>
            </listitem>
            [-include "BaseOps_Notes_ListItem.rxl"    ObjectTypeName='report'-]
            <listitem>
                <para>
                    <italic>Sections</italic> - The sections that make up the report.
                </para>
                <para>
                    Every report is comprised of one or more sections, which are roughly
                    equivalent to chapters. You create a report by adding sections
                    and editing their properties
                </para>
                <para>
                    To add a new section, either press the Add Section button <img
                    src='intres:BaseOps_AddPlusSignSmallButtonBitmap'/>, or press
                    <keytext>Ctrl + A</keytext>. The Select Type of Section dialog
                    box appears.
                </para>
                <exhibit>
                    <img
                    src='BaseOps_ReportChunk_SelectTypeOfSectionDialogBox_ScreenCap.png'/>
                </exhibit>
                <para>
                    Select the type of section you would like to add, then press OK.
                    The section is added to the report.
                </para>
                <para>
                    To edit a section's properties, press the Edit button <img
                    src='WCF_ThreeDotsButton_Figure.png'/> next to that section. A
                    dialog box appears that allows you to edit the section's options.
                    See <iref
                    target='BaseOps_ReportChunk_SectionOptionsDialogBox_id'/>.
                </para>
                <para>
                    To delete a section, either press the Delete Section button <img
                    src='intres:WCF_DeleteCrossToolbarButtonBitmap'/>, or press <keytext>Ctrl
                    + Del</keytext>.
                </para>
                <para>
                    To move a section up or down in the table, press the Move Up and
                    Move Down buttons <img
                    src='intres:WCF_MoveUpToolbarButtonBitmap'/> and <img
                    src='intres:WCF_MoveDownToolbarButtonBitmap'/>, or press <keytext>Ctrl
                    + U</keytext> and <keytext>Ctrl + D</keytext>. Sections appear
                    in the report in the order they are listed.
                </para>
            </listitem>
        </unorderedlist>
    </section>
    <section id='BaseOps_ReportChunk_SectionOptionsDialogBox_id'>
        <title>
            Section Options Dialog Box
        </title>
        <para>
            Use the Section Options dialog box to edit the properties of a
            report section.
        </para>
        <exhibit>
            <img
            src='BaseOps_ReportChunk_SectionOptionsDialogBox_ScreenCap.png'/>
        </exhibit>
        <para>
            The left portion of the dialog box displays a list of option categories.
            One category in this list is always selected. The right portion
            of the dialog box displays controls that allow you to change the
            options in the selected category.
        </para>
        <para>
            The Section Options dialog box is a Multiple Page dialog box.
            See <iref target='WCF_MultiplePageDialogBoxes_id'/> for more information.
        </para>
        <note type='note'>
            <para>
                The available options will depend on the section type. Not all
                options are applicable to all types of sections.
            </para>
        </note>
        <section
        id='BaseOps_ReportChunk_SectionOptions_SectionTitle_id'>
            <title>
                Section Title
            </title>
            <para>
                Use the Section Title page of the <link
                target='#BaseOps_ReportChunk_SectionOptionsDialogBox_id'>Section
                Options dialog box</link> to set the title of the section.
            </para>
            <exhibit>
                <img
                src='BaseOps_ReportChunk_SectionOptions_SectionTitle_ScreenCap.png'/>
            </exhibit>
            <para>
                The title appears on the page that introduces the section in the
                report.
            </para>
        </section>
        <section id='BaseOps_ReportChunk_SectionOptions_Fields_id'>
            <title>
                Fields
            </title>
            <para>
                Use the Fields page of the <link
                target='#BaseOps_ReportChunk_SectionOptionsDialogBox_id'>Section
                Options dialog box</link> to set the information that appears
                in report table(s).
            </para>
            <exhibit>
                <img
                src='BaseOps_ReportChunk_SectionOptions_Fields_ScreenCap.png'/>
            </exhibit>
            <para>
                The Fields page appears only for table sections. For a summary
                table, each field represents one column in the table. For detail
                tables, each field represents one row in the tables. Check the
                box next to each field that you would like to appear in the table(s).
            </para>
            <para>
                Use the Move Row Up and Move Row Down to set the order that the
                fields will appear in the table(s).
            </para>
        </section>
        <section id='BaseOps_ReportChunk_SectionOptions_Sorting_id'>
            <title>
                Sorting
            </title>
            <para>
                Use the Sorting page of the <link
                target='#BaseOps_ReportChunk_SectionOptionsDialogBox_id'>Section
                Options dialog box</link> to set the order in which objects appear
                in the report section.
            </para>
            <exhibit>
                <img
                src='BaseOps_ReportChunk_SectionOptions_Sorting_ScreenCap.png'/>
            </exhibit>
            <para>
                Use the drop-down lists to select the criteria for sorting. Objects
                will be sorted by the criteria you select, starting with the top
                criterion and working down the list. The available criteria will
                depend on the object type.
            </para>
            <para>
                Once you have selected all of the desired criteria, set the remaining
                drop-down lists to "None".
            </para>
        </section>
        <section id='BaseOps_ReportChunk_SectionOptions_Filtering_id'>
            <title>
                Filtering
            </title>
            <para>
                Use the Filtering page of the <link
                target='#BaseOps_ReportChunk_SectionOptionsDialogBox_id'>Section
                Options dialog box</link> to control which objects appear in the
                report section.
            </para>
            <exhibit>
                <img
                src='BaseOps_ReportChunk_SectionOptions_Filtering_ScreenCap.png'/>
            </exhibit>
            <para>
                Select the objects that will appear in the report. This is done
                in a similar manner to selecting the objects to display in the
                object list. See <iref target='BaseOps_FilteringListPane_id'/>
                for more information.
            </para>
        </section>
        <section
        id='BaseOps_ReportChunk_SectionOptions_MapOptions_id'>
            <title>
                Map Options
            </title>
            <para>
                Use the Map Options page of the <link
                target='#BaseOps_ReportChunk_SectionOptionsDialogBox_id'>Section
                Options dialog box</link> to control how map(s) appear in the
                report section. The Map Options page appears only for map sections.
            </para>
            <exhibit>
                <img
                src='BaseOps_ReportChunk_SectionOptions_MapOptions_ScreenCap.png'/>
            </exhibit>
            <para>
                The <italic>Primary Map Title</italic> and <italic>Secondary Map
                Title</italic> appear in the legend area of the map(s). The primary
                title appears in a bolder font.
            </para>
            <para>
                The titles can have as many lines as desired. Press the <keytext>Enter</keytext>
                key to insert a new line.
            </para>
            <para>
                The titles can include <termtext>symbolic fields</termtext>, placeholders
                for text that is automatically inserted when the title is displayed.
                For example, the field {ObjectName} is automatically replaced
                with the name of the object being displayed by the map.
            </para>
            <para>
                Press the Insert Symbolic Field button <img
                src='WCF_SymbolicFieldsTextControl_InsertFieldButton_ScreenCap.png'/>,
                located to the right of the text box, to display a list of fields
                from which you can choose. See <iref
                target='WCF_SymbolicFieldsTextControl_id'/> for more information
                about symbolic fields.
            </para>
            <para>
                Check the <italic>Show Map Scale</italic> and <italic>Show North
                Arrow</italic> boxes to include a graphical map scale and a north arrow,
                respectively, in the legend area of the map(s). The north arrow
                shows both true and magnetic north.
            </para>
            <exhibit>
                <img
                src='BaseOps_ReportChunk_SectionOptions_MapOptions_MapScale_Figure.png' standard_colors='true'/>
            </exhibit>
        </section>
    </section>
</section>
