Spire.Office 8.4.0 is released

Spire.Office 8.4.0 is released

2023-04-11 06:09:37

We are excited to announce the release of Spire.Office 8.4.0. In this version, Spire.Doc supports line type setting(dashed/dotted) in shape objects and Docx2016/2019 file formats; Spire.PDF supports automatic font size setting for textbox form fields; Spire.Email 6.3.2 fixes the issue that the date of emails read was incorrect. Besides, a lot of known issues are fixed successfully in this version. More details are listed below.

In this version, the most recent versions of Spire.Doc, Spire.PDF, Spire.XLS, Spire.Presentation, Spire.Email, Spire.DocViewer, Spire.PDFViewer, Spire.Spreadsheet, Spire.OfficeViewer, Spire.DataExport, Spire.Barcode are included.

DLL Versions:

  • Spire.Doc.dll v11.4.0
  • Spire.Pdf.dll v9.4.0
  • Spire.XLS.dll v13.4.0
  • Spire.Presentation.dll v8.3.2
  • Spire.Email.dll v6.3.2
  • Spire.DocViewer.Forms.dll v8.3.0
  • Spire.PdfViewer.Forms.dll v7.10.0
  • Spire.PdfViewer.Asp.dll v7.10.0
  • Spire.Spreadsheet.dll v7.4.1
  • Spire.OfficeViewer.Forms.dll v8.4.0
  • Spire.Barcode.dll v7.2.1
  • Spire.DataExport.dll v4.8.0
  • Spire.DataExport.ResourceMgr.dll v2.1.0
Click the link to get the version Spire.Office 8.4.0:
More information of Spire.Office new release or hotfix:

Here is a list of changes made in this release

Spire.Doc

Category ID Description
New feature SPIREDOC-5044 Supports setting line types(dashed/dotted) in shape objects.
Document doc = new Document();
Section sec = doc.AddSection();
Paragraph para1 = sec.AddParagraph();
ShapeObject shape1 = para1.AppendShape(100, 100, ShapeType.Line);
shape1.FillColor = Color.Purple;
shape1.StrokeColor = Color.Black;
shape1.LineStyle = ShapeLineStyle.Single;
shape1.LineDashing = LineDashing.Dash;
doc.SaveToFile("InsertShapes.docx", Spire.Doc.FileFormat.Docx2013);
New feature SPIREDOC-8280 Supports Docx2016 and Docx2019 file formats.
Spire.Doc.FileFormat.Docx2016
Spire.Doc.FileFormat.Docx2019
Bug SPIREDOC-8289 Fixes the issue that the content was misplaced when converting Word documents to PDF.
Bug SPIREDOC-8770 Fixes the issue that the table content lost when converting Word documents to PDF.
Bug SPIREDOC-8930 Fixes the issue that the table style was incorrect after copying content from Document A to Document B.
Bug SPIREDOC-8958 Fixes the issue that the pagination was incorrect when converting Word to PDF.
Bug SPIREDOC-9081 Fixes the issue that the header content was incorrect when converting Word to PDF.
Bug SPIREDOC-9111 Fixes the issue that the application threw "System.IndexOutOfRangeException" when converting Word to PDF.
Bug SPIREDOC-9231 Fixes the issue that the application threw "System.ArgumentException" when merging Word documents.

Spire.PDF

Category ID Description
New feature SPIREPDF-5747 Supports automatic font size setting for textbox form fields.
   PdfDocument pdf = new PdfDocument();
            pdf.LoadFromFile(input);
            PdfFormWidget formWidget = pdf.Form as PdfFormWidget;
            foreach(PdfField field in formWidget.FieldsWidget.List)
            {
                if(field is PdfTextBoxFieldWidget)
                {
                    PdfTextBoxFieldWidget textBoxField = field as PdfTextBoxFieldWidget;
                    if(textBoxField.Name == "Name of the Company")
                    {
                        textBoxField.Font = new PdfTrueTypeFont(new Font("Arial", 16), true);
                        textBoxField.FontSizeAuto = true;
                        textBoxField.Text = "e-iceblue";
                    }
                }
            }
            pdf.SaveToFile(output);
Bug SPIREPDF-5785 Fixes the issue that the content overlapped after replacing text.
Bug SPIREPDF-5801 Fixes the issue that the text effect of setting adaptive font was incorrect.
Bug SPIREPDF-5804 Fixes the issue that the converted OFD file was blank when opened with Jinrui OFD reader and Chaoyue ofd reader to view the content.
Bug SPIREPDF-5825 Fixes the issue that the memory overflowed when converting PDF to images.
Bug SPIREPDF-5835 Fixes the issue that the stamp was incorrect when converting OFD to PDF.
Bug SPIREPDF-5841 Fixes the issue that the program threw AccessViolationException when converting PDF to images.
Bug SPIREPDF-5850 Fixes the issue that the value of getting new metadata is null.
Bug SPIREPDF-5852 Fixes the issue that the memory released mechanism of the PdfTrueTypeFont object.
Bug SPIREPDF-5864 Fixes the issue that the program threw System.IndexOutOfRangeException when converting OFD to PDF.
Bug SPIREPDF-5868 Fixes the issue that the colors were rendered incorrectly when converting PDF to images.
Bug SPIREPDF-5869 Fixes the issue that the “checked” property in PdfCheckBoxWidgetFieldWidget was invalid.
Bug SPIREPDF-5876 Fixes the issue that the content of the picture inside was lost when converting PDF to images.
Bug SPIREPDF-5881 Fixes the issue that the the program threw System.NullPointerException when the Galaxy Kylin ARM system extracted PDF text.

Spire.Email

Category ID Description
Bug SPIREEMAIL-65 Fixes the issue that the email date information read is correct.