Welcome to the WinForms feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinForms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi,
after upgrading DocIO from 18.2.0.45 to 18.2.0.58 Word to Pdf conversion fails with special document content (see below). It still works in 18.2.0.46, but not in 18.2.0.47 anymore.

See attached demo for a simple sample including a working and a failing document. 


I tracked it down with two sample documents containing two rectangles each. The only difference is the position of the anchor of the rectangles. The one with both anchors on the same line fails during conversation. The one with the anchors on different lines works.


Working document:

  • Anchor of upper rectangle is on first line.
  • Anchor of lower rectangle is in second line.

Empty


Failing document:

  • Anchor of upper rectangle is on first line.
  • Anchor of lower rectangle is in first line too.

Empty


Exception:

System.FormatException: Die Eingabezeichenfolge hat das falsche Format.

   bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

   bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)

   bei Syncfusion.Layouting.LeafLayoutContext.AdjustingValueToWrap(Single margin, Single borderValue, Boolean hasBorder)

   bei Syncfusion.Layouting.LeafLayoutContext.AdjustClientAreaBasedOnTextWrap(ILeafWidget leafWidget, SizeF& size, RectangleF& rect)

   bei Syncfusion.Layouting.LeafLayoutContext.Layout(RectangleF rect)

   bei Syncfusion.Layouting.LayoutContext.LayoutTextWrapWidgets(IWidget widget)

   bei Syncfusion.Layouting.LayoutContext.CreateLayoutArea(RectangleF rect)

   bei Syncfusion.Layouting.LCContainer.Layout(RectangleF rect)

   bei Syncfusion.Layouting.LCLineContainer.DoLayoutChild(LayoutContext childContext)

   bei Syncfusion.Layouting.LCContainer.Layout(RectangleF rect)

   bei Syncfusion.Layouting.LCContainer.DoLayoutChild(LayoutContext childContext)

   bei Syncfusion.Layouting.LCContainer.Layout(RectangleF rect)

   bei Syncfusion.Layouting.LCContainer.DoLayoutChild(LayoutContext childContext)

   bei Syncfusion.Layouting.LCContainer.Layout(RectangleF rect)

   bei Syncfusion.Layouting.Layouter.Layout(IWidgetContainer widget, ILayoutProcessHandler handler, DrawingContext dc)

   bei Syncfusion.DocIO.DLS.Rendering.DocumentLayouter.LayoutPages()

   bei Syncfusion.DocIO.DLS.Rendering.DocumentLayouter.Layout(IWordDocument doc)

   bei Syncfusion.DocToPDFConverter.DocToPDFConverter.ConvertToPDF(WordDocument wordDocument)

   bei ConsoleApp1.Program.TestExport(String fileName) in C:\Users\Christian\Desktop\SyncfusionTestPdfExport - Kopie\ConsoleApp1\Program.cs:Zeile 34.


Good luck ;)
Christian