<?xml version="1.0" encoding="utf-8"?>
<PrintArea xmlns="com.flexicious.print.printareas.*" xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" paddingBottom="0" paddingTop="0" verticalGap="0" xmlns:support="com.flexicious.example.view.support.*">
    <mx:Script>
        <![CDATA[
            import com.flexicious.example.model.organizations.Organization;
            import com.flexicious.example.view.functional.CustomReportExample;
            import com.flexicious.grids.dependencies.IExtendedDataGrid;
            import com.flexicious.utils.UIUtils;
            
            override public function set extendedDataGrid(val:IExtendedDataGrid):void{
                super.extendedDataGrid=val;
                orgData.data= (val.owner as CustomReportExample).cbxNav.selectedItem;
            }
        ]]>
    </mx:Script>
    <mx:VBox width="100%">
        <mx:ControlBar width="100%" horizontalAlign="right">
            <mx:Label text="Page {this.currentPage} of {this.totalPages}"/>
        </mx:ControlBar>    
        <mx:Label text="Summary For : {orgData.data.legalName}" width="100%" textAlign="center" fontWeight="bold"/>
        <support:OrgFlyover id="orgData" width="100%"/>
        <mx:Label text="Deal Information For : {orgData.data.legalName}" width="100%" textAlign="center" fontWeight="bold"/>
    </mx:VBox>
</PrintArea>