The C1dExporterBase type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanPreviewOutputFile |
Overridden.
Tests whether OutputFileName()()()() can be previewed.
Calls the base implementation, if that returns false,
tries to create an instance of C1.Win.C1Preview.C1PrintPreviewDialog,
returns true if succeeds.
(Inherited from C1ExporterBase.) |
|
Clear |
Resets the internal state of the exporter and all its public properties.
(Overrides Exporter..::..Clear()()()().) |
|
ConvertEmfPlusToEmfOnly |
Indicates whether page metafiles of types EmfPlusDual and EmfPlusOnly
should be converted to EmfOnly type before exporting.
The base implementation returns false.
(Inherited from Exporter.) |
|
CopyPropertiesFromOptionsForm |
Copies the options from the specified export options form
to corresponding properties on the current exporter.
(Overrides Exporter..::..CopyPropertiesFromOptionsForm(ExportOptionsFormBase).) |
|
CopyPropertiesToOptionsForm |
Copies the properties of the current exporter to corresponding
user-editable options of the specified export options form.
(Overrides Exporter..::..CopyPropertiesToOptionsForm(ExportOptionsFormBase).) |
|
EnsureGeneratedDocument |
Makes sure the Document has been generated if it is an instance
of the C1PrintDocument or of the C1Report class.
(Inherited from Exporter.) |
|
EnumeratePages |
Processes (exports) all pages in the range to be exported.
(Inherited from Exporter.) |
|
Export(Stream) |
Exports the object specified by the Document property on the current exporter
to the specified Stream.
(Inherited from Exporter.)Note that some export formats do not support exporting to streams. Test the value returned by the CanExportToStream property on ExportProvider prior to calling this method. |
|
Export(String) |
Exports the object specified by the Document property on the current exporter
to the specified file.
(Inherited from Exporter.) |
|
GetPageFileName |
Gets the file name (with path) for the file containing the specified page.
Used only for export formats that save a page per file (e.g. TIFF).
(Inherited from Exporter.) |
|
InternalExport |
Performs export to a disk file or to a stream.
(Overrides Exporter..::..InternalExport()()()().) |
|
OnDocumentChanged |
Called after the Document property has been changed.
If you override this, make sure this base method also gets called.
(Inherited from Exporter.) |
|
PreviewOutputFile |
Overridden.
Previews OutputFileName()()()().
Tries to preview the output file, either using the OS shell or
an own instance of C1.Win.C1Preview.C1PrintPreviewDialog
if there is no shell association on the current system.
(Inherited from C1ExporterBase.) |
|
ProcessPage |
Not supported for this class.
(Inherited from C1ExporterBase.) |
|
Reset |
Resets the internal state of the exporter.
(Inherited from Exporter.) |
|
ShowOptionsDialog |
Displays a dialog that allows the user to edit the export options.
(Inherited from Exporter.) |
Properties
Name | Description | |
---|---|---|
C1DocumentFormat |
Gets a C1DocumentFormatEnum value that determines the format used to save the document.
|
|
CanChangeFontEmbedding |
Gets a value indicating whether font embedding in the exported document
can be changed. Gets false if the source document cannot be regenerated
with different font embedding settings.
|
|
Document |
Gets or sets the object representing the document that will be exported
by the current exporter's Export(String) or Export(Stream) methods.
(Inherited from Exporter.) |
|
DocumentInfo |
Gets or sets the DocumentInfo object associated with the Document
assigned to the current exporter.
(Inherited from Exporter.) |
|
DocumentInfoFormClass |
Gets or sets the type of form that is used to edit the fields of DocumentInfo class.
That form can be invoked from the export options form (OptionsFormClass).
The form's type must be assignable to DocumentInfoForm.
(Inherited from Exporter.) |
|
EmbedTrueTypeFonts |
Gets or sets a value indicating whether to embed TrueType fonts used in the source document, in the produced document.
Note that this property cannot be set if CanChangeFontEmbedding gets false.
The default value depends on the document being exported. |
|
ExportProvider |
Gets an instance of a class derived from ExportProvider
describing the export format associated with the current exporter.
That instance can be used to retrieve static information about the current export format
such as format description or default extension.
(Inherited from Exporter.) |
|
FontHandling |
Gets a FontHandling value used by this exporter.
If it is different from the document's own value, the document will be regenerated
during export.
|
|
OptionsFormClass |
Gets or sets the type of form that is used to edit export options.
That form is shown when the Export(String) or the Export(Stream) method is called
if ShowOptions is true.
The form's type must be assignable to the type specified by the DefaultOptionsFormClass
property.
(Inherited from Exporter.) |
|
OptionsFormClassName |
Gets or sets the type name of form that is used to edit export options.
That form is shown when the Export(String) or the Export(Stream) method is called
if ShowOptions is true.
The form's type must be assignable to the type specified by the DefaultOptionsFormClass
property.
(Inherited from Exporter.) |
|
OutputFiles |
Gets the list of files which were generated by the call to Export(String).
Typically exporters produce a single file (e.g. RtfExporter, XlsExporter),
but some (like HtmlExporter and EmfExporter) may produce several files all of which
can be then accessed through this property.
(Inherited from Exporter.) |
|
Preview |
Gets or sets a value indicating whether the exported document should be opened
after exporting it to a disk file (using the Export(String) method).
The application used to open the file is determined by the OS shell.
(Inherited from Exporter.) |
|
Range |
Gets or sets the range of pages that is to be exported.
(Inherited from Exporter.) |
|
RangeFormClass |
Gets or sets the type of form that is used to enter the export output range.
That form can be invoked from the export options form (OptionsFormClass).
The form's type must be assignable to OutputRangeForm.
(Inherited from Exporter.) |
|
ReferenceGraphics |
Specifies the Graphics object used by export.
For example, that Graphics can be used to convert
EmfPlusDual or EmfPlusOnly
metafiles to EmfOnly.
If this property is null, the screen device context is used.
(Inherited from Exporter.) |
|
ShowOptions |
Gets or sets a value indicating whether the options dialog should be shown to the user
before exporting the document.
(Inherited from Exporter.) |
Events
Name | Description | |
---|---|---|
LongOperation |
Occurs periodically during export.
Allows to show progress and give the end user the ability to cancel the operation.
(Inherited from Exporter.) |