Xceed PDF Creator for .NET
Major improvements saving to PDF, including the ability to save tables in headers and footers.
Features
- Major improvements saving to PDF, including the ability to save tables in headers and footers, better table cell and list item formatting and table splitting over multiple pages.
- Ability to individually configure each section of a document (page orientation, headers/footers, margins, borders, page size).
- Creating a document when the Windows settings decimal separator is not a dot is now supported.
- Management of individual headers and footers is now possible per section.
- New SetDefaultFont method can now be used to set the default family, size and color.
- Inserting text in a bookmark can now be formatted.
- Add a list before or after a paragraph.
- Set the page orientation individually for different sections.
- The following properties can now be set to configure each section of the Document: Headers, Footers, DifferentFirstPage, MarginTop, MarginBottom, MarginLeft, MarginRight, MarginHeader, MarginFooter, MirrorMargins, PageWidth, PageHeight, PageBorders, PageLayout.
Fixes
- In Bookmark, the SetText method will now replace the text by managing all the paragraph’s runs.
- Creating pictures with big dimensions will no longer throw exceptions.
- Fixed the typo in the name of the CurrentCulture property (previously named CurentCulture).
- Setting the Kerning or PercentageScale properties will no longer throw exceptions.
- In Paragraph, using an unknown language type will no longer throw an exception.
- In Paragraph, using UnderlineColor or UnderlineStyle after inserting a string, and using AppendPicture, will now underline the string and the picture.
- In Paragraph, when a default LineRule is set in the default parameter of a document, it will now be taken into account.
- In Section, the SectionBreakType property will now correctly get/set the Xml and therefore contain the desired value.
- In Table, the default design layout ‘TableGrid’ will now be added upon creation.
- In Table, the InsertColumn method will now support inserting a column at index 0.
- In Table, using the SetTableCellMargin method will now add the desired cell margin even when a table style is used.
- A line with only tabs and images will now correctly save the tabs.
- All the tables following a paragraph will now be saved to PDF.
- Bullet lists will now use the specified bullet characters, when available in the ASCII table.
- Cell margins will now be correctly saved to PDF.
- Custom margins in the document will now be saved to PDF.
- Documents with a custom Default Paragraph Name will now use this default paragraph’s properties when saving.
- Horizontal and vertical banding will now be applied to all rows/columns in a table when specified.
- Images contained in Tables of Headers or Footers will now be saved to PDF.
- In Paragraph, the new Charts property will now be available to obtain the charts associated with a paragraph. It will also be possible to modify the values or categories of this chart’s series through new properties.
- In Xceed.Pdf, many classes and properties are now internal.
- Lines composed of images and no text will now always be saved to PDF.
- ListItems containing page breaks will no longer display their last part on the new page with a new ListItem number.
- ListItems indentations and tab spacing will now be correctly saved.
- ListItems numbers, containing text and number, will now parse the text part.
- ListItems numbers will now be correctly incremented when different lists use the same abstractNumId.
- ListItems with numbers will now correctly increment based on their txtFormat.
- Lists with no start value will no longer throw an exception.
- Merged cells will now look merged when saved.
- No more empty pages will be produced when paragraphs should be kept together and page breaks are used.
- Paragraphs with a style containing hanging indentation will now be ignored when the paragraph’s first line indentation is defined.
- Paragraphs with tables will now always use their LineSpacingAfter property to manage the spacing between the paragraph and its following tables.
- Paragraphs with ‘nil’ borders will no longer throw asserts.
- Pictures using the ‘pict’ format in OOXML will now be saved to PDF.
- Repeating the same image multiple times in a document will no longer cause an OutOfMemory exception. In addition, it will no longer increase the output document size.
- Saving all Sections of a document will now be supported.
- Section breaks of type ‘continuous’ will no longer add a new page.
- Setting a font color for a table cell will now apply the correct color.
- Table cells containing multi-line text will no longer overlap.
- Tables containing cells with more than 1 Pdf.Layout.Text.Text will now correctly split on 2 pages when needed.
- Tables containing preferred width along with defined columns width will now have their cells correctly aligned.
- Text formatting with options set to “0” will no longer apply. This is valid for hidden, italic, bold, strike, double-strike, caps and small caps formatting.
- The borders of adjoining paragraphs with different border properties will now be displayed correctly.
- The first page header will no longer be displayed when the DifferentFirstPage property is true and there is no specific header for the first page.
- The resulting PDF will now display the correct page numbers in a table of content.
- The total page number will now be correctly saved to PDF.
- The Y position of a wrapped table, relative to a paragraph, will now be calculated from the end of the preceding paragraph instead of from the start.
- Un-wrapped tables will no longer be drawn behind wrapped tables.
- Using an automatic underline color will now use the text font color for the underline color. Also, the underline width will now be proportional to the text font size.
- When a paragraph contains only an end of line character with an underline style, the underline will no longer be saved to PDF.
- When a table is split over multiple pages, it will no longer overlap the page footers.
- When more than 1 section is defined in the body of the document, the resulting PDF document will now combine them.
- When paragraphs are kept together, some of them contain tables and there is not enough space to draw all of them on the current PDF page. A new PDF page will now be added, but only when the current one is filled.
- When table column widths are defined, the resulting table in the PDF document will now be built based on these column widths.
- When TabStopPositions contains a ‘clear’ value, the corresponding tab will now be ignored, resulting in better text positioning.
- Wrapping footers will now always fit on the same PDF page.