/// <summary>
        /// Creates a numbered style '1.', representation along with the <see cref="description"/> provided.
        /// </summary>
        /// <param name="description">description</param>
        /// <param name="level">level</param>
        /// <param name="parentTable">parentTable</param>
        public void CreateNumberedStyle(
            string description,
            Generator.Table parentTable,
            int level = DefaultStyleLevel)
        {
            // create heading object and add set its level
            var heading = new Generator.Heading(AsposePdf, new Section(), level)
            {
                IsAutoSequence = true,
                IsInList = true,
                TextInfo =
                {
                    FontName = Properties.Resources.ArialFont,
                    FontSize = DefaultHeadingTwoFontSize
                },
                LabelPattern = ".",
                LabelFontName = Properties.Resources.ArialFont,
                LabelFontSize = DefaultHeadingTwoFontSize,
                HeadingType = HeadingType.Arab,
            };
            var segment = new Segment(heading);
            heading.Segments.Add(segment);
            segment.Content = description;

            var headingTable = new Generator.Table
            {
                ColumnWidths = Properties.Resources.ColumnSpanFourWidth
            };
            var headingTableRow = headingTable.Rows.Add();
            var headingTableRowCell = headingTableRow.Cells.Add();
            headingTableRowCell.Paragraphs.Add(heading);

            var row = parentTable.Rows.Add();
            var cell = row.Cells.Add();
            cell.ColumnsSpan = 2;
            cell.Paragraphs.Add(headingTable);
        }
 /// <summary>
 /// Creates a checkbox.
 /// </summary>
 private Generator.Heading CreateCheckBox()
 {
     var checkbox = new Generator.Heading(AsposePdf, new Section(), DefaultStyleLevel)
     {
         BulletOffset = DefaultCheckBoxOffset,
         UserLabel = Properties.Resources.DefaultBulletFiveStyle,
         TextInfo =
         {
             FontName = Properties.Resources.ArialFont,
             FontSize = DefaultHeadingTwoFontSize
         }
     };
     var segment = new Segment(checkbox)
     {
         Content = string.Empty
     };
     checkbox.Segments.Add(segment);
     return checkbox;
 }
        /// <summary>
        /// Creates a dot point '•', representation along with the <see cref="description"/> provided.
        /// </summary>
        /// <param name="description">description</param>
        /// <param name="bulletStyle">bulletStyle</param>
        /// <param name="level">level</param>
        /// <param name="parentTable">parentTable</param>
        public void CreateBulletPointStyle(
            string description,
            string bulletStyle = "",
            int level = DefaultStyleLevel,
            Generator.Table parentTable = null)
        {
            var heading = new Generator.Heading(AsposePdf, new Section(), DefaultStyleLevel)
            {
                BulletOffset = DefaultBulletPointOffset,
                UserLabel = !string.IsNullOrEmpty(bulletStyle)
                    ? bulletStyle
                    : Properties.Resources.DefaultBulletStyle,
                LabelFontSize = DefaultBulletPointFontSize,
                TextInfo =
                {
                    FontName = Properties.Resources.ArialFont,
                    FontSize = DefaultHeadingTwoFontSize
                }
            };

            var segment = new Segment(heading)
            {
                Content = description
            };
            heading.Segments.Add(segment);

            if (parentTable != null)
            {
                var row = parentTable.Rows.Add();
                var cell = row.Cells.Add();
                cell.Paragraphs.Add(heading);
            }
        }