3 de abril de 2023

Las actualizaciones de abril de 2023 de Xceed aportan una mejor conversión de PDF en Words para .NET, opciones avanzadas de filtrado en DataGrid para WPF, métodos mejorados para la manipulación de rangos en Workbooks y nuevas funciones en todo el WPF Toolkit, incluidos eventos ExtendedTabControl y mejoras en Chart.

Xceed Words para .NET 2.5

  • La excepción "La operación aritmética resultó en un desbordamiento" ya no se lanza al insertar imágenes en entornos tipo Linux.
  • En Documento, llamar a un ReplaceText El método ahora ofrece la posibilidad de seleccionar si el reemplazo se realiza en los encabezados, pies de página, el cuerpo del documento o en cualquier combinación de esos contenedores.
  • En Document, al llamar a un ApplyTemplate Método cuando su parámetro includeContent está configurado en false Ya no lanza una excepción del InvalidOperationException type.
  • En Document, al cargar un documento que contiene un archivo de configuración que utiliza un nombre diferente al de settings.xml Ya no resulta en un archivo corrupto al guardar.
  • En Document, cuando un documento se inserta en otro y uno de ellos incluye una imagen con un hipervínculo, el documento final ahora incluirá el hipervínculo correcto.
  • En Paragraph, al eliminar un párrafo, también se eliminan las imágenes, gráficos y tablas asociadas con él, junto con todas las partes relacionadas y las relaciones entre ellas.
  • In Paragraph, using the InsertParagraphAfterSelf or InsertParagraphBeforeSelf methods no longer breaks the Paragraphs collection.
  • Inserting and then removing a Paragraph now removes it correctly from the Document.
  • In Paragraph, the value of the StartIndex y EndIndex properties are now calculated only when needed, thus allowing faster modifications of the Paragraph.
  • In Paragraph, inserting a new paragraph before or after the current paragraph will not return the same paragraph anymore, but will now return a new paragraph instead.
  • In Table, the Table’s width is now correctly calculated when the value of AutoFit is set to Contents and/or Window.
  • In PDF Conversion, the conversion to PDF process is now improved for Documents containing multiple Tables.
  • In PDF Conversion, Tables are now drawn after the PageBreak when a Paragraph contain both elements.
  • In PDF Conversion, converting a Header or Footer bereft of content no longer triggers an exception of the InvalidOperationException type.
  • In PDF Conversion, borders located at the right and at the bottom of Tables are now correctly drawn during the conversion process.
  • In PDF Conversion, a Paragraph with a RightToLeft TextDirection will now have a valid alignment in the final PDF.
  • In PDF Conversion, Unicode characters (like “ỗ”, for example) are now converted correctly to PDF.
  • In PDF Conversion, a Picture that uses the old .ooxml style formatting and has its WrapStyle property set to WrapBehindText will now appear behind the text in the final PDF.
  • In PDF Conversion, shapes without a z-index no longer create an Input string was not in a correct format exception.
  • In PDF Conversion, pages will no longer be missing in the final PDF document when the isParagraphKeepingLinesTogether property is set to true.
  • In PDF Conversion, CheckBoxes are now converted and shown correctly in the PDF.
  • In PDF Conversion, the text now adjusts its position in relation to the wrapped objects and is displayed correctly in the final PDF when more than one wrapped object is present on a line.
  • In PDF Conversion, the Rows will no longer overlap when a Table is displayed on multiple pages.
  • In PDF Conversion, the final PDF document will no longer have big spacings between paragraphs when values greater than 1 (Single) are used for the LineSpacing property of a Paragraph.
  • In PDF Conversion, images that are rotated by 90 degrees will now have a valid scaling value in the final PDF.
  • In PDF Conversion, adjacent Tables will no longer overlap in the final PDF.
  • In PDF Conversion, the text contained within the Cells of a Table will now keep its Alignment value when converted to PDF.
  • In PDF Conversion, a search for a specific LineSpacing value will be conducted in the current Paragraph before the default LineSpacing of 12 pt is applied when small font sizes are used in this Paragraph.
  • In PDF Conversion, the conversion no longer falls in an infinite loop when a page contains wrapped Tables/Pictures along with section breaks.
  • In PDF Conversion, texts are no longer duplicated in the final PDF when the ooxml structure contains the following pattern: text – run – text.

Xceed Workbooks para .NET 1.4

  • In Annotation, saving a Worksheet no longer throws an IOException when the Annotations are unmodified.
  • In Workbook, replacing content with a FormattedTextList now correctly replaces said content.
  • In Worksheet, a new method, called DeleteRange, can now be used to remove a range of Cells from the Worksheet.
  • In Worksheet, a new method, called InsertRange, can now be used to insert a range of Cells into the Worksheet.

Xceed DataGrid para WPF 7.2

  • It is now possible to provide multiple distinct values per data item property and filter accordingly, which allows for more complex filtering patterns.
  • In the MaterialDesign theme pack, the TreeGridflowView class no longer has a column alignment problem.
  • An exception is no longer raised when loading the “persist” settings with a CollectionView other than the DataGridCollectionView.

Xceed Toolkit Plus para WPF build 4.5.23158.14510

  • In AvalonDock, the DockingManager.PreviewDock & DockingManager.Docked events are now raised properly when docking from a LayoutContent.
  • In AvalonDock, a NullReferenceException is no longer thrown when opening a LayoutDocument as a floating window.
  • In Chart, the graduation of Ticks no longer increments until a maximum value is reached when Axis’ LabelDecimalCount property is used.
  • In Chart, the Ticks will no longer be displayed off the Chart when the range starts below 0 and ends over 0.
  • In Chart, a new property, called Area.GridBackgroundTemplate, can now be used to set a background to the Grid-only part of the Chart`s Area.
  • In CheckComboBox and CheckListBox, the Command is now executed when SelectAll o UnSelectAll is used.
  • DateTimeUpDown.TryParseDateTime() is now a protected virtual method.
  • In ExtendedTabControl, a new event, called AddTabEvent, was added for when a new TabItem is added in the control.
  • In Extended TabControl, a new event, called RemoveTabEvent, will be raised when a TabItem is removed from the control.
  • In ExtendedTabControl, it is now possible to add items of a custom type using the ItemsSource.
  • In ExtendedTabControl, an IndexOutOfRangeException is no longer thrown when the ItemsSource property or the Items collection are modified.
  • In NumericUpDowns, an invalid numeric value is no longer set on the NumericUpDown when extra numeric values are added with the keyboard while a FormatString includes special characters like %.
  • In PropertyGrid, setting the IsReadOnly property to true no longer collapses the expanded categories when the ExpandedCategoryAttribute is set to false and the categories are expanded using either code or the mouse.
  • In PropertyGrid, the order of the categories will now be respected when using CategoryOrder attributes in tandem with the CategoryPropertyOrder attribute.
  • In PropertyGrid, the values of the NumericUpDowns are now displayed correctly by UIAutomation.
  • In PropertyGrid, all the properties will now be displayed properly when using the categorized mode in .NET 7.
  • When getting the dlls from NuGet, the “wrong package” warning that appeared for System.Drawing.Common no longer appears.
  • In TokenizedTextBox, exceptions are no longer raised when text is pasted.
  • In WatermarkComboBox, the focus highlight is now showed as expected when hovering over the control.

Xceed Zip para .NET build 7.1.23156.243

  • In Zip for .NET, it is now possible to specify a code page to use for zipped items that use OEM text encoding (non-Unicode characters).
  • In Zip for .NET, it is now possible to supply a custom Text.Encoding object, which is useful when dealing with old zip archives created on machines outside of North America.
  • In Zip for .NET, corrupted zip archives are no longer generated in situations where a file’s header triggers a split.