function set_default_styles()
 {
     reportico_report::set_default_styles();
     // Default column headers to underlined if not specified
     if (!$this->query->output_header_styles) {
         $this->query->output_header_styles["border-style"] = "solid";
         $this->query->output_header_styles["border-width"] = "0 0 1 0";
         $this->query->output_header_styles["border-color"] = array(0, 0, 0);
     }
     if (!$this->query->output_before_form_row_styles) {
         $this->query->output_before_form_row_styles["border-style"] = "solid";
         $this->query->output_before_form_row_styles["border-width"] = "0 0 0 0";
         $this->query->output_before_form_row_styles["border-color"] = array(0, 0, 0);
     }
     if (!$this->query->output_after_form_row_styles) {
         $this->query->output_after_form_row_styles["border-style"] = "solid";
         $this->query->output_after_form_row_styles["border-width"] = "1 0 0 0";
         $this->query->output_after_form_row_styles["border-color"] = array(0, 0, 0);
     }
     if (!$this->query->output_group_trailer_styles) {
         $this->query->output_group_trailer_styles["border-style"] = "solid";
         $this->query->output_group_trailer_styles["border-width"] = "1 0 1 0";
         $this->query->output_group_trailer_styles["border-color"] = array(0, 0, 0);
     }
     // Turn off page header and body background as its too complicated for now
     if (isset($this->query->output_reportbody_styles["background-color"])) {
         unset($this->query->output_reportbody_styles["background-color"]);
     }
     if (isset($this->query->output_page_styles["background-color"])) {
         unset($this->query->output_page_styles["background-color"]);
     }
 }
 function set_default_styles()
 {
     reportico_report::set_default_styles();
     // Default column headers to underlined if not specified
     if (!$this->query->output_header_styles) {
         $this->query->output_header_styles["requires-before"] = "0";
         //$this->query->output_header_styles["border-style"] = "solid";
         //$this->query->output_header_styles["border-width"] = "0 0 1 0";
         $this->query->output_header_styles["border-color"] = array(0, 0, 0);
     }
     if (!$this->query->output_before_form_row_styles) {
         $this->query->output_before_form_row_styles["border-style"] = "solid";
         $this->query->output_before_form_row_styles["border-width"] = "0 0 0 0";
         $this->query->output_before_form_row_styles["border-color"] = array(0, 0, 0);
     }
     if (!$this->query->output_criteria_styles) {
         $this->query->output_criteria_styles["border-style"] = "solid";
         $this->query->output_criteria_styles["background-color"] = "#aaaaaa";
         $this->query->output_criteria_styles["border-width"] = "1px 1px 1px 1px";
         $this->query->output_criteria_styles["border-color"] = array(0, 0, 0);
         $this->query->output_criteria_styles["margin"] = "0px 5px 10px 5px";
         $this->query->output_criteria_styles["padding"] = "0px 5px 0px 5px";
     }
     if (!$this->query->output_after_form_row_styles) {
         $this->query->output_after_form_row_styles["border-style"] = "solid";
         $this->query->output_after_form_row_styles["border-width"] = "1 0 0 0";
         $this->query->output_after_form_row_styles["border-color"] = array(0, 0, 0);
     }
     if (!$this->query->output_group_header_styles) {
         $this->query->output_group_header_styles["requires-before"] = "0";
     }
     if (!$this->query->output_group_trailer_styles) {
         $this->query->output_group_trailer_styles["border-style"] = "solid";
         $this->query->output_group_trailer_styles["border-width"] = "1 0 0 0";
         $this->query->output_group_trailer_styles["border-color"] = array(0, 0, 0);
     }
     // Turn off page header and body background as its too complicated for now
     if (isset($this->query->output_reportbody_styles["background-color"])) {
         unset($this->query->output_reportbody_styles["background-color"]);
     }
     if (isset($this->all_page_page_styles["background-color"])) {
         unset($this->all_page_page_styles["background-color"]);
     }
 }