TPartialExportState Class
This class is used to save the needed information to partially export a file.
Syntax
Unit: FlexCel.Render
TPartialExportState = class(TFlexCelObject);
Constructors
Name | Description |
---|---|
Create | Creates a new instance of TPartialExportState. |
Methods
Name | Description |
---|---|
SaveCss | Overloaded SaveCss(TFlexCelWriter) SaveCss(TFlexCelWriter, Boolean) |
SaveRelevantHeaders | This method is a middle ground between SaveCss(TFlexCelWriter) and SaveFullHeaders. It will output only the headers that you need to add to an existing HTML file in order to include the body in the body part. This means that the tags like <html> are not included. |
SaveFullHeaders | This method will output the full HTML headers needed to create an HTML file with the information in this object. If you wish to mix the output of the file with existing headers, you can use SaveRelevantHeaders instead to get only the relevant information to mix in the headers, or SaveCss(TFlexCelWriter) to get only the CSS classes that need to be put in the header. |
StartBody | Starts writing a body declaration. After calling this method, you should call SaveBody for the parts you want to save, and end up with a call to EndHtmlFile |
EndHtmlFile | Writes the "</body>" end tag in the html file and the head/html end tags. It also finalizes the parts when saving to MHTML. |
SaveBody | Use this method to output the body information on this object to an HTML page. |
GetImage | Returns one of the images for one of the saved sheets. |
Properties
Name | Description |
---|---|
BodyCount | Number of parts added to this object. |