text:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Drawing.Printing;

/// <summary>
/// Summary description for rp_DanhSachNhanVienNghiViecTheoPhongBan
/// </summary>
public class rp_DanhSachNhanVienNghiViecTheoPhongBan : DevExpress.XtraReports.UI.XtraReport
{
	private DevExpress.XtraReports.UI.DetailBand Detail;
	private DevExpress.XtraReports.UI.TopMarginBand TopMargin;
	private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin;
    private ReportHeaderBand ReportHeader;
    private GroupHeaderBand GroupHeader1;
    private XRLabel xrt_tenbaocao;
    private XRLabel xrt_tungay;
    private XRLabel xrl_TenCongTy;
    private XRLabel xrl_TenThanhPho;
    private ReportFooterBand ReportFooter;
    private XRLabel xrl_ngayketxuat;
    private XRLabel xrl_footer2;
    private XRLabel xrl_ten2;
    private XRLabel xrl_footer3;
    private XRLabel xrl_ten1;
    private XRLabel xrl_footer1;
    private XRLabel xrl_ten3;
    private XRTableCell xrTableCell26;
    private XRTableCell xrTableCell3;
    private XRTableCell xrTableCell2;
    private XRTableCell xrTableCell9;
    private XRTableCell xrTableCell1;
    private XRTableCell xrTableCell5;
    private XRTableCell xrTableCell4;
    private XRTableRow xrTableRow1;
    private XRTable xrTable1;
    private PageHeaderBand PageHeader;
    private XRTable xrTable3;
    private XRTableRow xrTableRow4;
    private XRTableCell xrTableCell11;
    private XRTableCell xrTableCell12;
    private XRTableCell xrTableCell13;
    private XRTableCell xrTableCell18;
    private XRTableCell xrTableCell20;
    private XRTableCell xrTableCell22;
    private XRTableCell xrTableCell24;
    private XRTable xrTable4;
    private XRTableRow xrTableRow7;
    private XRTableCell xrTableCell16;
    private XRTableCell xrTableCell21;
    private XRTableCell xrTableCell23;
    private XRTableCell xrTableCell25;
    private XRTable xrTable2;
    private XRTableRow xrTableRow2;
    private XRTableCell xrTableCell6;
    private XRTableCell xrTableCell7;
    private XRTableCell xrTableCell8;
    private XRTable xrTable5;
    private XRTableRow xrTableRow3;
    private XRTableCell xrTableCell10;
    private XRTableCell xrTableCell14;
    private XRTableCell xrTableCell15;
    private XRLabel xrLabel1;
    private XRLabel xrLabel2;
    private XRLabel xrLabel3;
    private XRLabel xrLabel4;
    private XRTable xrTable6;
    private XRTableRow xrTableRow5;
    private XRTableCell xrTableCell17;
    private XRTableCell xrTableCell27;
    private XRTableCell xrTableCell28;
    private XRTableCell xrTableCell29;
    private XRTableCell xrTableCell30;
    private XRTableCell xrTableCell31;
    private XRTableCell xrTableCell32;
    private XRTableCell xrTableCell33;
    private XRTableCell xrTableCell34;
    private XRTableCell xrTableCell35;
    private XRTableCell xrTableCell36;
    private XRTableCell xrTableCell37;
    private XRTableCell xrTableCell38;
    private XRTableCell xrTableCell39;
    private XRTableCell xrTableCell40;
    private XRTableCell xrTableCell42;
    private XRTableCell xrTableCell43;
    private XRTableCell xrTableCell44;
    private XRTableCell xrTableCell45;
    private XRTableCell xrTableCell46;
    private XRTableCell xrTableCell47;
    private XRTableCell xrTableCell48;
    private XRTable xrTable8;
    private XRTableRow xrTableRow8;
    private XRTableCell xrTableCell71;
    private XRTableCell xrt_phongban;
    private XRTableCell xrt_maphongban;
    private XRTableCell xrt_nam;
    private XRTableCell xrt_nu;
    private XRTableCell xrt_tong;
    private XRTableCell xrt_saudaihoc;
    private XRTableCell xrt_daihoc;
    private XRTableCell xrt_caodang;
    private XRTableCell xrt_trungcap;
    private XRTableCell xrt_ptth;
    private XRTableCell xrt_khac;
    private XRTableCell xrt_tongTrinhDo;
    private XRTableCell xrt_duoi6thang;
    private XRTableCell xrt_tu6thang1nam;
    private XRTableCell xrt_tu1den3nam;
    private XRTableCell xrt_tren3nam;
    private XRTableCell xrt_tongthamnien;
    private XRTableCell xrt_thuviec;
    private XRTableCell xrt_chinhthuc;
    private XRTableCell xrt_tonghopdong;
	/// <summary>
	/// Required designer variable.
	/// </summary>
	private System.ComponentModel.IContainer components = null;

	public rp_DanhSachNhanVienNghiViecTheoPhongBan()
	{
		InitializeComponent();
		//
		// TODO: Add constructor logic here
		//
	}
    private void XtraReport1_BeforePrint(object sender, PrintEventArgs e)
    {
        // Create a new rule and add it to a report.
        FormattingRule rule = new FormattingRule();
        this.FormattingRuleSheet.Add(rule);

        // Specify the rule's properties.
        rule.DataSource = this.DataSource;
        rule.DataMember = this.DataMember;
        rule.Condition = "[Level] <=3";
        rule.Formatting.BackColor = Color.WhiteSmoke;
        rule.Formatting.ForeColor = Color.IndianRed;
        rule.Formatting.Font = new Font("Arial", 10, FontStyle.Bold);

        // Apply this rule to the detail band.
        this.Detail.FormattingRules.Add(rule);
    }

    public void BinData(ReportFilter filter)
    {
        //xrt_tungay.Text = "Từ ngày " + Convert.ToDateTime(filter.TuNgay).ToString("dd/MM/yyyy") + " Đến ngày " + Convert.ToDateTime(filter.DenNgay).ToString("dd/MM/yyyy");
        //xrl_TenCongTy.Text = filter.TenDonVi;
        //xrl_TenThanhPho.Text = filter.TenThanhPho.ToUpper();
        BaoCaoThongKePhanTichController bcptc = new BaoCaoThongKePhanTichController();
        var bt = bcptc.ThongKeDanhSachCanBoNghiViec("01", true);
        if (bt!=null)
        {
            DataSource = bt;
            xrt_phongban.DataBindings.Add("Text", DataSource, "TenPhongBan");
            xrt_maphongban.DataBindings.Add("Text", DataSource, "MaPhongBan");
            xrt_nam.DataBindings.Add("Text", DataSource, "Nam");
            xrt_nu.DataBindings.Add("Text", DataSource, "Nu");
            xrt_tong.DataBindings.Add("Text", DataSource, "Tong");

            xrt_saudaihoc.DataBindings.Add("Text", DataSource, "SauDaiHoc");
            xrt_daihoc.DataBindings.Add("Text", DataSource, "DaiHoc");
            xrt_caodang.DataBindings.Add("Text", DataSource, "CaoDang");
            xrt_ptth.DataBindings.Add("Text", DataSource, "PTTH");
            xrt_khac.DataBindings.Add("Text", DataSource, "Khac");
            xrt_trungcap.DataBindings.Add("Text", DataSource, "TrungCap");
            xrt_tongTrinhDo.DataBindings.Add("Text", DataSource, "Tong");

            xrt_duoi6thang.DataBindings.Add("Text", DataSource, "Duoi6Thang");
            xrt_tu6thang1nam.DataBindings.Add("Text", DataSource, "Duoi1Nam");
            //xrt_d.DataBindings.Add("Text", DataSource, "Tong");
            xrt_tu1den3nam.DataBindings.Add("Text", DataSource, "Duoi3Nam");
            xrt_tren3nam.DataBindings.Add("Text", DataSource, "Tren3Nam");
            xrt_thuviec.DataBindings.Add("Text", DataSource, "HDThuViec");
            xrt_chinhthuc.DataBindings.Add("Text", DataSource, "HDChinhThuc");
            xrt_tonghopdong.DataBindings.Add("Text", DataSource, "Tong");
            xrt_tongthamnien.DataBindings.Add("Text", DataSource, "Tong");
        }
        xrl_ngayketxuat.Text = "Ngày " + DateTime.Now.Day + " tháng " + DateTime.Now.Month + " năm " + DateTime.Now.Year;
        //if (!string.IsNullOrEmpty(filter.TenBaoCao))
        //{
        //    xrt_tenbaocao.Text = filter.TenBaoCao.ToUpper();
        //}
        //if (!string.IsNullOrEmpty(filter.Footer1))
        //{
        //    xrl_footer1.Text = filter.Footer1;
        //}
        //if (!string.IsNullOrEmpty(filter.Footer2))
        //{
        //    xrl_footer2.Text = filter.Footer2;
        //}
        //if (!string.IsNullOrEmpty(filter.Footer3))
        //{
        //    xrl_footer3.Text = filter.Footer3;
        //}
        //if (!string.IsNullOrEmpty(filter.Ten1))
        //{
        //    xrl_ten1.Text = filter.Ten1;
        //}
        //else
        //{
        //    xrl_ten1.Text = filter.NguoiLapBaoCao.ToString();
        //}
        //if (!string.IsNullOrEmpty(filter.Ten2))
        //{
        //    xrl_ten2.Text = filter.Ten2;
        //}
        //if (!string.IsNullOrEmpty(filter.Ten3))
        //{
        //    xrl_ten3.Text = filter.Ten3;
        //}
    }
	/// <summary>
	/// Clean up any resources being used.
	/// </summary>
	/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
	protected override void Dispose(bool disposing) {
		if (disposing && (components != null)) {
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	#region Designer generated code

	/// <summary>
	/// Required method for Designer support - do not modify
	/// the contents of this method with the code editor.
	/// </summary>
	private void InitializeComponent() {
            string resourceFileName = "rp_DanhSachNhanVienNghiViecTheoPhongBan.resx";
            this.Detail = new DevExpress.XtraReports.UI.DetailBand();
            this.xrTable8 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell71 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_phongban = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_maphongban = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_nam = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_nu = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_tong = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_saudaihoc = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_daihoc = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_caodang = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_trungcap = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_ptth = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_khac = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_tongTrinhDo = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_duoi6thang = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_tu6thang1nam = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_tu1den3nam = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_tren3nam = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_tongthamnien = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_thuviec = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_chinhthuc = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrt_tonghopdong = new DevExpress.XtraReports.UI.XRTableCell();
            this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
            this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
            this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
            this.xrt_tenbaocao = new DevExpress.XtraReports.UI.XRLabel();
            this.xrt_tungay = new DevExpress.XtraReports.UI.XRLabel();
            this.xrl_TenCongTy = new DevExpress.XtraReports.UI.XRLabel();
            this.xrl_TenThanhPho = new DevExpress.XtraReports.UI.XRLabel();
            this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
            this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
            this.xrl_ngayketxuat = new DevExpress.XtraReports.UI.XRLabel();
            this.xrl_footer2 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrl_ten2 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrl_footer3 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrl_ten1 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrl_footer1 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrl_ten3 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
            this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
            this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // Detail
            //
            this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable8});
            this.Detail.HeightF = 35.41666F;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            //
            // xrTable8
            //
            this.xrTable8.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable8.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(0.750041F, 0F);
            this.xrTable8.Name = "xrTable8";
            this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow8});
            this.xrTable8.SizeF = new System.Drawing.SizeF(1625.25F, 35.41666F);
            this.xrTable8.StylePriority.UseBorders = false;
            this.xrTable8.StylePriority.UseFont = false;
            //
            // xrTableRow8
            //
            this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell71,
            this.xrt_phongban,
            this.xrt_maphongban,
            this.xrt_nam,
            this.xrt_nu,
            this.xrt_tong,
            this.xrt_saudaihoc,
            this.xrt_daihoc,
            this.xrt_caodang,
            this.xrt_trungcap,
            this.xrt_ptth,
            this.xrt_khac,
            this.xrt_tongTrinhDo,
            this.xrt_duoi6thang,
            this.xrt_tu6thang1nam,
            this.xrt_tu1den3nam,
            this.xrt_tren3nam,
            this.xrt_tongthamnien,
            this.xrt_thuviec,
            this.xrt_chinhthuc,
            this.xrt_tonghopdong});
            this.xrTableRow8.Name = "xrTableRow8";
            this.xrTableRow8.Weight = 1D;
            //
            // xrTableCell71
            //
            this.xrTableCell71.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell71.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrTableCell71.Name = "xrTableCell71";
            this.xrTableCell71.StylePriority.UseBorders = false;
            this.xrTableCell71.StylePriority.UseFont = false;
            this.xrTableCell71.Weight = 0.096985201270117144D;
            //
            // xrt_phongban
            //
            this.xrt_phongban.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_phongban.Name = "xrt_phongban";
            this.xrt_phongban.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
            this.xrt_phongban.StylePriority.UseFont = false;
            this.xrt_phongban.StylePriority.UsePadding = false;
            this.xrt_phongban.StylePriority.UseTextAlignment = false;
            this.xrt_phongban.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrt_phongban.Weight = 0.27938013292426167D;
            //
            // xrt_maphongban
            //
            this.xrt_maphongban.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_maphongban.Name = "xrt_maphongban";
            this.xrt_maphongban.StylePriority.UseFont = false;
            this.xrt_maphongban.StylePriority.UseTextAlignment = false;
            this.xrt_maphongban.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_maphongban.Weight = 0.16893544744994166D;
            //
            // xrt_nam
            //
            this.xrt_nam.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrt_nam.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_nam.Name = "xrt_nam";
            this.xrt_nam.StylePriority.UseBorders = false;
            this.xrt_nam.StylePriority.UseFont = false;
            this.xrt_nam.StylePriority.UseTextAlignment = false;
            this.xrt_nam.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_nam.Weight = 0.11621285277024689D;
            //
            // xrt_nu
            //
            this.xrt_nu.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrt_nu.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_nu.Name = "xrt_nu";
            this.xrt_nu.StylePriority.UseBorders = false;
            this.xrt_nu.StylePriority.UseFont = false;
            this.xrt_nu.StylePriority.UseTextAlignment = false;
            this.xrt_nu.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_nu.Weight = 0.11344427681761393D;
            //
            // xrt_tong
            //
            this.xrt_tong.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_tong.Name = "xrt_tong";
            this.xrt_tong.StylePriority.UseFont = false;
            this.xrt_tong.StylePriority.UseTextAlignment = false;
            this.xrt_tong.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_tong.Weight = 0.11482850846245254D;
            //
            // xrt_saudaihoc
            //
            this.xrt_saudaihoc.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_saudaihoc.Name = "xrt_saudaihoc";
            this.xrt_saudaihoc.StylePriority.UseFont = false;
            this.xrt_saudaihoc.StylePriority.UseTextAlignment = false;
            this.xrt_saudaihoc.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_saudaihoc.Weight = 0.123558256556815D;
            //
            // xrt_daihoc
            //
            this.xrt_daihoc.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_daihoc.Name = "xrt_daihoc";
            this.xrt_daihoc.StylePriority.UseFont = false;
            this.xrt_daihoc.StylePriority.UseTextAlignment = false;
            this.xrt_daihoc.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_daihoc.Weight = 0.15124562285053164D;
            //
            // xrt_caodang
            //
            this.xrt_caodang.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_caodang.Name = "xrt_caodang";
            this.xrt_caodang.StylePriority.UseFont = false;
            this.xrt_caodang.StylePriority.UseTextAlignment = false;
            this.xrt_caodang.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_caodang.Weight = 0.16009090482555993D;
            //
            // xrt_trungcap
            //
            this.xrt_trungcap.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_trungcap.Name = "xrt_trungcap";
            this.xrt_trungcap.StylePriority.UseFont = false;
            this.xrt_trungcap.StylePriority.UseTextAlignment = false;
            this.xrt_trungcap.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_trungcap.Weight = 0.15163037487588063D;
            //
            // xrt_ptth
            //
            this.xrt_ptth.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrt_ptth.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_ptth.Name = "xrt_ptth";
            this.xrt_ptth.StylePriority.UseBorders = false;
            this.xrt_ptth.StylePriority.UseFont = false;
            this.xrt_ptth.StylePriority.UseTextAlignment = false;
            this.xrt_ptth.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_ptth.Weight = 0.16585937891899849D;
            //
            // xrt_khac
            //
            this.xrt_khac.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_khac.Name = "xrt_khac";
            this.xrt_khac.StylePriority.UseFont = false;
            this.xrt_khac.StylePriority.UseTextAlignment = false;
            this.xrt_khac.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_khac.Weight = 0.11753946075144595D;
            //
            // xrt_tongTrinhDo
            //
            this.xrt_tongTrinhDo.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_tongTrinhDo.Name = "xrt_tongTrinhDo";
            this.xrt_tongTrinhDo.StylePriority.UseFont = false;
            this.xrt_tongTrinhDo.StylePriority.UseTextAlignment = false;
            this.xrt_tongTrinhDo.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_tongTrinhDo.Weight = 0.079083650767885691D;
            //
            // xrt_duoi6thang
            //
            this.xrt_duoi6thang.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_duoi6thang.Name = "xrt_duoi6thang";
            this.xrt_duoi6thang.StylePriority.UseFont = false;
            this.xrt_duoi6thang.StylePriority.UseTextAlignment = false;
            this.xrt_duoi6thang.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_duoi6thang.Weight = 0.156457074512575D;
            //
            // xrt_tu6thang1nam
            //
            this.xrt_tu6thang1nam.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_tu6thang1nam.Name = "xrt_tu6thang1nam";
            this.xrt_tu6thang1nam.StylePriority.UseFont = false;
            this.xrt_tu6thang1nam.StylePriority.UseTextAlignment = false;
            this.xrt_tu6thang1nam.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_tu6thang1nam.Weight = 0.15453414318470235D;
            //
            // xrt_tu1den3nam
            //
            this.xrt_tu1den3nam.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_tu1den3nam.Name = "xrt_tu1den3nam";
            this.xrt_tu1den3nam.StylePriority.UseFont = false;
            this.xrt_tu1den3nam.StylePriority.UseTextAlignment = false;
            this.xrt_tu1den3nam.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_tu1den3nam.Weight = 0.17643424449123216D;
            //
            // xrt_tren3nam
            //
            this.xrt_tren3nam.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrt_tren3nam.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_tren3nam.Name = "xrt_tren3nam";
            this.xrt_tren3nam.StylePriority.UseBorders = false;
            this.xrt_tren3nam.StylePriority.UseFont = false;
            this.xrt_tren3nam.StylePriority.UseTextAlignment = false;
            this.xrt_tren3nam.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_tren3nam.Weight = 0.1875867504758883D;
            //
            // xrt_tongthamnien
            //
            this.xrt_tongthamnien.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrt_tongthamnien.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_tongthamnien.Name = "xrt_tongthamnien";
            this.xrt_tongthamnien.StylePriority.UseBorders = false;
            this.xrt_tongthamnien.StylePriority.UseFont = false;
            this.xrt_tongthamnien.StylePriority.UseTextAlignment = false;
            this.xrt_tongthamnien.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_tongthamnien.Weight = 0.098869066718101015D;
            //
            // xrt_thuviec
            //
            this.xrt_thuviec.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
            this.xrt_thuviec.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_thuviec.Name = "xrt_thuviec";
            this.xrt_thuviec.StylePriority.UseBorders = false;
            this.xrt_thuviec.StylePriority.UseFont = false;
            this.xrt_thuviec.StylePriority.UseTextAlignment = false;
            this.xrt_thuviec.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_thuviec.Weight = 0.12772396494289337D;
            //
            // xrt_chinhthuc
            //
            this.xrt_chinhthuc.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrt_chinhthuc.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_chinhthuc.Name = "xrt_chinhthuc";
            this.xrt_chinhthuc.StylePriority.UseBorders = false;
            this.xrt_chinhthuc.StylePriority.UseFont = false;
            this.xrt_chinhthuc.StylePriority.UseTextAlignment = false;
            this.xrt_chinhthuc.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_chinhthuc.Weight = 0.12910859266843566D;
            //
            // xrt_tonghopdong
            //
            this.xrt_tonghopdong.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrt_tonghopdong.Name = "xrt_tonghopdong";
            this.xrt_tonghopdong.StylePriority.UseFont = false;
            this.xrt_tonghopdong.StylePriority.UseTextAlignment = false;
            this.xrt_tonghopdong.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrt_tonghopdong.Weight = 0.13049209376442086D;
            //
            // TopMargin
            //
            this.TopMargin.HeightF = 49F;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            //
            // BottomMargin
            //
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            //
            // ReportHeader
            //
            this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrt_tenbaocao,
            this.xrt_tungay,
            this.xrl_TenCongTy,
            this.xrl_TenThanhPho});
            this.ReportHeader.HeightF = 115F;
            this.ReportHeader.Name = "ReportHeader";
            //
            // xrt_tenbaocao
            //
            this.xrt_tenbaocao.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold);
            this.xrt_tenbaocao.LocationFloat = new DevExpress.Utils.PointFloat(0F, 62.5F);
            this.xrt_tenbaocao.Name = "xrt_tenbaocao";
            this.xrt_tenbaocao.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrt_tenbaocao.SizeF = new System.Drawing.SizeF(1625.25F, 21.95834F);
            this.xrt_tenbaocao.StylePriority.UseFont = false;
            this.xrt_tenbaocao.StylePriority.UseTextAlignment = false;
            this.xrt_tenbaocao.Text = "DANH SÁCH NHÂN VIÊN THÔI VIỆC THEO PHÒNG BAN";
            this.xrt_tenbaocao.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrt_tungay
            //
            this.xrt_tungay.Font = new System.Drawing.Font("Times New Roman", 12F);
            this.xrt_tungay.LocationFloat = new DevExpress.Utils.PointFloat(0F, 87.5F);
            this.xrt_tungay.Name = "xrt_tungay";
            this.xrt_tungay.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrt_tungay.SizeF = new System.Drawing.SizeF(1625.25F, 17.95836F);
            this.xrt_tungay.StylePriority.UseFont = false;
            this.xrt_tungay.StylePriority.UseTextAlignment = false;
            this.xrt_tungay.Text = "Từ ngày ....... Đến ngày ..........";
            this.xrt_tungay.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrl_TenCongTy
            //
            this.xrl_TenCongTy.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            this.xrl_TenCongTy.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
            this.xrl_TenCongTy.Name = "xrl_TenCongTy";
            this.xrl_TenCongTy.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_TenCongTy.SizeF = new System.Drawing.SizeF(739.9739F, 23F);
            this.xrl_TenCongTy.StylePriority.UseFont = false;
            this.xrl_TenCongTy.StylePriority.UseTextAlignment = false;
            this.xrl_TenCongTy.Text = "CÔNG TY CỔ PHẦN CÔNG NGHỆ DTH VÀ GIẢI PHÁP SỐ";
            this.xrl_TenCongTy.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrl_TenThanhPho
            //
            this.xrl_TenThanhPho.Font = new System.Drawing.Font("Times New Roman", 11F);
            this.xrl_TenThanhPho.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrl_TenThanhPho.Name = "xrl_TenThanhPho";
            this.xrl_TenThanhPho.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_TenThanhPho.SizeF = new System.Drawing.SizeF(739.9739F, 23F);
            this.xrl_TenThanhPho.StylePriority.UseFont = false;
            this.xrl_TenThanhPho.StylePriority.UseTextAlignment = false;
            this.xrl_TenThanhPho.Text = "THÀNH PHỐ HÀ NỘI";
            this.xrl_TenThanhPho.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // GroupHeader1
            //
            this.GroupHeader1.HeightF = 7F;
            this.GroupHeader1.Name = "GroupHeader1";
            //
            // ReportFooter
            //
            this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrl_ngayketxuat,
            this.xrl_footer2,
            this.xrl_ten2,
            this.xrl_footer3,
            this.xrl_ten1,
            this.xrl_footer1,
            this.xrl_ten3});
            this.ReportFooter.HeightF = 239F;
            this.ReportFooter.Name = "ReportFooter";
            //
            // xrl_ngayketxuat
            //
            this.xrl_ngayketxuat.Font = new System.Drawing.Font("Times New Roman", 11F);
            this.xrl_ngayketxuat.LocationFloat = new DevExpress.Utils.PointFloat(1342.056F, 37.08334F);
            this.xrl_ngayketxuat.Name = "xrl_ngayketxuat";
            this.xrl_ngayketxuat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_ngayketxuat.SizeF = new System.Drawing.SizeF(188.5416F, 23F);
            this.xrl_ngayketxuat.StylePriority.UseFont = false;
            this.xrl_ngayketxuat.StylePriority.UseTextAlignment = false;
            this.xrl_ngayketxuat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrl_footer2
            //
            this.xrl_footer2.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            this.xrl_footer2.LocationFloat = new DevExpress.Utils.PointFloat(706.0213F, 87.08331F);
            this.xrl_footer2.Name = "xrl_footer2";
            this.xrl_footer2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_footer2.SizeF = new System.Drawing.SizeF(167.7083F, 23F);
            this.xrl_footer2.StylePriority.UseFont = false;
            this.xrl_footer2.StylePriority.UseTextAlignment = false;
            this.xrl_footer2.Text = "TRƯỞNG BỘ PHẬN";
            this.xrl_footer2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrl_ten2
            //
            this.xrl_ten2.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            this.xrl_ten2.LocationFloat = new DevExpress.Utils.PointFloat(706.0213F, 199.5833F);
            this.xrl_ten2.Multiline = true;
            this.xrl_ten2.Name = "xrl_ten2";
            this.xrl_ten2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_ten2.SizeF = new System.Drawing.SizeF(167.7083F, 23F);
            this.xrl_ten2.StylePriority.UseFont = false;
            this.xrl_ten2.StylePriority.UseTextAlignment = false;
            this.xrl_ten2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrl_footer3
            //
            this.xrl_footer3.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            this.xrl_footer3.LocationFloat = new DevExpress.Utils.PointFloat(1354.556F, 87.08331F);
            this.xrl_footer3.Name = "xrl_footer3";
            this.xrl_footer3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_footer3.SizeF = new System.Drawing.SizeF(167.7083F, 23F);
            this.xrl_footer3.StylePriority.UseFont = false;
            this.xrl_footer3.StylePriority.UseTextAlignment = false;
            this.xrl_footer3.Text = "BAN GIÁM ĐỐC";
            this.xrl_footer3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrl_ten1
            //
            this.xrl_ten1.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            this.xrl_ten1.LocationFloat = new DevExpress.Utils.PointFloat(92.47958F, 199.5833F);
            this.xrl_ten1.Multiline = true;
            this.xrl_ten1.Name = "xrl_ten1";
            this.xrl_ten1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_ten1.SizeF = new System.Drawing.SizeF(167.7083F, 23F);
            this.xrl_ten1.StylePriority.UseFont = false;
            this.xrl_ten1.StylePriority.UseTextAlignment = false;
            this.xrl_ten1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrl_footer1
            //
            this.xrl_footer1.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            this.xrl_footer1.LocationFloat = new DevExpress.Utils.PointFloat(92.47958F, 87.08337F);
            this.xrl_footer1.Name = "xrl_footer1";
            this.xrl_footer1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_footer1.SizeF = new System.Drawing.SizeF(167.7083F, 23F);
            this.xrl_footer1.StylePriority.UseFont = false;
            this.xrl_footer1.StylePriority.UseTextAlignment = false;
            this.xrl_footer1.Text = "NGƯỜI LẬP";
            this.xrl_footer1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrl_ten3
            //
            this.xrl_ten3.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
            this.xrl_ten3.LocationFloat = new DevExpress.Utils.PointFloat(1354.556F, 199.5833F);
            this.xrl_ten3.Multiline = true;
            this.xrl_ten3.Name = "xrl_ten3";
            this.xrl_ten3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrl_ten3.SizeF = new System.Drawing.SizeF(167.7083F, 23F);
            this.xrl_ten3.StylePriority.UseFont = false;
            this.xrl_ten3.StylePriority.UseTextAlignment = false;
            this.xrl_ten3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
            //
            // xrTableCell26
            //
            this.xrTableCell26.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable5,
            this.xrLabel1});
            this.xrTableCell26.Name = "xrTableCell26";
            this.xrTableCell26.Text = "`";
            this.xrTableCell26.Weight = 0.38852998515336723D;
            //
            // xrTable5
            //
            this.xrTable5.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
            | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.64586F);
            this.xrTable5.Name = "xrTable5";
            this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow3});
            this.xrTable5.SizeF = new System.Drawing.SizeF(209.8333F, 57.81247F);
            this.xrTable5.StylePriority.UseBorders = false;
            //
            // xrTableRow3
            //
            this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell10,
            this.xrTableCell14,
            this.xrTableCell15});
            this.xrTableRow3.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableRow3.Name = "xrTableRow3";
            this.xrTableRow3.StylePriority.UseFont = false;
            this.xrTableRow3.Weight = 1D;
            //
            // xrTableCell10
            //
            this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell10.Name = "xrTableCell10";
            this.xrTableCell10.StylePriority.UseBorders = false;
            this.xrTableCell10.Text = "Hợp đồng thử việc ";
            this.xrTableCell10.Weight = 1D;
            //
            // xrTableCell14
            //
            this.xrTableCell14.Name = "xrTableCell14";
            this.xrTableCell14.Text = "Hợp đồng chính thức";
            this.xrTableCell14.Weight = 1D;
            //
            // xrTableCell15
            //
            this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell15.Name = "xrTableCell15";
            this.xrTableCell15.StylePriority.UseBorders = false;
            this.xrTableCell15.Text = "Tổng";
            this.xrTableCell15.Weight = 1D;
            //
            // xrLabel1
            //
            this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.Top;
            this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel1.SizeF = new System.Drawing.SizeF(210.5833F, 28.64586F);
            this.xrLabel1.StylePriority.UseBorders = false;
            this.xrLabel1.StylePriority.UseFont = false;
            this.xrLabel1.Text = "Loại hợp đồng";
            //
            // xrTableCell3
            //
            this.xrTableCell3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable4,
            this.xrLabel2});
            this.xrTableCell3.Name = "xrTableCell3";
            this.xrTableCell3.Weight = 0.77214022140221394D;
            //
            // xrTable4
            //
            this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
            | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable4.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.64586F);
            this.xrTable4.Name = "xrTable4";
            this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow7});
            this.xrTable4.SizeF = new System.Drawing.SizeF(418.5001F, 57.81248F);
            this.xrTable4.StylePriority.UseBorders = false;
            this.xrTable4.StylePriority.UseFont = false;
            this.xrTable4.StylePriority.UseTextAlignment = false;
            this.xrTable4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrTableRow7
            //
            this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell47,
            this.xrTableCell16,
            this.xrTableCell21,
            this.xrTableCell23,
            this.xrTableCell25});
            this.xrTableRow7.Name = "xrTableRow7";
            this.xrTableRow7.Weight = 1D;
            //
            // xrTableCell47
            //
            this.xrTableCell47.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell47.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell47.Multiline = true;
            this.xrTableCell47.Name = "xrTableCell47";
            this.xrTableCell47.StylePriority.UseBorders = false;
            this.xrTableCell47.StylePriority.UseFont = false;
            this.xrTableCell47.Text = "Dưới 6 tháng\r\n";
            this.xrTableCell47.Weight = 0.52849406182767555D;
            //
            // xrTableCell16
            //
            this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell16.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell16.Name = "xrTableCell16";
            this.xrTableCell16.StylePriority.UseBorders = false;
            this.xrTableCell16.StylePriority.UseFont = false;
            this.xrTableCell16.Text = "Từ 6 tháng đến 1 năm";
            this.xrTableCell16.Weight = 0.52199970517623673D;
            //
            // xrTableCell21
            //
            this.xrTableCell21.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell21.Name = "xrTableCell21";
            this.xrTableCell21.StylePriority.UseFont = false;
            this.xrTableCell21.Text = "Từ 1 đến 3 năm";
            this.xrTableCell21.Weight = 0.5959739941962805D;
            //
            // xrTableCell23
            //
            this.xrTableCell23.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell23.Name = "xrTableCell23";
            this.xrTableCell23.StylePriority.UseFont = false;
            this.xrTableCell23.Text = "Trên 3 năm";
            this.xrTableCell23.Weight = 0.63364811523425923D;
            //
            // xrTableCell25
            //
            this.xrTableCell25.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell25.Name = "xrTableCell25";
            this.xrTableCell25.StylePriority.UseFont = false;
            this.xrTableCell25.Text = "Tổng";
            this.xrTableCell25.Weight = 0.32929313586268516D;
            //
            // xrLabel2
            //
            this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Top;
            this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel2.Name = "xrLabel2";
            this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel2.SizeF = new System.Drawing.SizeF(418.5F, 28.64586F);
            this.xrLabel2.StylePriority.UseBorders = false;
            this.xrLabel2.StylePriority.UseFont = false;
            this.xrLabel2.Text = "Thâm niên";
            //
            // xrTableCell2
            //
            this.xrTableCell2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable3,
            this.xrLabel3});
            this.xrTableCell2.Name = "xrTableCell2";
            this.xrTableCell2.Weight = 0.94857011070110719D;
            //
            // xrTable3
            //
            this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
            | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable3.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.64586F);
            this.xrTable3.Name = "xrTable3";
            this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow4});
            this.xrTable3.SizeF = new System.Drawing.SizeF(514.1251F, 57.81248F);
            this.xrTable3.StylePriority.UseBorders = false;
            this.xrTable3.StylePriority.UseFont = false;
            this.xrTable3.StylePriority.UseTextAlignment = false;
            this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrTableRow4
            //
            this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell18,
            this.xrTableCell11,
            this.xrTableCell20,
            this.xrTableCell12,
            this.xrTableCell22,
            this.xrTableCell24,
            this.xrTableCell13});
            this.xrTableRow4.Name = "xrTableRow4";
            this.xrTableRow4.Weight = 1D;
            //
            // xrTableCell18
            //
            this.xrTableCell18.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell18.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell18.Name = "xrTableCell18";
            this.xrTableCell18.StylePriority.UseBorders = false;
            this.xrTableCell18.StylePriority.UseFont = false;
            this.xrTableCell18.Text = "Sau đại học";
            this.xrTableCell18.Weight = 0.39059098770286288D;
            //
            // xrTableCell11
            //
            this.xrTableCell11.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell11.Name = "xrTableCell11";
            this.xrTableCell11.StylePriority.UseFont = false;
            this.xrTableCell11.Text = "Đại học";
            this.xrTableCell11.Weight = 0.47811816192560186D;
            //
            // xrTableCell20
            //
            this.xrTableCell20.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell20.Name = "xrTableCell20";
            this.xrTableCell20.StylePriority.UseFont = false;
            this.xrTableCell20.Text = "Cao đẳng";
            this.xrTableCell20.Weight = 0.506078407070569D;
            //
            // xrTableCell12
            //
            this.xrTableCell12.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell12.Name = "xrTableCell12";
            this.xrTableCell12.StylePriority.UseFont = false;
            this.xrTableCell12.Text = "Trung cấp";
            this.xrTableCell12.Weight = 0.47933364348249885D;
            //
            // xrTableCell22
            //
            this.xrTableCell22.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell22.Name = "xrTableCell22";
            this.xrTableCell22.StylePriority.UseFont = false;
            this.xrTableCell22.Text = "PTTH";
            this.xrTableCell22.Weight = 0.52431332952990073D;
            //
            // xrTableCell24
            //
            this.xrTableCell24.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell24.Name = "xrTableCell24";
            this.xrTableCell24.StylePriority.UseFont = false;
            this.xrTableCell24.Text = "Khác";
            this.xrTableCell24.Weight = 0.37156547028856673D;
            //
            // xrTableCell13
            //
            this.xrTableCell13.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell13.Name = "xrTableCell13";
            this.xrTableCell13.StylePriority.UseFont = false;
            this.xrTableCell13.Text = "Tổng";
            this.xrTableCell13.Weight = 0.25D;
            //
            // xrLabel3
            //
            this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
            this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel3.SizeF = new System.Drawing.SizeF(514.1249F, 28.64586F);
            this.xrLabel3.StylePriority.UseBorders = false;
            this.xrLabel3.StylePriority.UseFont = false;
            this.xrLabel3.Text = "Trình độ";
            //
            // xrTableCell9
            //
            this.xrTableCell9.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2,
            this.xrLabel4});
            this.xrTableCell9.Name = "xrTableCell9";
            this.xrTableCell9.Weight = 0.34432668087667206D;
            //
            // xrTable2
            //
            this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
            | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(3.051758E-05F, 28.64586F);
            this.xrTable2.Name = "xrTable2";
            this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2});
            this.xrTable2.SizeF = new System.Drawing.SizeF(186.625F, 57.81247F);
            this.xrTable2.StylePriority.UseBorders = false;
            //
            // xrTableRow2
            //
            this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell6,
            this.xrTableCell7,
            this.xrTableCell8});
            this.xrTableRow2.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableRow2.Name = "xrTableRow2";
            this.xrTableRow2.StylePriority.UseFont = false;
            this.xrTableRow2.Weight = 1D;
            //
            // xrTableCell6
            //
            this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell6.Name = "xrTableCell6";
            this.xrTableCell6.StylePriority.UseBorders = false;
            this.xrTableCell6.Text = "Nam";
            this.xrTableCell6.Weight = 1D;
            //
            // xrTableCell7
            //
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.Text = "Nữ";
            this.xrTableCell7.Weight = 1D;
            //
            // xrTableCell8
            //
            this.xrTableCell8.Name = "xrTableCell8";
            this.xrTableCell8.Text = "Tổng";
            this.xrTableCell8.Weight = 1D;
            //
            // xrLabel4
            //
            this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
            this.xrLabel4.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel4.SizeF = new System.Drawing.SizeF(186.6251F, 28.64586F);
            this.xrLabel4.StylePriority.UseBorders = false;
            this.xrLabel4.StylePriority.UseFont = false;
            this.xrLabel4.Text = "Giới tính";
            //
            // xrTableCell1
            //
            this.xrTableCell1.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell1.Name = "xrTableCell1";
            this.xrTableCell1.StylePriority.UseFont = false;
            this.xrTableCell1.StylePriority.UseTextAlignment = false;
            this.xrTableCell1.Text = "Mã phòng ban";
            this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCell1.Weight = 0.17024138052965004D;
            //
            // xrTableCell5
            //
            this.xrTableCell5.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell5.Name = "xrTableCell5";
            this.xrTableCell5.StylePriority.UseFont = false;
            this.xrTableCell5.StylePriority.UseTextAlignment = false;
            this.xrTableCell5.Text = "Phòng ban";
            this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCell5.Weight = 0.27786747555891089D;
            //
            // xrTableCell4
            //
            this.xrTableCell4.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell4.Name = "xrTableCell4";
            this.xrTableCell4.StylePriority.UseFont = false;
            this.xrTableCell4.StylePriority.UseTextAlignment = false;
            this.xrTableCell4.Text = "STT";
            this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCell4.Weight = 0.096940304520385268D;
            //
            // xrTableRow1
            //
            this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell4,
            this.xrTableCell5,
            this.xrTableCell1,
            this.xrTableCell9,
            this.xrTableCell2,
            this.xrTableCell3,
            this.xrTableCell26});
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.Weight = 3.4583334350585937D;
            //
            // xrTable1
            //
            this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
            | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0.750042F, 0F);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1});
            this.xrTable1.SizeF = new System.Drawing.SizeF(1625.25F, 86.45834F);
            this.xrTable1.StylePriority.UseBorders = false;
            //
            // PageHeader
            //
            this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable6,
            this.xrTable1});
            this.PageHeader.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.PageHeader.HeightF = 122F;
            this.PageHeader.Name = "PageHeader";
            this.PageHeader.StylePriority.UseFont = false;
            this.PageHeader.StylePriority.UseTextAlignment = false;
            this.PageHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrTable6
            //
            this.xrTable6.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable6.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0.7499616F, 86.45834F);
            this.xrTable6.Name = "xrTable6";
            this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow5});
            this.xrTable6.SizeF = new System.Drawing.SizeF(1625.25F, 35.41666F);
            this.xrTable6.StylePriority.UseBorders = false;
            this.xrTable6.StylePriority.UseFont = false;
            //
            // xrTableRow5
            //
            this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell17,
            this.xrTableCell29,
            this.xrTableCell30,
            this.xrTableCell31,
            this.xrTableCell32,
            this.xrTableCell33,
            this.xrTableCell34,
            this.xrTableCell35,
            this.xrTableCell36,
            this.xrTableCell37,
            this.xrTableCell38,
            this.xrTableCell39,
            this.xrTableCell27,
            this.xrTableCell48,
            this.xrTableCell40,
            this.xrTableCell42,
            this.xrTableCell43,
            this.xrTableCell44,
            this.xrTableCell45,
            this.xrTableCell46,
            this.xrTableCell28});
            this.xrTableRow5.Name = "xrTableRow5";
            this.xrTableRow5.Weight = 1D;
            //
            // xrTableCell17
            //
            this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell17.Name = "xrTableCell17";
            this.xrTableCell17.StylePriority.UseBorders = false;
            this.xrTableCell17.Text = "1";
            this.xrTableCell17.Weight = 0.096985201270117144D;
            //
            // xrTableCell29
            //
            this.xrTableCell29.Name = "xrTableCell29";
            this.xrTableCell29.Text = "2";
            this.xrTableCell29.Weight = 0.27938013292426167D;
            //
            // xrTableCell30
            //
            this.xrTableCell30.Name = "xrTableCell30";
            this.xrTableCell30.Text = "3";
            this.xrTableCell30.Weight = 0.16893544744994166D;
            //
            // xrTableCell31
            //
            this.xrTableCell31.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell31.Name = "xrTableCell31";
            this.xrTableCell31.StylePriority.UseBorders = false;
            this.xrTableCell31.Text = "4";
            this.xrTableCell31.Weight = 0.11621285277024689D;
            //
            // xrTableCell32
            //
            this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell32.Name = "xrTableCell32";
            this.xrTableCell32.StylePriority.UseBorders = false;
            this.xrTableCell32.Text = "5";
            this.xrTableCell32.Weight = 0.11344427681761393D;
            //
            // xrTableCell33
            //
            this.xrTableCell33.Name = "xrTableCell33";
            this.xrTableCell33.Text = "6";
            this.xrTableCell33.Weight = 0.11482850846245254D;
            //
            // xrTableCell34
            //
            this.xrTableCell34.Name = "xrTableCell34";
            this.xrTableCell34.Text = "7";
            this.xrTableCell34.Weight = 0.123558256556815D;
            //
            // xrTableCell35
            //
            this.xrTableCell35.Name = "xrTableCell35";
            this.xrTableCell35.Text = "8";
            this.xrTableCell35.Weight = 0.15124562285053164D;
            //
            // xrTableCell36
            //
            this.xrTableCell36.Name = "xrTableCell36";
            this.xrTableCell36.Text = "9";
            this.xrTableCell36.Weight = 0.16009090482555993D;
            //
            // xrTableCell37
            //
            this.xrTableCell37.Name = "xrTableCell37";
            this.xrTableCell37.Text = "10";
            this.xrTableCell37.Weight = 0.15163037487588063D;
            //
            // xrTableCell38
            //
            this.xrTableCell38.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell38.Name = "xrTableCell38";
            this.xrTableCell38.StylePriority.UseBorders = false;
            this.xrTableCell38.Text = "11";
            this.xrTableCell38.Weight = 0.16585937891899849D;
            //
            // xrTableCell39
            //
            this.xrTableCell39.Name = "xrTableCell39";
            this.xrTableCell39.Text = "12";
            this.xrTableCell39.Weight = 0.11753946075144595D;
            //
            // xrTableCell27
            //
            this.xrTableCell27.Name = "xrTableCell27";
            this.xrTableCell27.Text = "13";
            this.xrTableCell27.Weight = 0.079083650767885691D;
            //
            // xrTableCell48
            //
            this.xrTableCell48.Name = "xrTableCell48";
            this.xrTableCell48.Text = "14";
            this.xrTableCell48.Weight = 0.156457074512575D;
            //
            // xrTableCell40
            //
            this.xrTableCell40.Name = "xrTableCell40";
            this.xrTableCell40.Text = "15";
            this.xrTableCell40.Weight = 0.15453414318470235D;
            //
            // xrTableCell42
            //
            this.xrTableCell42.Name = "xrTableCell42";
            this.xrTableCell42.Text = "17";
            this.xrTableCell42.Weight = 0.17643424449123216D;
            //
            // xrTableCell43
            //
            this.xrTableCell43.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell43.Name = "xrTableCell43";
            this.xrTableCell43.StylePriority.UseBorders = false;
            this.xrTableCell43.Text = "18";
            this.xrTableCell43.Weight = 0.1875867504758883D;
            //
            // xrTableCell44
            //
            this.xrTableCell44.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell44.Name = "xrTableCell44";
            this.xrTableCell44.StylePriority.UseBorders = false;
            this.xrTableCell44.Text = "19";
            this.xrTableCell44.Weight = 0.098869066718101015D;
            //
            // xrTableCell45
            //
            this.xrTableCell45.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
            this.xrTableCell45.Name = "xrTableCell45";
            this.xrTableCell45.StylePriority.UseBorders = false;
            this.xrTableCell45.Text = "20";
            this.xrTableCell45.Weight = 0.12772396494289337D;
            //
            // xrTableCell46
            //
            this.xrTableCell46.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell46.Name = "xrTableCell46";
            this.xrTableCell46.StylePriority.UseBorders = false;
            this.xrTableCell46.Text = "21";
            this.xrTableCell46.Weight = 0.12910859266843566D;
            //
            // xrTableCell28
            //
            this.xrTableCell28.Name = "xrTableCell28";
            this.xrTableCell28.Text = "22";
            this.xrTableCell28.Weight = 0.13049209376442086D;
            //
            // rp_DanhSachNhanVienNghiViecTheoPhongBan
            //
            this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.ReportHeader,
            this.PageHeader,
            this.GroupHeader1,
            this.ReportFooter});
            this.Landscape = true;
            this.Margins = new System.Drawing.Printing.Margins(14, 14, 49, 100);
            this.PageHeight = 1169;
            this.PageWidth = 1654;
            this.PaperKind = System.Drawing.Printing.PaperKind.A3;
            this.Version = "10.1";
            ((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

	}

	#endregion
}


text:
class MonthController {
  constructor($stateParams, $scope, $timeout, $modal, MovementsRepository, Statistics, Restangular, Movement) {
    this.$timeout = $timeout;
    this.$modal = $modal;
    this.Movement = Movement;
    this.Restangular = Restangular;
    this.month = $stateParams.month;
    this.stat = Statistics.outgoingByCategoryByMonth;

    this.movements = MovementsRepository;
    this.filteredMovements = [];
    this.categories = [];
    this.total = 0;
    this.selectedItems = [];

    if (this.movements.all.length > 0) {
      this.initData();
    }

    $scope.$watch('ctrl.movements.all', (movements, oldValue) => {
      if (movements === oldValue) {
        return;
      }
      this.stat.refresh();
      this.initData();
    });
  }

  initData() {
    var ctrl = this;

    this.registerCategoriesStyles(this.stat.categories);

    var monthIndex = _.findIndex(this.stat.months, function(month) {
      return month.id === ctrl.month;
    });
    if (monthIndex === -1) {
      return;
    }

    this.categories = this.stat.categories.map((category) => {
      var cat = angular.copy(category);
      cat.monthTotal = category.data[monthIndex];
      return cat;
    }).filter((category) => {
      return category.monthTotal > 0;
    });

    var categoriesOrder = {};
    this.categories.forEach(function(category, index) {
      categoriesOrder[category._id] = index + 1;
    });

    var movements = this.movements.all.filter((movement) => {
      return movement.date.format('YYYY-MM') === ctrl.month; /*movement.direction === 'out'
        && movement.date.format('YYYY-MM') === ctrl.month
        && (!movement.destination || 'bank_account' !== movement.destination.type)*/;
    });
    movements.sort(function(movA, movB) {
      var catA = movA.category ? movA.category._id : null;
      var catB = movB.category ? movB.category._id : null;
      if (catA === catB || !categoriesOrder[catA] && !categoriesOrder[catB]) {
        return movB.date.diff(movA.date);
      } else if (!categoriesOrder[catB]) {
        return -1;
      } else if (!categoriesOrder[catA]) {
        return 1;
      } else if (categoriesOrder[catA] > categoriesOrder[catB]) {
        return 1;
      } else {
        return -1;
      }
    });
    this.filteredMovements = movements;

    this.total = this.categories.reduce((sum, category) => sum + category.monthTotal, 0);

    this.$timeout(function() {
      ctrl.updateFunnel();
    });
  }

  registerCategoriesStyles(categories) {
    var sheet = (function() {
      var style = document.createElement("style");
      // WebKit hack :(
      style.appendChild(document.createTextNode(""));
      document.head.appendChild(style);
      return style.sheet;
    })();
    categories.forEach(function(category, index) {
      var hsl = tinycolor(category.color).toHsl();
      hsl.s = Math.max(hsl.s, hsl.s - 0.4);
      hsl.l = 0.95;
      var color = tinycolor(hsl);
      sheet.insertRule('#monthView table.table-movements tr[category="' + category._id + '"] {background-color: ' + color.toString() + '}', index);
    });
  }

  updateFunnel() {
    var $el = $('#monthView');
    var categories = $el.find('.categories > div');
    var rows = $el.find('tbody > tr').toArray();
    var movements = [].concat(this.filteredMovements);

    var items = this.categories.map((category, index) => {
      var catEl = categories.eq(index);
      var pos = catEl.position();
      var funnelItem = {
        color: category.color,
        left: {
          from: pos.top,
          to: pos.top + catEl.height()
        }
      };

      var catRows = [];
      if (category._id) {
        while (movements.length > 0 && movements[0].category && movements[0].category._id === category._id) {
          catRows.push(rows.shift());
          movements.shift();
        }
      } else {
        while (movements.length > 0 && !movements[0].category) {
          catRows.push(rows.shift());
          movements.shift();
        }
      }

      funnelItem.right = {
        from: $(catRows[0]).position().top + 1
      };
      var rowsHeight = catRows.reduce((totalHeight, row) => {
          return totalHeight + $(row).height();
        }, 0) - 1;
      funnelItem.right.to = funnelItem.right.from + rowsHeight;

      return funnelItem;
    });

    var funnelEl = $el.find('.funnel').empty();
    var size = {width: funnelEl.width(), height: funnelEl.height()};

    var paper = Raphael(funnelEl[0]);
    var paths = items.map((item) => {
      var pathString = 'M' + 0 + ',' + item.left.from + 'L' + size.width + ',' + item.right.from
        + 'L' + size.width + ',' + item.right.to + 'L' + 0 + ',' + item.left.to + 'Z';
      var path = paper.path(pathString);
      path.attr({
        fill: item.color,
        stroke: 'transparent'
      });
      return path;
    });

    var updateFunnel = function() {
      var scrollTop = $el.find('.main-box')[0].scrollTop;
      var newSize = {width: size.width, height: funnelEl.height()};
      if (newSize.height !== size.height) {
        paper.setSize(newSize.width, newSize.height);

        // update from
        items.forEach(function(item, index) {
          var catEl = categories.eq(index);
          var pos = catEl.position();
          item.left.from = pos.top;
          item.left.to = pos.top + catEl.height();
        });
      }
      paths.forEach(function(path, index) {
        var item = items[index];
        var pathString = 'M' + 0 + ',' + item.left.from + 'L' + newSize.width + ',' + (item.right.from - scrollTop)
          + 'L' + newSize.width + ',' + (item.right.to - scrollTop) + 'L' + 0 + ',' + item.left.to + 'Z';
        path.attr('path', pathString);
      });
    };

    $('.main-box').on('scroll', updateFunnel);
    $(window).resize(_.debounce(updateFunnel, 250));
  }

  toggleAllSelection() {
    if (this.selectedItems.length < this.filteredMovements.length) {
      this.selectedItems = [].concat(this.filteredMovements);
    } else {
      this.selectedItems = [];
    }
  }

  createInverseOfSelected() {
    let Movement = this.Movement;
    let selected = this.selectedItems[0];

    if ((selected.direction === Movement.DIRECTION_IN && !selected.source)
        || (selected.direction === Movement.DIRECTION_OUT && !selected.destination)) {
      swal({
        title: 'Seleziona un movimento che abbia una sorgente o una destinazione per invertirlo.',
        type: 'warning'
      });

      return;
    }

    let inverse = this.movements.createInverse(selected);
    this.editMovement(inverse);
  }

  deleteSelected(message) {
    message = message || 'Eliminare i movimenti selezionati?';
    swal({
      title: message,
      type: 'warning',
      allowOutsideClick: true,
      showCancelButton: true,
      confirmButtonColor: '#DD6B55',
      confirmButtonText: 'Elimina ' + this.selectedItems.length + ' movimenti',
      cancelButtonText: 'Annulla'
    }, (isConfirm) => {
      if (isConfirm) {
        for (let movement of this.selectedItems) {
          this.movements.remove(movement);
        }
      }
    });
  }

  mergeSelected() {
    // can only be from the same account
    if (_.uniq(_.pluck(this.selectedItems, 'account')).length > 1) {
      sweetAlert('Oops..', 'Non puoi unire movimenti di conti diversi, seleziona solo movimenti dello stesso conto.');
      return;
    }

    // build a new movement from the selected ones
    var amount = this.selectedItems.reduce((total, movement) => total + movement.amount, 0);
    if (amount.toFixed(2) === '0.00') {
      return this.deleteSelected('L\'unione degli elementi selezionati dà somma 0, vuoi eliminarli invece di unirli?');
    }

    var Movement = this.Movement;
    var newMovement = new Movement();
    newMovement.date = this.selectedItems[0].date;
    newMovement.executionDate = this.selectedItems[0].executionDate;
    newMovement.amount = amount;
    newMovement.direction = (amount > 0) ? Movement.DIRECTION_IN : Movement.DIRECTION_OUT;
    newMovement.account = this.selectedItems[0].account;
    newMovement.originatedBy = Movement.ORIGINATED_BY_MERGE;
    newMovement.originatedFrom = [].concat(this.selectedItems);
    newMovement.description = _.pluck(this.selectedItems, 'description').join('\n\n');
    newMovement.category = this.selectedItems.reduce(function(cat, movement) {
      if (!movement.category) {
        return cat;
      }
      if (_.isUndefined(cat)) {
        return movement.category;
      } else if (cat === movement.category) {
        return cat;
      } else {
        return null;
      }
    }, undefined);
    if (Movement.DIRECTION_IN === newMovement.direction) {
      newMovement.source = this.selectedItems.reduce((result, movement) => {
        if (!movement.source) {
          return result;
        }
        if (_.isUndefined(result)) {
          return movement.source;
        } else if (result === movement.source) {
          return result;
        } else {
          return null;
        }
      }, undefined);
    } else {
      newMovement.destination = this.selectedItems.reduce((result, movement) => {
        if (!movement.destination) {
          return result;
        }
        if (_.isUndefined(result)) {
          return movement.destination;
        } else if (result === movement.destination) {
          return result;
        } else {
          return null;
        }
      }, undefined);
    }

    this.editMovement(newMovement);
  }

  editMovement(movement) {
    var Restangular = this.Restangular;
    var isNew = !movement._id;
    var modal = this.$modal.open({
      templateUrl: 'components/edit_modal.html',
      controller: 'EditModalController as ctrl',
      size: 'lg',
      windowClass: ['edit-modal'],
      backdrop: 'static',
      resolve: {
        movement: () => {
          // copy the angular movement, mantaining the references to other objects
          // TODO: move this into the Movement model class?
          let copy = null;
          const LINK_FIELDS = [
            'document', 'account', 'category', 'source',
            'sourceMovement', 'destination', 'destinationMovement',
            'originatedFrom'];

          var savedFields = {};
          for (let fieldName of LINK_FIELDS) {
            savedFields[fieldName] = movement[fieldName];
            movement[fieldName] = null;
          }
          if (isNew) {
            copy = angular.copy(movement);
          } else {
            copy = Restangular.copy(movement);
          }
          for (let fieldName of LINK_FIELDS) {
            copy[fieldName] = savedFields[fieldName];
            movement[fieldName] = savedFields[fieldName];
          }
          return copy;
        }
      }
    });

    return modal.result.then((editedMovement) => {
      if (editedMovement.category && editedMovement.category._isNew) {
        return this.categories.add(editedMovement.category).then(function(newCategory) {
          editedMovement.category = newCategory;
          return editedMovement;
        });
      } else {
        return editedMovement;
      }
    }).then((editedMovement) => {
      if (isNew) {
        // argh...
        return this.movements.add(editedMovement).then(() => {
          if (editedMovement.originatedBy === 'merge' && editedMovement.originatedFrom) {
            for (let originalMovement of editedMovement.originatedFrom) {
              this.movements.remove(originalMovement);
            }
          }
        });
      } else {
        return this.movements.save(editedMovement);
      }
    });
  }

}
MonthController.$inject = ['$stateParams', '$scope', '$timeout', '$modal', 'MovementsRepository', 'Statistics', 'Restangular', 'Movement'];

export default MonthController;

redpajama_set_name: RedPajamaGithub


text:
package com.github.quoctrung66.osmnavigation.Handler.OpenstreetmapAPI;

import com.github.quoctrung66.osmnavigation.Handler.XMLLoader;
import com.github.quoctrung66.osmnavigation.Helper.Constant;
import com.github.quoctrung66.osmnavigation.Model.NodeStreet;
import com.github.quoctrung66.osmnavigation.Model.WayStreet;

import org.w3c.dom.Document;
import org.w3c.dom.NodeList;

import java.util.ArrayList;

/**
 * Created by QUOC TRUNG on 5/22/2016.
 */
public class StreetDetailParser {
    public WayStreet StreetDetail(String way_id){
        String url = Constant.DETAIL_STREET_QUERY + way_id + "/full";
        XMLLoader xmlLoader = new XMLLoader();
        WayStreet wayStreet = new WayStreet(way_id);
        ArrayList<NodeStreet> nodes = new ArrayList<>();
        try {
            Document document = xmlLoader.getXmlDoc(url);
            NodeList nodeList = document.getElementsByTagName("node");
            ArrayList<NodeStreet> listNodeStreet = new ArrayList<>();
            for (int i = 0; i < nodeList.getLength(); i++){
                String id = nodeList.item(i).getAttributes().getNamedItem("id").getNodeValue();
                String lat = nodeList.item(i).getAttributes().getNamedItem("lat").getNodeValue();
                String lon = nodeList.item(i).getAttributes().getNamedItem("lon").getNodeValue();
                NodeStreet nodeStreet = new NodeStreet(id, lat, lon);
                listNodeStreet.add(nodeStreet);
            }
            NodeList ndList = document.getElementsByTagName("nd");
            for (int i = 0; i < ndList.getLength(); i++){
                String ndref = ndList.item(i).getAttributes().getNamedItem("ref").getNodeValue();
                for (int j = 0; j < listNodeStreet.size(); j++){
                    if (listNodeStreet.get(j).getId().equals(ndref)){
                        nodes.add(listNodeStreet.get(j));
                        break;
                    }
                }
            }
            wayStreet.setmNodeStreet(nodes);
            NodeList tagList = document.getElementsByTagName("tag");
            for (int i = 0; i < tagList.getLength(); i++){
                if (tagList.item(i).getAttributes().getNamedItem("k").getNodeValue().equals("name")){
                    wayStreet.setNameStreet(tagList.item(i).getAttributes().getNamedItem("v").getNodeValue());
                }
                if (tagList.item(i).getAttributes().getNamedItem("k").getNodeValue().equals("oneway")){
                    String oneway = tagList.item(i).getAttributes().getNamedItem("v").getNodeValue();
                    if (oneway.equals("yes")) wayStreet.setOneWay(true);
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
        }

        return wayStreet;
    }
}


text:
set -e -u

echo "Running $0 as $(id)"

# Test installed python versions

# compare python sys.version_info with expected value
check_python_version()
{
    command="$1"
    expect="$2"

    echo " - testing $command, expecting '$expect'"

    "$command" -c "import sys; assert '%s.%s' % sys.version_info[:2] == '$expect'"
}

# iterate over python versions and make sure each can be executed
for py_version in $PYTHON_VERSIONS; do
    check_python_version "python$py_version" "$py_version"
done

# pypy (reports as 2.7)
check_python_version pypy 2.7


text:
import logging
from datetime import datetime
from logging import Handler, LogRecord
from pathlib import Path
from typing import ClassVar, List, Optional, Type, Union

from . import get_console
from ._log_render import LogRender, FormatTimeCallable
from .console import Console, ConsoleRenderable
from .highlighter import Highlighter, ReprHighlighter
from .text import Text
from .traceback import Traceback

class RichHandler(Handler):
    """A logging handler that renders output with Rich. The time / level / message and file are displayed in columns.
    The level is color coded, and the message is syntax highlighted.

    Note:
        Be careful when enabling console markup in log messages if you have configured logging for libraries not
        under your control. If a dependency writes messages containing square brackets, it may not produce the intended output.

    Args:
        level (Union[int, str], optional): Log level. Defaults to logging.NOTSET.
        console (:class:`~rich.console.Console`, optional): Optional console instance to write logs.
            Default will use a global console instance writing to stdout.
        show_time (bool, optional): Show a column for the time. Defaults to True.
        omit_repeated_times (bool, optional): Omit repetition of the same time. Defaults to True.
        show_level (bool, optional): Show a column for the level. Defaults to True.
        show_path (bool, optional): Show the path to the original log call. Defaults to True.
        enable_link_path (bool, optional): Enable terminal link of path column to file. Defaults to True.
        highlighter (Highlighter, optional): Highlighter to style log messages, or None to use ReprHighlighter. Defaults to None.
        markup (bool, optional): Enable console markup in log messages. Defaults to False.
        rich_tracebacks (bool, optional): Enable rich tracebacks with syntax highlighting and formatting. Defaults to False.
        tracebacks_width (Optional[int], optional): Number of characters used to render tracebacks, or None for full width. Defaults to None.
        tracebacks_extra_lines (int, optional): Additional lines of code to render tracebacks, or None for full width. Defaults to None.
        tracebacks_theme (str, optional): Override pygments theme used in traceback.
        tracebacks_word_wrap (bool, optional): Enable word wrapping of long tracebacks lines. Defaults to True.
        tracebacks_show_locals (bool, optional): Enable display of locals in tracebacks. Defaults to False.
        locals_max_length (int, optional): Maximum length of containers before abbreviating, or None for no abbreviation.
            Defaults to 10.
        locals_max_string (int, optional): Maximum length of string before truncating, or None to disable. Defaults to 80.
        log_time_format (Union[str, TimeFormatterCallable], optional): If ``log_time`` is enabled, either string for strftime or callable that formats the time. Defaults to "[%x %X] ".
    """

    KEYWORDS: ClassVar[Optional[List[str]]] = [
        "GET",
        "POST",
        "HEAD",
        "PUT",
        "DELETE",
        "OPTIONS",
        "TRACE",
        "PATCH",
    ]
    HIGHLIGHTER_CLASS: ClassVar[Type[Highlighter]] = ReprHighlighter

    def __init__(
        self,
        level: Union[int, str] = logging.NOTSET,
        console: Optional[Console] = None,
        *,
        show_time: bool = True,
        omit_repeated_times: bool = True,
        show_level: bool = True,
        show_path: bool = True,
        enable_link_path: bool = True,
        highlighter: Optional[Highlighter] = None,
        markup: bool = False,
        rich_tracebacks: bool = False,
        tracebacks_width: Optional[int] = None,
        tracebacks_extra_lines: int = 3,
        tracebacks_theme: Optional[str] = None,
        tracebacks_word_wrap: bool = True,
        tracebacks_show_locals: bool = False,
        locals_max_length: int = 10,
        locals_max_string: int = 80,
        log_time_format: Union[str, FormatTimeCallable] = "[%x %X]",
    ) -> None:
        super().__init__(level=level)
        self.console = console or get_console()
        self.highlighter = highlighter or self.HIGHLIGHTER_CLASS()
        self._log_render = LogRender(
            show_time=show_time,
            show_level=show_level,
            show_path=show_path,
            time_format=log_time_format,
            omit_repeated_times=omit_repeated_times,
            level_width=None,
        )
        self.enable_link_path = enable_link_path
        self.markup = markup
        self.rich_tracebacks = rich_tracebacks
        self.tracebacks_width = tracebacks_width
        self.tracebacks_extra_lines = tracebacks_extra_lines
        self.tracebacks_theme = tracebacks_theme
        self.tracebacks_word_wrap = tracebacks_word_wrap
        self.tracebacks_show_locals = tracebacks_show_locals
        self.locals_max_length = locals_max_length
        self.locals_max_string = locals_max_string

    def get_level_text(self, record: LogRecord) -> Text:
        """Get the level name from the record.

        Args:
            record (LogRecord): LogRecord instance.

        Returns:
            Text: A tuple of the style and level name.
        """
        level_name = record.levelname
        level_text = Text.styled(
            level_name.ljust(8), f"logging.level.{level_name.lower()}"
        )
        return level_text

    def emit(self, record: LogRecord) -> None:
        """Invoked by logging."""
        message = self.format(record)
        traceback = None
        if (
            self.rich_tracebacks
            and record.exc_info
            and record.exc_info != (None, None, None)
        ):
            exc_type, exc_value, exc_traceback = record.exc_info
            assert exc_type is not None
            assert exc_value is not None
            traceback = Traceback.from_exception(
                exc_type,
                exc_value,
                exc_traceback,
                width=self.tracebacks_width,
                extra_lines=self.tracebacks_extra_lines,
                theme=self.tracebacks_theme,
                word_wrap=self.tracebacks_word_wrap,
                show_locals=self.tracebacks_show_locals,
                locals_max_length=self.locals_max_length,
                locals_max_string=self.locals_max_string,
            )
            message = record.getMessage()
            if self.formatter:
                record.message = record.getMessage()
                formatter = self.formatter
                if hasattr(formatter, "usesTime") and formatter.usesTime():
                    record.asctime = formatter.formatTime(record, formatter.datefmt)
                message = formatter.formatMessage(record)

        message_renderable = self.render_message(record, message)
        log_renderable = self.render(
            record=record, traceback=traceback, message_renderable=message_renderable
        )
        try:
            self.console.print(log_renderable)
        except Exception:
            self.handleError(record)

    def render_message(self, record: LogRecord, message: str) -> "ConsoleRenderable":
        """Render message text in to Text.

        record (LogRecord): logging Record.
        message (str): String containing log message.

        Returns:
            ConsoleRenderable: Renderable to display log message.
        """
        use_markup = (
            getattr(record, "markup") if hasattr(record, "markup") else self.markup
        )
        message_text = Text.from_markup(message) if use_markup else Text(message)
        if self.highlighter:
            message_text = self.highlighter(message_text)
        if self.KEYWORDS:
            message_text.highlight_words(self.KEYWORDS, "logging.keyword")
        return message_text

    def render(
        self,
        *,
        record: LogRecord,
        traceback: Optional[Traceback],
        message_renderable: "ConsoleRenderable",
    ) -> "ConsoleRenderable":
        """Render log for display.

        Args:
            record (LogRecord): logging Record.
            traceback (Optional[Traceback]): Traceback instance or None for no Traceback.
            message_renderable (ConsoleRenderable): Renderable (typically Text) containing log message contents.

        Returns:
            ConsoleRenderable: Renderable to display log.
        """
        path = Path(record.pathname).name
        level = self.get_level_text(record)
        time_format = None if self.formatter is None else self.formatter.datefmt
        log_time = datetime.fromtimestamp(record.created)

        log_renderable = self._log_render(
            self.console,
            [message_renderable] if not traceback else [message_renderable, traceback],
            log_time=log_time,
            time_format=time_format,
            level=level,
            path=path,
            line_no=record.lineno,
            link_path=record.pathname if self.enable_link_path else None,
        )
        return log_renderable

if __name__ == "__main__":  # pragma: no cover
    from time import sleep

    FORMAT = "%(message)s"
    # FORMAT = "%(asctime)-15s - %(levelname)s - %(message)s"
    logging.basicConfig(
        level="NOTSET",
        format=FORMAT,
        datefmt="[%X]",
        handlers=[RichHandler(rich_tracebacks=True, tracebacks_show_locals=True)],
    )
    log = logging.getLogger("rich")

    log.info("Server starting...")
    log.info("Listening on http://127.0.0.1:8080")
    sleep(1)

    log.info("GET /index.html 200 1298")
    log.info("GET /imgs/backgrounds/back1.jpg 200 54386")
    log.info("GET /css/styles.css 200 54386")
    log.warning("GET /favicon.ico 404 242")
    sleep(1)

    log.debug(
        "JSONRPC request\n--> %r\n<-- %r",
        {
            "version": "1.1",
            "method": "confirmFruitPurchase",
            "params": [["apple", "orange", "mangoes", "pomelo"], 1.123],
            "id": "194521489",
        },
        {"version": "1.1", "result": True, "error": None, "id": "194521489"},
    )
    log.debug(
        "Loading configuration file /adasd/asdasd/qeqwe/qwrqwrqwr/sdgsdgsdg/werwerwer/dfgerert/ertertert/ertetert/werwerwer"
    )
    log.error("Unable to find 'pomelo' in database!")
    log.info("POST /jsonrpc/ 200 65532")
    log.info("POST /admin/ 401 42234")
    log.warning("password was rejected for admin site.")

    def divide() -> None:
        number = 1
        divisor = 0
        foos = ["foo"] * 100
        log.debug("in divide")
        try:
            number / divisor
        except:
            log.exception("An error of some kind occurred!")

    divide()
    sleep(1)
    log.critical("Out of memory!")
    log.info("Server exited with code=-1")
    log.info("[bold]EXITING...[/bold]", extra=dict(markup=True))