I have a use case to create the excel file using RadSpreadStreamProcessing and then upload it to the blob in cloud. Could you please share me an example if we are able to do so?
Please note this is possible using RadSpreadProcessing but would like to check with RadSpreadStreamProcessing(because it is relatively fast)
Hi,
I am trying to use pdfprocession to find a certain text string on the first page
Is there a way to walk through the Page?
Dim P As RadFixedPage = Doc.Pages.Item(0)
P. ???
I have a list of RadFlowDocuments, and i need to copy all the document to one TableCell, i have tried merging the 2 RadFlowDocuments but the content adds outside the table.
How can I achive it?
Thank you!
Hello,
I use Spreadsheet Streaming to Export large Kendo MVC Grid Data - it works great except the Format of the CSV - how to Change the Delimiter, Quote or Encoding of the CSV Export?
robert
We're converting a DocX file stream to a PDF file stream but we're getting some weird results with the padding on many elements. In a clean, new document, the Margins are always 2.54cm and the individual padding of tables is completely lost. If we try to edit the Margins (even if we change to a new value and back again), the Margins then drop to 0cm from then on and the table padding is still not applied. The conversion code can be found below:
var providerDocx = new DocxFormatProvider();
var document = providerDocx.Import(response.Data.Document);
var providerPdf = new PdfFormatProvider
{
ExportSettings = new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExportSettings
{
ComplianceLevel = PdfComplianceLevel.PdfA2B,
ImageQuality = ImageQuality.High
}
};
var outStream = new MemoryStream();
providerPdf.Export(document, outStream);
Any help or insight you could provide would be appreciated.
Thanks
I'm trying to create a simple two item list, with bullets using the RadFlowDocument and RadFlowDocumentEditor.
Like this:-
I have to admit it's hard going, as the documentation leaves a lot to be desired (why do none of the examples actually end up creating anything in a document?).
I currently have:-
List list =
new
List();
newDoc.Lists.Add(list);
list.Levels[0].StartIndex = 1;
list.Levels[0].NumberingStyle = NumberingStyle.Bullet;
list.Levels[0].ParagraphProperties.LeftIndent.LocalValue = 24;
var line1= editor.InsertLine(
"Line One"
);
line1.Paragraph.ListId = list.Id;
var line2=editor.InsertLine(
"Line Two"
);
line2.Paragraph.ListId = list.Id;
This sort of works, with the two lines being indented, but no bullet character is shown.
This thing should be simple, but isn't.
Hi,
I'm trying to move individual blocks (BlockBase) from one document to another (RadFlowDocument). Unfortunately I get an error saying that the blocks I try to move are still related to their original document. This makes sense, because when creating a new block (both Paragraphs and Tables) you must pass a related document to the constructor. Same goes for all their children like Runs, Breaks, Rows etc.
Therefore my question - how can I copy a BlockBase from one RadFlowDocument to another? Is there a way to change this document relationship to another document?
Thanks in advance
Maks
Hi,
I'm evaluating the Telerik.Windows.Documents API, to replace Aspose.NET in our app, for costs reason.
One of our main need, is to open existing .docx files, and replace all bookmark and formFields in the model, by business values.
I don't find any way to iterate through bookmarks and Fields. The EnumerateChildrenOfType is not usable, as Bookmark didn't inherit from DocumentElementBase.
Aspose allow it with "Document.Range.Bookmarks.Cast<Bookmark>()", can you provide an example or an equivalent ?
Regards,
Romain Lagrange
Hi,
I have a template that is a Word 2003 format. I have converted the template to docx and inserted some bookmarks in order to have the possibility to use document processing to insert text in the template. The template is provided as is so I can not change that.
I have managed to insert text successfully at the position of the bookmark, but I can not make the list work.
Here is the code I have
private void insertListAt(string bookmarkName, IEnumerable<
string
> values)
{
if(values == null || !values.Any())
{
return;
}
var bookmark = document.EnumerateChildrenOfType<
BookmarkRangeStart
>().FirstOrDefault(rangeStart => rangeStart.Bookmark.Name == bookmarkName);
if (bookmark != null)
{
editor.MoveToParagraphStart(bookmark.Paragraph);
foreach(string value in values)
{
var line = editor.InsertLine(value);
line.Paragraph.ListId = list.Id;
line.Paragraph.ListLevel = 4;
}
}
}
but this code does not work.
The values are placed one after the other with no new line between them and the list is not applied to the items