Pending Review
Last Updated: 22 Aug 2019 06:32 by Yaroslav
Created by: Yaroslav
Comments: 0
Category: WordsProcessing
Type: Bug Report
0

Hi Guys,

Our application works with a document storage and we use RadRichTextBox to allow users edit and view the documents. Unfortunately, many documents cannot be opened due to the following exception we get:

Unable to cast object of type 'Telerik.Windows.Documents.Model.FieldRangeStart' to type 'Telerik.Windows.Documents.Model.AnnotationRangeEnd

As result we receive complains from our users. Could you please facilitate with solving it? 

I have attached a simple test application with the problematic document as well the stacktrace. 

Best regards,

Yaroslav 

Approved
Last Updated: 19 Aug 2019 07:13 by ADMIN

The construct <link rel="stylesheet" href="main.min.css" /> doesn't raise the HtmlImportSettings.LoadFromUri event on import, as we currently require type="text\css" to be specified explicitly.

According to mdn:
The common use of this attribute is to define the type of stylesheet being referenced (such as text/css), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the type attribute, but is actually now recommended practice. 


Think of improving the message of the exception we throw if no data is loaded.

Workaround: set type explicitly:
<link rel="stylesheet" type="text/csshref="main.min.css" />

Approved
Last Updated: 14 Aug 2019 08:07 by ADMIN
Currently, row/column groups cannot be collapsed/expanded through the public API. User should be able to specify row's/column's "collapsed" attribute indicating whether the outlining is in a collapsed state.
Approved
Last Updated: 12 Aug 2019 12:09 by ADMIN
Created by: Naveen
Comments: 0
Category: WordsProcessing
Type: Feature Request
2
Provide support for Track Changes.
Approved
Last Updated: 12 Aug 2019 11:07 by ADMIN
Created by: Marc
Comments: 0
Category: PdfProcessing
Type: Feature Request
3
Add support for Lab color space to allow clients to import and export documents with Lab color space.
Approved
Last Updated: 09 Aug 2019 13:35 by ADMIN
Such tags are not supported in RtfFormatProvider and while skipping them, there might be fields that are not properly imported. This can lead to issues while exporting the document. If the document is re-saved using MS Word, the HTML-related tags are removed and the content can be properly imported with WordsProcessing.
Approved
Last Updated: 08 Aug 2019 10:21 by ADMIN
Created by: Naveen
Comments: 0
Category: WordsProcessing
Type: Feature Request
2
Create a feature that allows the RadWordsProcessing to split RadFlowDocument.

Workaround: DocumentElementImporter can be used to prepare a document element from the source document for import into the target document

private static void SplitDocument(RadFlowDocument sourceDocument, RadFlowDocument targetDocument)
{
    DocumentElementImporter importer = new DocumentElementImporter(targetDocument, sourceDocument, ConflictingStylesResolutionMode.UseTargetStyle);
    Section section = sourceDocument.EnumerateChildrenOfType<Section>().First();
    Section importedSection = importer.Import(section);
    targetDocument.Sections.Add(importedSection);
 
    sourceDocument.Sections.Remove(section);
}
Approved
Last Updated: 07 Aug 2019 11:06 by ADMIN
In principle, the blend function B (Cb , Cs ) is used in the compositing formula to customize the blending operation in Adobe transparency imaging model. The blending mode may define any function which yields another result color from the backdrop and source colors. This will allow overlaying objects on each other forming a transparency stack.

Support for the Blend Mode parameter of the external graphic state should be implemented.
Approved
Last Updated: 07 Aug 2019 08:30 by ADMIN
RtfException "Group level reached negative value" is thrown when a document with an image defined as a resource but not found is imported and then exported to RTF
Approved
Last Updated: 06 Aug 2019 12:51 by ADMIN
Created by: Brittany
Comments: 0
Category: SpreadProcessing
Type: Bug Report
2
It takes ~42 seconds to remove each 100th row from a document with 50000 rows and 100 columns.
Approved
Last Updated: 05 Aug 2019 14:51 by ADMIN
When the content of a page is rotated, each glyph is exported on a new line.
Approved
Last Updated: 02 Aug 2019 10:56 by ADMIN
Exporting document with invalid bookmarks throws System.Collections.Generic.KeyNotFoundException.

The issue is caused by an invalid bookmark having missing BookmarkRangeStart/BookmarkRangeEnd elements. As a workaround iterate through document elements and find the missing BookmarkRangeStart/BookmarkRangeEnd and insert the missing range.
Approved
Last Updated: 01 Aug 2019 15:32 by ADMIN
Sometimes customers need to create documents using the CMYK colors to meet specific requirements for printing. Expose such functionality in PdfProcessing.
Approved
Last Updated: 01 Aug 2019 07:57 by ADMIN
Importing document containing TextBox widgets with NormalContentSource defining text properties, such as FontSize and Position, are exported with incorrect appearance when the value of the field is modified.
Approved
Last Updated: 26 Jul 2019 13:19 by ADMIN
Created by: David
Comments: 0
Category: PdfProcessing
Type: Feature Request
3
Currently adding an Image content element with ImageSource instantiated with a PNG file format leads to NotSupportedException: 'Can not export other than Jpeg and Jpeg2000 and ImageQuality different than High', when exporting the document.

Support for adding PNG images and exporting to PDF should be implemented for PdfProcessing for .NET Standard scenario.
Approved
Last Updated: 19 Jul 2019 08:36 by ADMIN
Created by: Bertha
Comments: 0
Category: PdfProcessing
Type: Feature Request
1
Support for exporting WMF (Windows Metafile) and EMF (Enhanced Metafile) images should be implemented.

Workaround: Convert the WMF images to PNG before exporting:
ImageSource imageSource = new ImageSource(new MemoryStream(this.ConvertWmfImageToPng(stream)));
document.Pages.AddPage().Content.AddImage(imageSource);
...
private byte[] ConvertWmfImageToPng(Stream wmfImageStream)
{
    byte[] pngBytes;
 
    using (MemoryStream pngImageStream = new MemoryStream())
    {
        System.Drawing.Image imageDrawing = System.Drawing.Image.FromStream(wmfImageStream);
        imageDrawing.Save(pngImageStream, System.Drawing.Imaging.ImageFormat.Png);
        pngBytes = pngImageStream.ToArray();
    }
 
    return pngBytes;
}

Approved
Last Updated: 07 Aug 2019 06:41 by ADMIN
When an image is placed in a table row and the document is exported to PDF the image top edge is placed at the center of the table border because the border thickness is not respected.
Approved
Last Updated: 17 Jul 2019 13:18 by ADMIN
Created by: Andres
Comments: 0
Category: WordsProcessing
Type: Feature Request
1
The .bin extension represents a binary file format which can contain images as well. When a document containing such an image is imported and exported using WordsProcessing, the image is lost and the default 'no-image' placeholder is used in its place.
Approved
Last Updated: 28 Jun 2019 11:06 by ADMIN
Currently, the chart lines support only solid fill for their outlines.
Approved
Last Updated: 28 Jun 2019 10:07 by ADMIN
The API should be able to provide a way to move the X-axis away from the 0 value on the Y-axis or to the bottom of the chart when there are negative Y-axis values.

In Excel this can be achieved by right click on the axis, then from the context menu select "Format Axis".  Go to the "Labels" group and then in the "Label position" field select the desired value.
1 2 3 4 5 6