Unplanned
Last Updated: 08 Oct 2024 12:13 by Andre' Hazelwood

 Replace cannot match whole word with special characters (e.g. "#", "@", "&") at the start/end.

Workaround (RegEx):

editor.ReplaceText(new Regex($"(?<=\\s|^|[\\c_]){placeholder}(?=\\s|$|[\\c_])"),"new content");

 

Unplanned
Last Updated: 12 Nov 2024 08:51 by IT
Created by: IT
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
Add support for diagrams.
Unplanned
Last Updated: 10 Dec 2024 12:48 by Filippo
PdfFormarProvider: Justified text in a table cell is cropped on export.
Unplanned
Last Updated: 13 Dec 2024 11:18 by Deepak Subhedar
Created by: Deepak Subhedar
Comments: 0
Category: WordsProcessing
Type: Feature Request
0
TxtFormatProvider: Expose Encoding settings.
Unplanned
Last Updated: 17 Jan 2025 13:25 by Yim
NetFramework: HtmlFormatProvider: VerificationException is thrown when importing specific HTML document.
Unplanned
Last Updated: 21 Jan 2025 16:20 by ADMIN

Getting an exception message when trying to view a document as a PDF using the PdfFormatProvider which started happening only after upgrading Telerik to the latest version, 7.1.0 in Telerik UI for Blazor.

Exception Message:

width should be greater or equal than 0. (Parameter 'width')

I have copied the stack trace and source of the exception below:

 

Source: Telerik.Documents.Fixed

Stack Trace:    at Telerik.Windows.Documents.Fixed.Model.Editing.Layout.ContentElementLayoutElementBase`1.DrawHighlights(DrawLayoutElementContext context)
   at Telerik.Windows.Documents.Fixed.Model.Editing.Layout.ContentElementLayoutElementBase`1.Draw(DrawLayoutElementContext context)
   at Telerik.Windows.Documents.Fixed.Model.Editing.Block.Draw(IEnumerable`1 lineElements, DrawLayoutElementContext context)
   at Telerik.Windows.Documents.Fixed.Model.Editing.Block.DrawInternal(FixedContentEditor editor, Rect boundingRect)
   at Telerik.Windows.Documents.Fixed.Model.Editing.Block.Telerik.Windows.Documents.Fixed.Model.Editing.Flow.IDrawArrangedElement.DrawArrangedElement(FixedContentEditor editor, Rect boundingRect)
   at Telerik.Windows.Documents.Fixed.Model.Editing.Flow.SectionInfo.DrawArrangedElement(IBlockElement blockElement, Double horizontalOffset, Double verticalOffset)
   at Telerik.Windows.Documents.Fixed.Model.Editing.Utils.SectionInfoExtensions.DrawArrangedElements(SectionInfo section, IList`1 elements)
   at Telerik.Windows.Documents.Fixed.Model.Editing.RadFixedDocumentEditor.Draw()
   at Telerik.Windows.Documents.Fixed.Model.Editing.RadFixedDocumentEditor.StartNewPage(SectionProperties sectionProperties)
   at Telerik.Windows.Documents.Fixed.Model.Editing.RadFixedDocumentEditor.StartNewPage()
   at Telerik.Windows.Documents.Fixed.Model.Editing.RadFixedDocumentEditor.AddBlock(IBlockElement blockElement, CancellationToken cancellationToken)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExporter.ExportSection(Section section, RadFixedDocumentEditor editor)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExporter.ExportDocument(RadFlowDocument document, RadFixedDocumentEditor editor)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExporter.ExportInternal()
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExporter.Export()
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider.ExportToFixedDocument(RadFlowDocument document, CancellationToken cancellationToken)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider.ExportOverride(RadFlowDocument document, Stream output, CancellationToken cancellationToken)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider.ExportOverride(RadFlowDocument document, Stream output)
   at Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase`1.Export(T document, Stream output)
   at Telerik.Windows.Documents.Common.FormatProviders.BinaryFormatProviderBase`1.Export(T document)

Unplanned
Last Updated: 24 Jan 2025 08:03 by Philip
NullReferenceException is thrown when importing a specific document with Track Changes.
Duplicated
Last Updated: 21 Mar 2025 10:50 by ADMIN
Created by: Sri
Comments: 1
Category: WordsProcessing
Type: Bug Report
0

Hi, we are facing the below error when trying to convert a Docx file type to PDF type using RadFlowDocument in C# (.NET core 6.0). Please can you help with this issue as soon as possible?

Error message: "Negative height, if converting in Net Standard try registering a smaller font (Parameter 'height: -17.908799999999985')"

 

C# code snippet for reference:

  BinaryFormatProviderBase<RadFlowDocument> provider;
  RadFlowDocument document;

  using (var output = new MemoryStream())
  {
      provider.Export(document, output)

  }

Unplanned
Last Updated: 18 Apr 2025 07:46 by Ed
When accessing AngleSharp.Css.Values.CssShadowValue.CssText on import, an exception is thrown: System.Security.VerificationException: 'Operation could destabilize the runtime.'