PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview.Export Namespace / XlsExporter Class
Fields Properties Methods Events


In This Topic
    XlsExporter Class Members
    In This Topic

    The following tables list the members exposed by XlsExporter.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the XlsExporter class.  
    Top
    Protected Fields
     NameDescription
    Protected Field (Inherited from C1.C1Preview.Export.Exporter)
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating the Excel book content.  
    Public PropertyGets or sets a value indicating whether only data should be exported, ignoring visual attributes.  
    Public PropertyGets or sets a value indicating whether the export module should try to auto detect the type of data (numeric, date) in the cells.  
    Public PropertyGets or sets a value indicating whether to detect of Excel format for each text value.  
    Public PropertyGets or sets the object representing the document that will be exported by the current exporter's Exporter.Export or Exporter.Export methods. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyGets or sets the Exporter.DocumentInfo object associated with the Exporter.Document assigned to the current exporter. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyGets or sets the type of form that is used to edit the fields of Exporter.DocumentInfo class. That form can be invoked from the export options form (Exporter.OptionsFormClass). The form's type must be assignable to C1.C1Preview.Forms.DocumentInfoForm. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyOverridden. Depending on the value of the ComplexExporter.OpenXmlDocument property on the current exporter, gets ExportProviders.XlsExportProvider or ExportProviders.XlsxExportProvider.  
    Public PropertyGets or sets a value indicating whether the exported document should exactly match the appearance of the original document. Usually this can only be achieved at the cost of preserving the logical structure and/or ease of editing of the exported document. (Inherited from C1.C1Preview.Export.ComplexExporter)
    Public PropertyGets or sets the amount (in points) by which to change font sizes (may be used to better fit texts into available space).  
    Public PropertyGets or sets a value indicating whether the document should be saved in Office12 Open XML format. (Inherited from C1.C1Preview.Export.ComplexExporter)
    Public PropertyGets or sets the type of form that is used to edit export options. That form is shown when the Exporter.Export or the Exporter.Export method is called if Exporter.ShowOptions is true. The form's type must be assignable to the type specified by the ExportProvider.DefaultOptionsFormClass property. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyGets or sets the type name of form that is used to edit export options. That form is shown when the Exporter.Export or the Exporter.Export method is called if Exporter.ShowOptions is true. The form's type must be assignable to the type specified by the ExportProvider.DefaultOptionsFormClass property. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyGets the list of files which were generated by the call to Exporter.Export. 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 C1.C1Preview.Export.Exporter)
    Public PropertyGets or sets a value indicating whether to export each page of the document into a separate sheet.  
    Public PropertyGets or sets a value indicating whether the exported document should preserve the pagination of the original document. (Inherited from C1.C1Preview.Export.ComplexExporter)
    Public PropertyGets or sets a value indicating whether EMF+ metafiles should be parsed directly without converting them to EMF-only first. The default is false. Set to true if you have issues resulting from EMF+ to EMF conversion.  
    Public PropertyGets or sets a value indicating whether the exported document should be opened after exporting it to a disk file (using the Exporter.Export method). The application used to open the file is determined by the OS shell. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyGets or sets the range of pages that is to be exported. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyGets 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 (Exporter.OptionsFormClass). The form's type must be assignable to C1.C1Preview.Forms.OutputRangeForm. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertySpecifies the System.Drawing.Graphics object used by export. For example, that System.Drawing.Graphics can be used to convert System.Drawing.Imaging.EmfType.EmfPlusDual or System.Drawing.Imaging.EmfType.EmfPlusOnly metafiles to System.Drawing.Imaging.EmfType.EmfOnly. If this property is null, the screen device context is used. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyGets or sets a value indicating whether the options dialog should be shown to the user before exporting the document. (Inherited from C1.C1Preview.Export.Exporter)
    Public PropertyGets or sets the tolerance (in points) when auto-detecting the boundaries of rows and columns in the document. The smaller this amount, the greater the number of narrow rows and columns created for precise positioning of data.  
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets the output file name. This property is set when the Exporter.Export method is called. (Inherited from C1.C1Preview.Export.Exporter)
    Protected PropertyGets the output stream. This property is set when the Exporter.Export method is called. (Inherited from C1.C1Preview.Export.Exporter)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Exports the object specified by the Exporter.Document property on the current exporter to the specified file. (Inherited from C1.C1Preview.Export.Exporter)
    Public MethodDisplays a dialog that allows the user to edit the export options. (Inherited from C1.C1Preview.Export.Exporter)
    Top
    Protected Methods
     NameDescription
    Protected MethodTests whether Exporter.OutputFileName can be previewed. This (base) implementation uses FindExecutable API to find an appropriate executable, and returns a value indicating whether it has been found or not.

    If you override this, you must also override Exporter.PreviewOutputFile.

    (Inherited from C1.C1Preview.Export.Exporter)
    Protected MethodOverridden. Resets the internal state of the exporter and all its public properties.  
    Protected MethodIndicates whether page metafiles of types System.Drawing.Imaging.EmfType.EmfPlusDual and System.Drawing.Imaging.EmfType.EmfPlusOnly should be converted to System.Drawing.Imaging.EmfType.EmfOnly type before exporting. The base implementation returns false. (Inherited from C1.C1Preview.Export.Exporter)
    Protected MethodOverridden. Copies the options from the specified export options form to corresponding properties on the current exporter.  
    Protected MethodOverridden. Copies the properties of the current exporter to corresponding user-editable options of the specified export options form.  
    Protected MethodMakes sure the Exporter.Document has been generated if it is an instance of the C1.C1Preview.C1PrintDocument class. (Inherited from C1.C1Preview.Export.Exporter)
    Protected MethodProcesses (exports) all pages in the range to be exported. (Inherited from C1.C1Preview.Export.Exporter)
    Protected MethodGets 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 C1.C1Preview.Export.Exporter)
    Protected MethodCalled after the Exporter.Document property has been changed. If you override this, make sure this base method also gets called. (Inherited from C1.C1Preview.Export.Exporter)
    Protected Method (Inherited from C1.C1Preview.Export.Exporter)
    Protected MethodPreviews Exporter.OutputFileName. This (base) implementation uses System.Diagnostics.Process.Start() to open the output file.

    Override this if you override Exporter.CanPreviewOutputFile.

    (Inherited from C1.C1Preview.Export.Exporter)
    Protected MethodOverridden. Exports a page of a document represented by a System.Drawing.Imaging.Metafile.  
    Protected MethodOverridden. Resets the internal state of the exporter.  
    Top
    Public Events
     NameDescription
    Public EventOccurs periodically during export. Allows to show progress and give the end user the ability to cancel the operation. (Inherited from C1.C1Preview.Export.Exporter)
    Top
    See Also