XslFoLoadOptions

XslFoLoadOptions class

Represents options for loading/importing XSL-FO file into pdf document.

public sealed class XslFoLoadOptions : XmlLoadOptions

Constructors

Name Description
XslFoLoadOptions() Creates XslFoLoadOptions object without xsl data.
XslFoLoadOptions(Stream) Creates XslFoLoadOptions object with xsl data.
XslFoLoadOptions(string) Creates XslFoLoadOptions object with xsl data.

Properties

Name Description
BasePath { get; set; } The base path/url from which are searched relative paths to external resources (if any) referenced in loaded SVG file.
LoadFormat { get; } Represents file format which LoadOptions describes.
WarningHandler { get; set; } Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Load operation continues, however the user may also return Abort in which case the Load operation should cease.
XslStream { get; } Gets xsl data for converting xml into pdf document.
XsltArgumentList { get; set; } XsltArgumentList for inserting values into existing xls parameters XLS file has ‘animal’ parameter without value: XsltArgumentList args = new XsltArgumentList(); args.AddParam(“animal”, “”, “cat”); now the converter assumes that there is an ‘animal’ parameter with the value ‘cat’ in the XLS file.

Fields

Name Description
ParsingErrorsHandlingType Source XSLFO document can contain formatting errors. This enum enumerates possible strategies of handking of that errors

See Also