Dinko Krastev

SpreadProcessing: Add support for exporting to HTML file

Provide the customers with the ability to export workbooks to HTML files.
Feature Request by Dinko Krastev Status: Approved Comments: 0 Category: RadSpreadProcessing Last update: 2018-08-14T07:49:19 by Tanya Dimitrova
0
Tanya Dimitrova
Team Member

WordsProcessing: HtmlFormatProvider: Add support for the <footer> tag

Implement support for footers in HtmlFormatProvider.
Feature Request by Tanya Dimitrova Status: Approved Comments: 0 Category: RadWordsProcessing Last update: 2018-08-10T13:10:06 by Tanya Dimitrova
0
Deyan Yosifov
Team Member

WordsProcessing: Section columns

Introduce new section properties which are responsible for defining columns in the section.
Feature Request by Deyan Yosifov Status: Approved Comments: 2 Category: RadWordsProcessing Last update: 2018-08-07T07:33:58 by Tanya Dimitrova
0
Borislav Ivanov
Team Member

WordsProcessing: Add support for TC field on import from RTF

TC field has special tag - \tc, which is currently not supported and is skipped during import. Because of this, the argument of the field, which is hidden in MS Word, becomes part of the document content.
Feature Request by Borislav Ivanov Status: Approved Comments: 0 Category: RadWordsProcessing Last update: 2018-08-06T14:59:07 by Borislav Ivanov
0
Deyan Yosifov
Team Member

WordsProcessing: Empty paragraphs at the end of a table cell are ignored on import from RTF

When the last element in a table cell is an empty paragraph, the latter is skipped and not imported. It should be imported even if it's the only paragraph in the cell, as its properties could affect the layout and presentation (borders, colors, spacings).
Bug Report by Deyan Yosifov Status: Approved Comments: 0 Category: RadWordsProcessing Last update: 2018-08-06T14:44:18 by Borislav Ivanov
0
Tanya Dimitrova
Team Member

PdfProcessing: FileFormatException is thrown while exporting document with specific font

The exception is reproduced only with specific custom fonts and is thrown by the ComputeSubset() method of the GlyphTypeface class with the following message: "file does not conform to the expected file format specification". However, we can handle the exception and export the font data using the base class.
Bug Report by Tanya Dimitrova Status: In Development Comments: 0 Category: RadPdfProcessing Last update: 2018-08-03T15:07:19 by Tanya Dimitrova
0
Nikolay Demirev
Team Member

SpreadStreamProcessing: Add support for Filters

Provide a way to export filters.
Feature Request by Nikolay Demirev Status: Approved Comments: 1 Category: RadSpreadStreamProcessing Last update: 2018-08-02T14:49:36 by Tanya Dimitrova
0
Tanya Dimitrova
Team Member

WordsProcessing: DocxFormatProvider: NullReferenceException is thrown while importing shape with missing id attribute

Importing shape with missing id attribute leads to NullReferenceException.

<v:shape type="#_x0000_t202" filled="false" stroked="false">
Bug Report by Tanya Dimitrova Status: Approved Comments: 0 Category: RadWordsProcessing Last update: 2018-08-02T08:41:11 by Tanya Dimitrova
0
Deyan Yosifov
Team Member

PdfProcessing: InvalidOperationException is thrown when exporting empty CidSet

The exception is thrown by System.Linq.Enumerable.Max method during the CidSet calculations.

Fix available in LIB Version 2018.2.730.
Bug Report by Deyan Yosifov Status: Completed Comments: 0 Category: RadPdfProcessing Last update: 2018-08-01T10:11:28 by Petar Horozov
0
Anna Velcheva

SpreadProcessing: FitToColumn functionality should ignore vertical page breaks and FitToRow should ignore horizontal breaks

When the automatic scaling options FitToColumns and FitToRows are used, the vertical and horizontal breaks, respectively, should be ignored.

Workaround:

Remove the page breaks if the worksheet uses automatic scaling and restore them if necessary:

public void ExcelToPdf(string path)
{
var provider = new XlsxFormatProvider();
using (Stream input = File.OpenRead(path))
{
var workbook = provider.Import(input);

this.CachePageBreaks(workbook);

var pdfProvider = new PdfFormatProvider();
pdfProvider.ExportSettings = new PdfExportSettings(ExportWhat.EntireWorkbook, false);
using (Stream output = File.Open(@"C:\Users\velcheva\Desktop\26293903-c650-4d28-adee-58a542651f72_exceltopdf\exported.pdf", FileMode.Create))
{
pdfProvider.Export(workbook, output);
}

this.RestorePageBreaks(workbook);
}
}

private Dictionary<Worksheet,List<PageBreak>> verticalPageBreaksCache;

private void CachePageBreaks(Workbook workbook)
{
this.verticalPageBreaksCache = new Dictionary<Worksheet, List<PageBreak>>();

foreach (Worksheet worksheet in workbook.Worksheets)
{
WorksheetPageSetup pageSetup = worksheet.WorksheetPageSetup;

if (pageSetup.FitToPages)
{
this.verticalPageBreaksCache[worksheet] = new List<PageBreak>(pageSetup.PageBreaks.VerticalPageBreaks);

if(pageSetup.FitToPagesWide != 0)
{
List<PageBreak> breaksToRemove = new List<PageBreak>();
breaksToRemove.AddRange(pageSetup.PageBreaks.VerticalPageBreaks);

breaksToRemove.ForEach((br) => pageSetup.PageBreaks.TryRemoveVerticalPageBreak(0, br.Index));
}

// Record the horizontal page breaks if necessary.
}
}
}

private void RestorePageBreaks(Workbook workbook)
{
foreach (Worksheet worksheet in workbook.Worksheets)
{
WorksheetPageSetup pageSetup = worksheet.WorksheetPageSetup;

if (pageSetup.FitToPages)
{
List<PageBreak> cachedbreaks = this.verticalPageBreaksCache[worksheet];

if (pageSetup.FitToPagesWide != 0)
{
foreach (var pageBreak in cachedbreaks)
{
pageSetup.PageBreaks.TryInsertVerticalPageBreak(0, pageBreak.Index);
}
}

// Restore the horizontal page breaks if necessary.
}
}
}
Bug Report by Anna Velcheva Status: Approved Comments: 0 Category: RadSpreadProcessing Last update: 2018-07-31T07:27:36 by Anna Velcheva
0
Displaying items 1 - 10 of 490