回复 12楼trechina的帖子
我下载的是最新的国际版: Spread Winform 的7.2
savaExcel支持Excelsaveflags的
[Flags]
public enum ExcelSaveFlags
{
// Summary:
// [0] Saves the spreadsheet to the Excel-compatible file with no special options.
NoFlagsSet = 0,
//
// Summary:
// [1] Saves the displayed data but not the formulas to the Excel-compatible
// file.
NoFormulas = 1,
//
// Summary:
// [2] Saves the custom row headers to the Excel-compatible file.
SaveCustomRowHeaders = 2,
//
// Summary:
// [4] Saves the custom column headers to the Excel-compatible file.
SaveCustomColumnHeaders = 4,
//
// Summary:
// [6] Saves both the custom row headers and the custom column headers to the
// Excel-compatible file.
SaveBothCustomRowAndColumnHeaders = 6,
//
// Summary:
// [8] Saves the results of rows after filtering them to the Excel-compatible
// file.
SaveAsFiltered = 8,
//
// Summary:
// [16] Saves the spreadsheet to an Excel 2007 (OfficeOpen XML) format.
UseOOXMLFormat = 16,
//
// Summary:
// [32] Saves only the data to the Excel-compatible file.
DataOnly = 32,
//
// Summary:
// [64] Saves the appearance settings of alternating rows to the Excel-compatible
// file.
SaveAlternatingRowStyles = 64,
//
// Summary:
// [136] Saves the spreadsheet as viewed to the Excel-compatible file.
SaveAsViewed = 136,
//
// Summary:
// [256] Uses a custom color palette, and uses it for color approximations if
// there are more than 56 colors set into Spread.
UseCustomPaletteForColorApproximations = 256,
//
// Summary:
// [512] Uses the default color palette.
UseDefaultColorPalette = 512,
//
// Summary:
// [1024] Saves the displayed data and formatting, but not the notes.
NoNotes = 1024,
//
// Summary:
// [2048] Keeps Excel data that was previously loaded from the files (e.g. VBA,
// Macro).
DocumentCaching = 2048,
//
// Summary:
// [4096] The default row height is not saved. Excel will automatically determine
// row heights based on the largest font that is set in each row.
AutoRowHeight = 4096,
//
// Summary:
// [8192] Saves the displayed data in the combobox celltype, does not save the
// items in the combo box.
ComboDataOnly = 8192,
} |