New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Generates PDF output from the editor's HTML content using the Apoc XSL-FO engine.

Definition

Constructors

Initializes a new instance of the ApocPdfGenerator class for the specified editor.

C#
public ApocPdfGenerator(RadEditor radEditor)
Parameters:radEditorRadEditor

Properties

The content type of the editor's Page.Response object.

C#
protected override string ContentType { get; }

Overrides: RadEditorExportTemplate.ContentType

C#
public ApocDriver Driver { get; }

The ExportType object passed as an argument in the EditorExportingArgs argumet, when editor's OnExport is fired.

C#
protected override ExportType ExportType { get; }

Overrides: RadEditorExportTemplate.ExportType

The extension of the exported file.

C#
protected override string FileExtension { get; }

Overrides: RadEditorExportTemplate.FileExtension

The Encoding used in WritePageResponse method.

C#
protected override Encoding ResponseWriteEncoding { get; }

Overrides: RadEditorExportTemplate.ResponseWriteEncoding

Methods

This method is used to generate the output string, wich is generated based on the editor's content.

C#
protected override string GenerateOutput()
Returns:

string

Overrides: RadEditorExportTemplate.GenerateOutput()

C#
protected override string GetHtmlContent()
Returns:

string

Overrides: RadEditorExportTemplate.GetHtmlContent()

Make some validation modifications to the editor's content before loading it in the GetXmlDocument method.

C#
protected override string ValidateContentForExport(string content)
Parameters:contentstringReturns:

string

Overrides: RadEditorExportTemplate.ValidateContentForExport(string)