Completed
Last Updated: 13 Nov 2024 09:27 by ADMIN
Release 2024.3.802 (2024 Q3)
Sometimes when an XLSX file has a combo chart, you can get an error on import "The axes are incorrectly paired.". This happens when a combo chart has secondary axes and the file has likely been produced by an application other than Excel.
Unplanned
Last Updated: 05 Apr 2024 10:36 by Vandana
Created by: Vandana
Comments: 0
Category: SpreadProcessing
Type: Feature Request
0
Provide support for content controls
Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)
ArgumentNullException when importing documents containing comments with no DateTime.
Unplanned
Last Updated: 20 Mar 2024 12:49 by Göran

Use the below code snippet to generate XLSX document and export it. You will notice that the export operation is extremely slow:

Stopwatch sw = new Stopwatch();
sw.Start();
IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx.XlsxFormatProvider();
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets.Add();
Worksheet worksheet2 = workbook.Worksheets.Add();
worksheet2.Name ="Days";
List<string> weekdays = new List<string>() { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"};
for (int i = 0; i < 7; i++)
{
    worksheet2.Cells[0, i].SetValue(weekdays[i]);
}

for (int i = 0; i < 200; i++)
{
    for (int j = 0; j < 10; j++)
    {

        CellIndex cellIndex = new CellIndex(i, j);
        CellSelection selection = worksheet.Cells[cellIndex];
        selection.SetValue("Wednesday");

        var context = new ListDataValidationRuleContext(worksheet, cellIndex)
        {
            InputMessageTitle = "InputMessageTitle",
            InputMessageContent = "InputMessageTitle"
        };

        context.ErrorStyle = ErrorStyle.Stop;
        context.ErrorAlertTitle = "ErrorAlertTitle";
        context.ErrorAlertContent = "ErrorAlertContent";
        context.InCellDropdown = true;
        context.Argument1 = "=Days!A0:A6"; //"Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday";
        ListDataValidationRule rule = new(context);
        worksheet.Cells[cellIndex].SetDataValidationRule(rule);
    }
}

string outputFile = @"..\..\..\output.xlsx";
File.Delete(outputFile);

using (Stream output = new FileStream(outputFile, FileMode.Create))
{

    formatProvider.Export(workbook, output);
}
sw.Stop();
Debug.WriteLine("Export " + sw.ElapsedMilliseconds);

Unplanned
Last Updated: 14 Mar 2024 10:40 by Ye
Created by: Ye
Comments: 0
Category: SpreadProcessing
Type: Feature Request
0
Unplanned
Last Updated: 11 Mar 2024 10:18 by Albert

Import an XLSX document and auto-fit the columns. Then, export the document to XLSX format.

Even though a SpreadFixedTextMeasurer is applied and a FontProvider is implemented, the columns are not wide enough to fit the content:

 

Unplanned
Last Updated: 06 Mar 2024 16:52 by Naveen
Created by: Naveen
Comments: 0
Category: SpreadProcessing
Type: Feature Request
0

XIRR function returns the internal rate of return for a schedule of cash flows that is not necessarily periodic. To calculate the internal rate of return for a series of periodic cash flows, use the IRR function.

https://support.microsoft.com/en-gb/office/xirr-function-de1242ec-6477-445b-b11b-a303ad9adc9d 

Unplanned
Last Updated: 29 Feb 2024 20:15 by Walter
Created by: Walter
Comments: 0
Category: SpreadProcessing
Type: Feature Request
1

The charts have a display blanks as property which is represented by the dispBlanksAs element. The absence of this element sometimes makes drastic difference in the way a chart might look. E.g. the following chart has a gap in its data and depending on what value dispBlanksAs has, it looks very different.

Unplanned
Last Updated: 26 Feb 2024 13:18 by Heiko
Created by: Heiko
Comments: 0
Category: SpreadProcessing
Type: Feature Request
0
In Development
Last Updated: 17 Jul 2025 09:14 by ADMIN
If the conditional formatting is missing, the copy operation is executed with no errors.
Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)

Incorrect calculation of UsedCellRange when conditional formatting is applied to a large cell range.

Workaround:

var usedCellRange = workbook.ActiveWorksheet.GetUsedCellRange(
    CellPropertyDefinitions.AllPropertyDefinitions
    .Except(
        CellPropertyDefinitions.AllPropertyDefinitions.Where(p => p.Name == "DataValidationRule" || p.Name == "ConditionalFormatting")));

 

Unplanned
Last Updated: 20 Feb 2024 09:07 by Lleonard
Empty cell of an unprotected column remains protected if it has a format set to it.
Unplanned
Last Updated: 13 Feb 2024 11:50 by G
XlsFormatProvider: Introduce support for Import/Export documents containing macros.
Declined
Last Updated: 26 Jan 2024 12:10 by ADMIN

In WorksheetPageSetup, you can only get the PageSize, but not set it. The only way is through setting a PaperType.

 

This is because in Telerik.Windows.Documents.Spreadsheet.Model.Printing.SheetPageSetupBase, the only way to set the pageSize property is by setting a PaperType, then it uses PaperTypeConverter.ToSize(PaperType) to convert it to the pageSize. I cannot see any other way to set this to a custom size set by the user.

 

Please allow custom page sizing by adding a setter for the PageSize if possible. Thank you!

 


WorksheetPageSetup pageSetup = worksheet.WorksheetPageSetup;
Size pageSize = new Size(50, 80)
pageSetup.PageSize = pageSize; // produces cs0200
pageSetup.PageSize.Width = pageSize.Width; // produces cs1612
pageSetup.PageSize.Height = pageSize.Height; // produces cs1612

Unplanned
Last Updated: 11 Jan 2024 13:59 by Dev

Use the code to import a sample txt file containing a "+" sign in a cell value:

 Workbook workbook;
 Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.TextBased.Txt.TxtFormatProvider();

 using (Stream input = new FileStream(@"sample.txt", FileMode.Open))
 {
     workbook = formatProvider.Import(input);
 }

Expected behavior: the file is imported successfully

Actual behavior: an error is thrown

 

Completed
Last Updated: 15 Jan 2024 11:02 by ADMIN
Release 2024 Q1
When a document containing charts is imported sometimes an exception is thrown: "The axes are incorrectly paired"
Completed
Last Updated: 09 Jan 2024 09:38 by ADMIN

ArgumentException  at Telerik.Windows.Documents.FormatProviders.OpenXml.Model.Elements.Theme.SystemColorElement.GetColor(IOpenXmlImportContext context)

The problematic value is val="windowText"

Unplanned
Last Updated: 22 Jul 2024 15:56 by ADMIN

Exception "Format string is not in the correct format" is thrown when importing a file with the following format string: "US$"#,##0.0"m";($#,##0.0)

The exception is thrown in the ValidateDateTimeFormatDescriptor method. 

Completed
Last Updated: 30 Oct 2023 13:22 by ADMIN
Release R3 2023 SP1
InvalidOperationException is thrown in files where the Comments part is imported after the ThreadedComments part.
Completed
Last Updated: 31 Oct 2023 06:17 by ADMIN
Release R3 2023 SP1
When a sheet is protected in an asynchronous scenario an exception is thrown: System.ArgumentException: 'An item with the same key has already been added. Key: RIPEMD-160'.