Documentation ¶
Index ¶
- Constants
- func F(number float64) uintptr
- func F_P(number *float64) uintptr
- func I(number int) uintptr
- func I_P(number *int) uintptr
- func S(text string) uintptr
- func S_P(text *string) uintptr
- type AutoFilter
- func (xa *AutoFilter) Column(colId int) *FilterColumn
- func (xa *AutoFilter) ColumnByIndex(index int) *FilterColumn
- func (xa *AutoFilter) ColumnSize() int
- func (xa *AutoFilter) GetRef() (rowFirst int, rowLast int, colFirst int, colLast int)
- func (xa *AutoFilter) GetSelf() uintptr
- func (xa *AutoFilter) GetSort() (columnIndex int, descending int)
- func (xa *AutoFilter) GetSortRange() (rowFirst int, rowLast int, colFirst int, colLast int)
- func (xa *AutoFilter) SetRef(rowFirst int, rowLast int, colFirst int, colLast int)
- func (xa *AutoFilter) SetSort(columnIndex int, descending int) int
- type Book
- func (xb *Book) ActiveSheet() int
- func (xb *Book) AddCustomNumFormat(customNumFormat string) int
- func (xb *Book) AddFont() *Font
- func (xb *Book) AddFormat() *Format
- func (xb *Book) AddPicture(filename string) int
- func (xb *Book) AddPicture2(data string) int
- func (xb *Book) AddPictureAsLink(filename string, insert int) int
- func (xb *Book) AddSheet(name string, initSheet *Sheet) *Sheet
- func (xb *Book) BiffVersion() int
- func (xb *Book) ColorPack(red int, green int, blue int) int
- func (xb *Book) ColorUnpack(color int) (red int, green int, blue int)
- func (xb *Book) CreateXLS(libxlDllFilePath string)
- func (xb *Book) CreateXLSX(libxlDllFilePath string)
- func (xb *Book) CustomNumFormat(fmt int) string
- func (xb *Book) DatePack(year int, month int, day int, hour int, min int, sec int, msec int) float64
- func (xb *Book) DateUnpack(value float64, year int, month int, day int, hour int, min int, sec int, ...) int
- func (xb *Book) DefaultFont() (fontName string, fontSize int)
- func (xb *Book) DelSheet(index int) int
- func (xb *Book) ErrorMessage() string
- func (xb *Book) Font(index int) *Font
- func (xb *Book) FontSize() int
- func (xb *Book) Format(index int) *Format
- func (xb *Book) FormatSize() int
- func (xb *Book) GetPicture(index int) string
- func (xb *Book) GetSelf() uintptr
- func (xb *Book) GetSheet(index int) *Sheet
- func (xb *Book) GetSheetName(index int) string
- func (xb *Book) InsertSheet(index int, name string, initSheet *Sheet) *Sheet
- func (xb *Book) IsDate1904() int
- func (xb *Book) IsTemplate() int
- func (xb *Book) Load(filename string) int
- func (xb *Book) LoadInfo(filename string) int
- func (xb *Book) LoadPartially(filename string, sheetIndex int, firstRow int, lastRow int) int
- func (xb *Book) LoadPartiallyUsingTempFile(filename string, sheetIndex int, firstRow int, lastRow int, tempFile string) int
- func (xb *Book) LoadRaw(data string, size int) int
- func (xb *Book) LoadRawPartially(data string, size int, sheetIndex int, firstRow int, lastRow int) int
- func (xb *Book) LoadUsingTempFile(filename string, tempFile string) int
- func (xb *Book) LoadWithoutEmptyCells(filename string) int
- func (xb *Book) MoveSheet(srcIndex int, dstIndex int) int
- func (xb *Book) PictureSize() int
- func (xb *Book) RefR1C1() int
- func (xb *Book) Release()
- func (xb *Book) RgbMode() int
- func (xb *Book) Save(filename string) int
- func (xb *Book) SaveRaw() string
- func (xb *Book) SaveUsingTempFile(filename string, useTempFile int) int
- func (xb *Book) SetActiveSheet(index int)
- func (xb *Book) SetDate1904(date1904 int)
- func (xb *Book) SetDefaultFont(fontName string, fontSize int)
- func (xb *Book) SetKey(name string, key string)
- func (xb *Book) SetLocale(locale string) int
- func (xb *Book) SetRefR1C1(refR1C1 int)
- func (xb *Book) SetRgbMode(rgbMode int)
- func (xb *Book) SetTemplate(tmpl int)
- func (xb *Book) SheetCount() int
- func (xb *Book) SheetType(index int) int
- func (xb *Book) Version() int
- type FilterColumn
- func (xf *FilterColumn) AddFilter(value string)
- func (xf *FilterColumn) Clear()
- func (xf *FilterColumn) Filter(index int) string
- func (xf *FilterColumn) FilterSize() int
- func (xf *FilterColumn) FilterType() int
- func (xf *FilterColumn) GetCustomFilter() (op1 int, v1 string, op2 int, v2 string, andOp int)
- func (xf *FilterColumn) GetSelf() uintptr
- func (xf *FilterColumn) GetTop10() (value float64, top int, percent int)
- func (xf *FilterColumn) Index() int
- func (xf *FilterColumn) SetCustomFilter(op int, val string)
- func (xf *FilterColumn) SetCustomFilterEx(op1 int, v1 string, op2 int, v2 string, andOp int)
- func (xf *FilterColumn) SetTop10(value float64, top int, percent int)
- type Font
- func (xf *Font) Bold() int
- func (xf *Font) Color() int
- func (xf *Font) FontName(underline int) string
- func (xf *Font) Italic() int
- func (xf *Font) Script() int
- func (xf *Font) SetBold(bold int)
- func (xf *Font) SetColor(color int)
- func (xf *Font) SetItalic(italic int)
- func (xf *Font) SetName(name string)
- func (xf *Font) SetScript(script int)
- func (xf *Font) SetSize(size int)
- func (xf *Font) SetStrikeOut(strikeOut int)
- func (xf *Font) SetUnderline(underline int)
- func (xf *Font) Size() int
- func (xf *Font) StrikeOut() int
- func (xf *Font) Underline() int
- type Format
- func (xf *Format) AlignH() int
- func (xf *Format) AlignV() int
- func (xf *Format) BorderBottom() int
- func (xf *Format) BorderBottomColor() int
- func (xf *Format) BorderDiagonal() int
- func (xf *Format) BorderDiagonalColor() int
- func (xf *Format) BorderDiagonalStyle() int
- func (xf *Format) BorderLeft() int
- func (xf *Format) BorderLeftColor() int
- func (xf *Format) BorderRight() int
- func (xf *Format) BorderRightColor() int
- func (xf *Format) BorderTop() int
- func (xf *Format) BorderTopColor() int
- func (xf *Format) FillPattern() int
- func (xf *Format) Font() *Font
- func (xf *Format) GetBook() uintptr
- func (xf *Format) GetSelf() uintptr
- func (xf *Format) Hidden() int
- func (xf *Format) Indent() int
- func (xf *Format) Locked() int
- func (xf *Format) NumFormat() int
- func (xf *Format) PatternBackgroundColor() int
- func (xf *Format) PatternForegroundColor() int
- func (xf *Format) Rotation() int
- func (xf *Format) SetAlignH(align int)
- func (xf *Format) SetAlignV(align int)
- func (xf *Format) SetBorder(style int)
- func (xf *Format) SetBorderBottom(style int)
- func (xf *Format) SetBorderBottomColor(color int)
- func (xf *Format) SetBorderColor(color int)
- func (xf *Format) SetBorderDiagonal(border int)
- func (xf *Format) SetBorderDiagonalColor(color int)
- func (xf *Format) SetBorderDiagonalStyle(style int)
- func (xf *Format) SetBorderLeft(style int)
- func (xf *Format) SetBorderLeftColor(color int)
- func (xf *Format) SetBorderRight(style int)
- func (xf *Format) SetBorderRightColor(color int)
- func (xf *Format) SetBorderTop(style int)
- func (xf *Format) SetBorderTopColor(color int)
- func (xf *Format) SetFillPattern(pattern int)
- func (xf *Format) SetFont(fontHandle *Font) int
- func (xf *Format) SetHidden(hidden int)
- func (xf *Format) SetIndent(indent int)
- func (xf *Format) SetLocked(locked int)
- func (xf *Format) SetNumFormat(numFormat int)
- func (xf *Format) SetPatternBackgroundColor(color int)
- func (xf *Format) SetPatternForegroundColor(color int)
- func (xf *Format) SetRotation(rotation int) int
- func (xf *Format) SetShrinkToFit(shrinkToFit int)
- func (xf *Format) SetWrap(wrap int)
- func (xf *Format) ShrinkToFit() int
- func (xf *Format) Wrap() int
- type Sheet
- func (xs *Sheet) AddDataValidation(typ int, op int, rowFirst int, rowLast int, colFirst int, colLast int, ...)
- func (xs *Sheet) AddDataValidationDouble(typ int, op int, rowFirst int, rowLast int, colFirst int, colLast int, ...)
- func (xs *Sheet) AddDataValidationDoubleEx(vtype int, op int, rowFirst int, rowLast int, colFirst int, colLast int, ...)
- func (xs *Sheet) AddDataValidationEx(vtype int, op int, rowFirst int, rowLast int, colFirst int, colLast int, ...)
- func (xs *Sheet) AddHyperlink(hyperlink string, rowFirst int, rowLast int, colFirst int, colLast int)
- func (xs *Sheet) AddIgnoredError(rowFirst int, colFirst int, rowLast int, colLast int, iError int) int
- func (xs *Sheet) AddrToRowCol(addr string) (row int, col int, rowRelative int, colRelative int)
- func (xs *Sheet) ApplyFilter()
- func (xs *Sheet) AutoFilter() *AutoFilter
- func (xs *Sheet) CellFormat(row int, col int) *Format
- func (xs *Sheet) CellType(row int, col int) int
- func (xs *Sheet) Clear(rowFirst int, rowLast int, colFirst int, colLast int)
- func (xs *Sheet) ClearPrintArea()
- func (xs *Sheet) ClearPrintRepeats()
- func (xs *Sheet) ColHidden(col int) int
- func (xs *Sheet) ColWidth(col int) float64
- func (xs *Sheet) ColWidthPx(col int) int
- func (xs *Sheet) CopyCell(rowSrc int, colSrc int, rowDst int, colDst int) int
- func (xs *Sheet) DelHyperlink(index int) int
- func (xs *Sheet) DelMerge(row int, col int) int
- func (xs *Sheet) DelMergeByIndex(index int) int
- func (xs *Sheet) DelNamedRange(name string, scopeId int) int
- func (xs *Sheet) DisplayGridlines() int
- func (xs *Sheet) FirstCol() int
- func (xs *Sheet) FirstRow() int
- func (xs *Sheet) Footer() string
- func (xs *Sheet) FooterMargin() float64
- func (xs *Sheet) GetHorPageBreak(index int) int
- func (xs *Sheet) GetHorPageBreakSize() int
- func (xs *Sheet) GetMerge(row int, col int) (rowFirst int, rowLast int, colFirst int, colLast int)
- func (xs *Sheet) GetNamedRange(name string) (rowFirst int, rowLast int, colFirst int, colLast int, scopeId int, hidden int)
- func (xs *Sheet) GetPicture(index int) (success int, rowTop int, colLeft int, rowBottom int, colRight int, width int, ...)
- func (xs *Sheet) GetPrintFit() (wPages int, hPages int)
- func (xs *Sheet) GetStrColumn(col int) (columnRows []string)
- func (xs *Sheet) GetTopLeftView() (row int, col int)
- func (xs *Sheet) GetVerPageBreak(index int) int
- func (xs *Sheet) GetVerPageBreakSize() int
- func (xs *Sheet) GroupCols(colFirst int, colLast int, collapsed int) int
- func (xs *Sheet) GroupRows(rowFirst int, rowLast int, collapsed int) int
- func (xs *Sheet) GroupSummaryBelow() int
- func (xs *Sheet) GroupSummaryRight() int
- func (xs *Sheet) HCenter() int
- func (xs *Sheet) Header() string
- func (xs *Sheet) HeaderMargin() float64
- func (xs *Sheet) Hidden() int
- func (xs *Sheet) Hyperlink(index int) (hyperlink string, rowFirst int, rowLast int, colFirst int, colLast int)
- func (xs *Sheet) HyperlinkSize() int
- func (xs *Sheet) InsertCol(colFirst int, colLast int) int
- func (xs *Sheet) InsertColAndKeepRanges(colFirst int, colLast int) int
- func (xs *Sheet) InsertRow(rowFirst int, rowLast int) int
- func (xs *Sheet) InsertRowAndKeepRanges(rowFirst int, rowLast int) int
- func (xs *Sheet) IsDate(row int, col int) int
- func (xs *Sheet) IsFormula(row int, col int) int
- func (xs *Sheet) Landscape() int
- func (xs *Sheet) LastCol() int
- func (xs *Sheet) LastRow() int
- func (xs *Sheet) MarginBottom() float64
- func (xs *Sheet) MarginLeft() float64
- func (xs *Sheet) MarginRight() float64
- func (xs *Sheet) MarginTop() float64
- func (xs *Sheet) Merge(index int) (rowFirst int, rowLast int, colFirst int, colLast int)
- func (xs *Sheet) MergeSize() int
- func (xs *Sheet) Name() string
- func (xs *Sheet) NamedRange(index int) (name string, rowFirst int, rowLast int, colFirst int, colLast int, scopeId int, ...)
- func (xs *Sheet) NamedRangeSize() int
- func (xs *Sheet) Paper() int
- func (xs *Sheet) PictureSize() int
- func (xs *Sheet) PrintArea() (rowFirst int, rowLast int, colFirst int, colLast int)
- func (xs *Sheet) PrintGridlines() int
- func (xs *Sheet) PrintRepeatCols() (colFirst int, colLast int)
- func (xs *Sheet) PrintRepeatRows(rowFirst int, rowLast int) int
- func (xs *Sheet) PrintRowCol() int
- func (xs *Sheet) PrintZoom() int
- func (xs *Sheet) Protect() int
- func (xs *Sheet) ReadBlank(row int, col int, format *Format) int
- func (xs *Sheet) ReadBool(row int, col int) (int, *Format)
- func (xs *Sheet) ReadComment(row int, col int) string
- func (xs *Sheet) ReadError(row int, col int) int
- func (xs *Sheet) ReadFormula(row int, col int, format *Format) string
- func (xs *Sheet) ReadNum(row int, col int) (float64, *Format)
- func (xs *Sheet) ReadStr(row int, col int, format *Format) string
- func (xs *Sheet) RemoveCol(colFirst int, colLast int) int
- func (xs *Sheet) RemoveColAndKeepRanges(colFirst int, colLast int) int
- func (xs *Sheet) RemoveComment(row int, col int)
- func (xs *Sheet) RemoveDataValidations()
- func (xs *Sheet) RemoveFilter()
- func (xs *Sheet) RemoveRow(rowFirst int, rowLast int) int
- func (xs *Sheet) RemoveRowAndKeepRanges(rowFirst int, rowLast int) int
- func (xs *Sheet) RightToLeft() int
- func (xs *Sheet) RowColToAddr(row int, col int, rowRelative int, colRelative int) string
- func (xs *Sheet) RowHeight(row int) float64
- func (xs *Sheet) RowHeightPx(row int) int
- func (xs *Sheet) RowHidden(row int) int
- func (xs *Sheet) SetAutoFitArea(rowFirst int, colFirst int, rowLast int, colLast int)
- func (xs *Sheet) SetCellFormat(row int, col int, format *Format)
- func (xs *Sheet) SetCol(colFirst int, colLast int, width float64, format *Format, hidden int) int
- func (xs *Sheet) SetColHidden(col int, hidden int) int
- func (xs *Sheet) SetDisplayGridlines(show int)
- func (xs *Sheet) SetFooter(footer string, margin float64) int
- func (xs *Sheet) SetGroupSummaryBelow(below int)
- func (xs *Sheet) SetGroupSummaryRight(right int)
- func (xs *Sheet) SetHCenter(hCenter int)
- func (xs *Sheet) SetHeader(header string, margin float64) int
- func (xs *Sheet) SetHidden(hidden int) int
- func (xs *Sheet) SetHorPageBreak(row int, pageBreak int) int
- func (xs *Sheet) SetLandscape(landscape int)
- func (xs *Sheet) SetMarginBottom(margin float64)
- func (xs *Sheet) SetMarginLeft(margin float64)
- func (xs *Sheet) SetMarginRight(margin float64)
- func (xs *Sheet) SetMarginTop(margin float64)
- func (xs *Sheet) SetMerge(rowFirst int, rowLast int, colFirst int, colLast int) int
- func (xs *Sheet) SetName(name string)
- func (xs *Sheet) SetNamedRange(name string, rowFirst int, rowLast int, colFirst int, colLast int, scopeId int) int
- func (xs *Sheet) SetPaper(paper int)
- func (xs *Sheet) SetPicture(row int, col int, pictureId int, scale float64, offsetX int, offsetY int, ...)
- func (xs *Sheet) SetPicture2(row int, col int, pictureId int, width int, height int, offsetX int, ...)
- func (xs *Sheet) SetPrintArea(rowFirst int, rowLast int, colFirst int, colLast int)
- func (xs *Sheet) SetPrintFit(wPages int, hPages int)
- func (xs *Sheet) SetPrintGridlines(print int)
- func (xs *Sheet) SetPrintRepeatCols(colFirst int, colLast int)
- func (xs *Sheet) SetPrintRepeatRows(rowFirst int, rowLast int)
- func (xs *Sheet) SetPrintRowCol(print int)
- func (xs *Sheet) SetPrintZoom(zoom int)
- func (xs *Sheet) SetProtect(protect int)
- func (xs *Sheet) SetProtectEx(protect int, password string, enhancedProtection int)
- func (xs *Sheet) SetRightToLeft(rightToLeft int)
- func (xs *Sheet) SetRow(row int, height float64, format *Format, hidden int) int
- func (xs *Sheet) SetRowHidden(row int, hidden int) int
- func (xs *Sheet) SetTabColor(color int)
- func (xs *Sheet) SetTabRgbColor(red int, green int, blue int)
- func (xs *Sheet) SetTopLeftView(row int, col int)
- func (xs *Sheet) SetVCenter(vCenter int)
- func (xs *Sheet) SetVerPageBreak(col int, pageBreak int) int
- func (xs *Sheet) SetZoom(zoom int)
- func (xs *Sheet) Split(row int, col int)
- func (xs *Sheet) SplitInfo() (row int, col int)
- func (xs *Sheet) Table(index int) (tableName string, rowFirst int, rowLast int, colFirst int, colLast int, ...)
- func (xs *Sheet) TableSize() int
- func (xs *Sheet) VCenter() int
- func (xs *Sheet) Write(row int, col int, value interface{}, format *Format) int
- func (xs *Sheet) WriteBlank(row int, col int, format *Format) int
- func (xs *Sheet) WriteBool(row int, col int, value int, format *Format) int
- func (xs *Sheet) WriteComment(row int, col int, value string, author string, width int, height int)
- func (xs *Sheet) WriteError(row int, col int, error int, format *Format)
- func (xs *Sheet) WriteFormula(row int, col int, expr string, value interface{}, format *Format) int
- func (xs *Sheet) WriteFormulaBool(row int, col int, expr string, value int, format *Format) int
- func (xs *Sheet) WriteFormulaNil(row int, col int, expr string, format *Format) int
- func (xs *Sheet) WriteFormulaNum(row int, col int, expr string, value float64, format *Format) int
- func (xs *Sheet) WriteFormulaStr(row int, col int, expr string, value string, format *Format) int
- func (xs *Sheet) WriteNum(row int, col int, value float64, format *Format) int
- func (xs *Sheet) WriteStr(row int, col int, value string, format *Format) int
- func (xs *Sheet) Zoom() int
Constants ¶
const ( PICTURETYPE_DIB = 3 PICTURETYPE_EMF = 4 PICTURETYPE_JPEG = 1 PICTURETYPE_PICT = 5 PICTURETYPE_PNG = 0 PICTURETYPE_TIFF = 6 PICTURETYPE_WMF = 2 SCOPE_UNDEFINED = -2 SCOPE_WORKBOOK = -1 SHEETTYPE_CHART = 1 SHEETTYPE_CHEET = 0 SHEETTYPE_UNKNOWN = 2 )
const ( FILTER_VALUE = 0 FILTER_TOP10 = 1 FILTER_CUSTOM = 2 FILTER_DYNAMIC = 3 FILTER_COLOR = 4 FILTER_ICON = 5 FILTER_EXT = 6 FILTER_NOT_SET = 7 OPERATOR_EQUAL = 0 OPERATOR_GREATER_THAN = 1 OPERATOR_GREATER_THAN_OR_EQUAL = 2 OPERATOR_LESS_THAN = 3 OPERATOR_LESS_THAN_OR_EQUAL = 4 OPERATOR_NOT_EQUAL = 5 )
const ( NORMAL = 0 SUPERSCRIPT = 1 SUBSCRIPT = 2 UNDERLINE_NONE = 0 UNDERLINE_SINGLE = 1 UNDERLINE_DOUBLE = 2 UNDERLINE_SINGLEACC = 33 UNDERLINE_DOUBLEACC = 34 )
const ( COLOR_BLACK = 8 COLOR_WHITE = 9 COLOR_RED = 10 COLOR_BRIGHTGREEN = 11 COLOR_BLUE = 12 COLOR_YELLOW = 13 COLOR_PINK = 14 COLOR_TURQUOISE = 15 COLOR_DARKRED = 16 COLOR_GREEN = 17 COLOR_DARKBLUE = 18 COLOR_DARKYELLOW = 19 COLOR_VIOLET = 20 COLOR_TEAL = 21 COLOR_GRAY25 = 22 COLOR_GRAY50 = 23 COLOR_PERIWINKLE_CF = 24 COLOR_PLUM_CF = 25 COLOR_IVORY_CF = 26 COLOR_LIGHTTURQUOISE_CF = 27 COLOR_DARKPURPLE_CF = 28 COLOR_CORAL_CF = 29 COLOR_OCEANBLUE_CF = 30 COLOR_ICEBLUE_CF = 31 COLOR_DARKBLUE_CL = 32 COLOR_PINK_CL = 33 COLOR_YELLOW_CL = 34 COLOR_TURQUOISE_CL = 35 COLOR_VIOLET_CL = 36 COLOR_DARKRED_CL = 37 COLOR_TEAL_CL = 38 COLOR_BLUE_CL = 39 COLOR_SKYBLUE = 40 COLOR_LIGHTTURQUOISE = 41 COLOR_LIGHTGREEN = 42 COLOR_LIGHTYELLOW = 43 COLOR_PALEBLUE = 44 COLOR_ROSE = 45 COLOR_LAVENDER = 46 COLOR_TAN = 47 COLOR_LIGHTBLUE = 48 COLOR_AQUA = 49 COLOR_LIME = 50 COLOR_GOLD = 51 COLOR_LIGHTORANGE = 52 COLOR_ORANGE = 53 COLOR_BLUEGRAY = 54 COLOR_GRAY40 = 55 COLOR_DARKTEAL = 56 COLOR_SEAGREEN = 57 COLOR_DARKGREEN = 58 COLOR_OLIVEGREEN = 59 COLOR_BROWN = 60 COLOR_PLUM = 61 COLOR_INDIGO = 62 COLOR_GRAY80 = 63 COLOR_DEFAULT_FOREGROUND = 64 COLOR_DEFAULT_BACKGROUND = 65 AS_DATE = 1 AS_FORMULA = 2 AS_NUMERIC_STRING = 3 NUMFORMAT_GENERAL = 0 NUMFORMAT_NUMBER = 1 NUMFORMAT_NUMBER_D2 = 2 NUMFORMAT_NUMBER_SEP = 3 NUMFORMAT_NUMBER_SEP_D2 = 4 NUMFORMAT_CURRENCY_NEGBRA = 5 NUMFORMAT_CURRENCY_NEGBRARED = 6 NUMFORMAT_CURRENCY_D2_NEGBRA = 7 NUMFORMAT_CURRENCY_D2_NEGBRARED = 8 NUMFORMAT_PERCENT = 9 NUMFORMAT_PERCENT_D2 = 10 NUMFORMAT_SCIENTIFIC_D2 = 11 NUMFORMAT_FRACTION_ONEDIG = 12 NUMFORMAT_FRACTION_TWODIG = 13 NUMFORMAT_DATE = 14 NUMFORMAT_CUSTOM_DMON_YY = 15 NUMFORMAT_CUSTOM_DMON = 16 NUMFORMAT_CUSTOM_MON_YY = 17 NUMFORMAT_CUSTOM_HMM_AM = 18 NUMFORMAT_CUSTOM_HMMSS_AM = 19 NUMFORMAT_CUSTOM_HMM = 20 NUMFORMAT_CUSTOM_HMMSS = 21 NUMFORMAT_CUSTOM_MDYYYY_HMM = 22 NUMFORMAT_NUMBER_SEP_NEGBRA = 37 NUMFORMAT_NUMBER_SEP_NEGBRARED = 38 NUMFORMAT_NUMBER_D2_SEP_NEGBRA = 39 NUMFORMAT_NUMBER_D2_SEP_NEGBRARED = 40 NUMFORMAT_ACCOUNT = 41 NUMFORMAT_ACCOUNTCUR = 42 NUMFORMAT_ACCOUNT_D2 = 43 NUMFORMAT_ACCOUNT_D2_CUR = 44 NUMFORMAT_CUSTOM_MMSS = 45 NUMFORMAT_CUSTOM_H0MMSS = 46 NUMFORMAT_CUSTOM_MMSS0 = 47 NUMFORMAT_CUSTOM000P0E_PLUS0 = 48 NUMFORMAT_TEXT = 49 ALIGNH_GENERAL = 0 ALIGNH_LEFT = 1 ALIGNH_CENTER = 2 ALIGNH_RIGHT = 3 ALIGNH_FILL = 4 ALIGNH_JUSTIFY = 5 ALIGNH_MERGE = 6 ALIGNH_DISTRIBUTED = 7 ALIGNV_TOP = 0 ALIGNV_CENTER = 1 ALIGNV_BOTTOM = 2 ALIGNV_JUSTIFY = 3 ALIGNV_DISTRIBUTED = 4 BORDERSTYLE_NONE = 0 BORDERSTYLE_THIN = 1 BORDERSTYLE_MEDIUM = 2 BORDERSTYLE_DASHED = 3 BORDERSTYLE_DOTTED = 4 BORDERSTYLE_THICK = 5 BORDERSTYLE_DOUBLE = 6 BORDERSTYLE_HAIR = 7 BORDERSTYLE_MEDIUMDASHED = 8 BORDERSTYLE_DASHDOT = 9 BORDERSTYLE_MEDIUMDASHDOT = 10 BORDERSTYLE_DASHDOTDOT = 11 BORDERSTYLE_MEDIUMDASHDOTDOT = 12 BORDERSTYLE_SLANTDASHDOT = 13 BORDERDIAGONAL_NONE = 0 BORDERDIAGONAL_DOWN = 1 BORDERDIAGONAL_UP = 2 BORDERDIAGONAL_BOTH = 3 FILLPATTERN_NONE = 0 FILLPATTERN_SOLID = 1 FILLPATTERN_GRAY50 = 2 FILLPATTERN_GRAY75 = 3 FILLPATTERN_GRAY25 = 4 FILLPATTERN_HORSTRIPE = 5 FILLPATTERN_VERSTRIPE = 6 FILLPATTERN_REVDIAGSTRIPE = 7 FILLPATTERN_DIAGSTRIPE = 8 FILLPATTERN_DIAGCROSSHATCH = 9 FILLPATTERN_THICKDIAGCROSSHATCH = 10 FILLPATTERN_THINHORSTRIPE = 11 FILLPATTERN_THINVERSTRIPE = 12 FILLPATTERN_THINREVDIAGSTRIPE = 13 FILLPATTERN_THINDIAGSTRIPE = 14 FILLPATTERN_THINHORCROSSHATCH = 15 FILLPATTERN_THINDIAGCROSSHATCH = 16 FILLPATTERN_GRAY12P5 = 17 FILLPATTERN_GRAY6P25 = 18 )
const ( PAPER_DEFAULT = 0 PAPER_LETTER = 1 PAPER_LETTERSMALL = 2 PAPER_TABLOID = 3 PAPER_LEDGER = 4 PAPER_LEGAL = 5 PAPER_STATEMENT = 6 PAPER_EXECUTIVE = 7 PAPER_A3 = 8 PAPER_A4 = 9 PAPER_A4SMALL = 10 PAPER_A5 = 11 PAPER_B4 = 12 PAPER_B5 = 13 PAPER_FOLIO = 14 PAPER_QUATRO = 15 PAPER10X14 = 16 PAPER10X17 = 17 PAPER_NOTE = 18 PAPER_ENVELOPE9 = 19 PAPER_ENVELOPE10 = 20 PAPER_ENVELOPE11 = 21 PAPER_ENVELOPE12 = 22 PAPER_ENVELOPE14 = 23 PAPER_CSIZE = 24 PAPER_DSIZE = 25 PAPER_ESIZE = 26 PAPER_ENVELOPE_DL = 27 PAPER_ENVELOPE_C5 = 28 PAPER_ENVELOPE_C3 = 29 PAPER_ENVELOPE_C4 = 30 PAPER_ENVELOPE_C6 = 31 PAPER_ENVELOPE_C65 = 32 PAPER_ENVELOPE_B4 = 33 PAPER_ENVELOPE_B5 = 34 PAPER_ENVELOPE_B6 = 35 PAPER_ENVELOPE = 36 PAPER_ENVELOPE_MONARCH = 37 PAPER_US_ENVELOPE = 38 PAPER_FANFOLD = 39 PAPER_GERMAN_STD_FANFOLD = 40 PAPER_GERMAN_LEGAL_FANFOLD = 41 CELLTYPE_EMPTY = 0 CELLTYPE_NUMBER = 1 CELLTYPE_STRING = 2 CELLTYPE_BOOLEAN = 3 CELLTYPE_BLANK = 4 CELLTYPE_ERROR = 5 ERRORTYPE_NULL = 0 ERRORTYPE_DIV0 = 7 ERRORTYPE_VALUE = 15 ERRORTYPE_REF = 23 ERRORTYPE_NAME = 29 ERRORTYPE_NUM = 36 ERRORTYPE_NA = 42 ERRORTYPE_NOERROR = 255 LEFT_TO_RIGHT = 0 RIGHT_TO_LEFT = 1 IERR_EVAL_ERROR = 1 IERR_EMPTY_CELLREF = 2 IERR_NUMBER_STORED_AS_TEXT = 4 IERR_INCONSIST_RANGE = 8 IERR_INCONSIST_FMLA = 16 IERR_TWODIG_TEXTYEAR = 32 IERR_UNLOCK_FMLA = 64 IERR_DATA_VALIDATION = 128 PROT_DEFAULT = -1 PROT_ALL = 0 PROT_OBJECTS = 1 PROT_SCENARIOS = 2 PROT_FORMAT_CELLS = 4 PROT_FORMAT_COLUMNS = 8 PROT_FORMAT_ROWS = 16 PROT_INSERT_COLUMNS = 32 PROT_INSERT_ROWS = 64 PROT_INSERT_HYPERLINKS = 128 PROT_DELETE_COLUMNS = 256 PROT_DELETE_ROWS = 512 PROT_SEL_LOCKED_CELLS = 1024 PROT_SORT = 2048 PROT_AUTOFILTER = 4096 PROT_PIVOTTABLES = 8192 PROT_SEL_UNLOCKED_CELLS = 16384 SHEETSTATE_VISIBLE = 0 SHEETSTATE_HIDDEN = 1 SHEETSTATE_VERYHIDDEN = 2 VALIDATION_TYPE_NONE = 0 VALIDATION_TYPE_WHOLE = 1 VALIDATION_TYPE_DECIMAL = 2 VALIDATION_TYPE_LIST = 3 VALIDATION_TYPE_DATE = 4 VALIDATION_TYPE_TIME = 5 VALIDATION_TYPE_TEXTLENGTH = 6 VALIDATION_TYPE_CUSTOM = 7 VALIDATION_OP_BETWEEN = 0 VALIDATION_OP_NOTBETWEEN = 1 VALIDATION_OP_EQUAL = 2 VALIDATION_OP_NOTEQUAL = 3 VALIDATION_OP_LESSTHAN = 4 VALIDATION_OP_LESSTHANOREQUAL = 5 VALIDATION_OP_GREATERTHAN = 6 VALIDATION_OP_GREATERTHANOREQUAL = 7 VALIDATION_ERRSTYLE_STOP = 0 // STOP ICON IN THE ERROR ALERT VALIDATION_ERRSTYLE_WARNING = 1 // WARNING ICON IN THE ERROR ALERT VALIDATION_ERRSTYLE_INFORMATION = 2 // INFORMATION ICON IN THE ERROR ALERT )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AutoFilter ¶
type AutoFilter struct {
// contains filtered or unexported fields
}
func (*AutoFilter) Column ¶
func (xa *AutoFilter) Column(colId int) *FilterColumn
FilterColumnHandle xlAutoFilterColumnW(AutoFilterHandle handle, int colId);
func (*AutoFilter) ColumnByIndex ¶
func (xa *AutoFilter) ColumnByIndex(index int) *FilterColumn
FilterColumnHandle xlAutoFilterColumnByIndexW(AutoFilterHandle handle, int index);
func (*AutoFilter) ColumnSize ¶
func (xa *AutoFilter) ColumnSize() int
int xlAutoFilterColumnSizeW(AutoFilterHandle handle);
func (*AutoFilter) GetRef ¶
func (xa *AutoFilter) GetRef() (rowFirst int, rowLast int, colFirst int, colLast int)
int xlAutoFilterGetRefW(AutoFilterHandle handle, int* rowFirst, int* rowLast, int* colFirst, int* colLast);
func (*AutoFilter) GetSelf ¶
func (xa *AutoFilter) GetSelf() uintptr
func (*AutoFilter) GetSort ¶
func (xa *AutoFilter) GetSort() (columnIndex int, descending int)
int xlAutoFilterGetSortW(AutoFilterHandle handle, int* columnIndex, int* descending);
func (*AutoFilter) GetSortRange ¶
func (xa *AutoFilter) GetSortRange() (rowFirst int, rowLast int, colFirst int, colLast int)
int xlAutoFilterGetSortRangeW(AutoFilterHandle handle, int* rowFirst, int* rowLast, int* colFirst, int* colLast);
type Book ¶
type Book struct {
// contains filtered or unexported fields
}
func (*Book) ActiveSheet ¶
int xlBookActiveSheetW(BookHandle handle);
func (*Book) AddCustomNumFormat ¶
int xlBookAddCustomNumFormatW(BookHandle handle, const wchar_t* customNumFormat);
func (*Book) AddPicture ¶
int xlBookAddPictureW(BookHandle handle, const wchar_t* filename);
func (*Book) AddPicture2 ¶
int xlBookAddPicture2W(BookHandle handle, const char* data, unsigned size);
func (*Book) AddPictureAsLink ¶
int xlBookAddPictureAsLinkW(BookHandle handle, const wchar_t* filename, int insert);
func (*Book) AddSheet ¶
SheetHandle xlBookAddSheetW(BookHandle handle, const wchar_t* name, SheetHandle initSheet);
func (*Book) BiffVersion ¶
int xlBookBiffVersionW(BookHandle handle);
func (*Book) ColorUnpack ¶
void xlBookColorUnpackW(BookHandle handle, int color, int* red, int* green, int* blue);
func (*Book) CreateXLSX ¶
func (*Book) CustomNumFormat ¶
string xlBookCustomNumFormatW(BookHandle handle, int fmt);
func (*Book) DatePack ¶
func (xb *Book) DatePack(year int, month int, day int, hour int, min int, sec int, msec int) float64
double xlBookDatePackW(BookHandle handle, int year, int month, int day, int hour, int min, int sec, int msec);
func (*Book) DateUnpack ¶
func (xb *Book) DateUnpack(value float64, year int, month int, day int, hour int, min int, sec int, msec int) int
int xlBookDateUnpackW(BookHandle handle, double value, int* year, int* month, int* day, int* hour, int* min, int* sec, int* msec);
func (*Book) DefaultFont ¶
string xlBookDefaultFontW(BookHandle handle, int* fontSize);
func (*Book) ErrorMessage ¶
string xlBookErrorMessageW(BookHandle handle);
func (*Book) FormatSize ¶
int xlBookFormatSizeW(BookHandle handle);
func (*Book) GetPicture ¶
int xlBookGetPictureW(BookHandle handle, int index, const char** data, unsigned* size);
func (*Book) GetSheetName ¶
const wchar_t* xlBookGetSheetName(BookHandle handle, int index)
func (*Book) InsertSheet ¶
SheetHandle xlBookInsertSheetW(BookHandle handle, int index, const wchar_t* name, SheetHandle initSheet);
func (*Book) IsDate1904 ¶
int xlBookIsDate1904W(BookHandle handle);
func (*Book) IsTemplate ¶
int xlBookIsTemplateW(BookHandle handle);
func (*Book) LoadPartially ¶
int xlBookLoadPartiallyW(BookHandle handle, const wchar_t* filename, int sheetIndex, int firstRow, int lastRow);
func (*Book) LoadPartiallyUsingTempFile ¶
func (xb *Book) LoadPartiallyUsingTempFile(filename string, sheetIndex int, firstRow int, lastRow int, tempFile string) int
int xlBookLoadPartiallyUsingTempFileW(BookHandle handle, const wchar_t* filename, int sheetIndex, int firstRow, int lastRow, const wchar_t* tempFile);
func (*Book) LoadRawPartially ¶
func (xb *Book) LoadRawPartially(data string, size int, sheetIndex int, firstRow int, lastRow int) int
int xlBookLoadRawPartiallyW(BookHandle handle, const char* data, unsigned size, int sheetIndex, int firstRow, int lastRow);
func (*Book) LoadUsingTempFile ¶
int xlBookLoadUsingTempFileW(BookHandle handle, const wchar_t* filename, const wchar_t* tempFile);
func (*Book) LoadWithoutEmptyCells ¶
int xlBookLoadWithoutEmptyCellsW(BookHandle handle, const wchar_t* filename);
func (*Book) PictureSize ¶
int xlBookPictureSizeW(BookHandle handle);
func (*Book) SaveRaw ¶
int xlBookSaveRawW(BookHandle handle, const char** data, unsigned* size); @deprecated
func (*Book) SaveUsingTempFile ¶
int xlBookSaveUsingTempFileW(BookHandle handle, const wchar_t* filename, int useTempFile);
func (*Book) SetActiveSheet ¶
void xlBookSetActiveSheetW(BookHandle handle, int index);
func (*Book) SetDate1904 ¶
void xlBookSetDate1904W(BookHandle handle, int date1904);
func (*Book) SetDefaultFont ¶
void xlBookSetDefaultFontW(BookHandle handle, const wchar_t* fontName, int fontSize);
func (*Book) SetKey ¶
void xlBookSetKeyW(BookHandle handle, const wchar_t* name, const wchar_t* key);
func (*Book) SetRefR1C1 ¶
void xlBookSetRefR1C1W(BookHandle handle, int refR1C1);
func (*Book) SetRgbMode ¶
void xlBookSetRgbModeW(BookHandle handle, int rgbMode);
func (*Book) SetTemplate ¶
void xlBookSetTemplateW(BookHandle handle, int tmpl);
func (*Book) SheetCount ¶
int xlBookSheetCountW(BookHandle handle);
type FilterColumn ¶
type FilterColumn struct {
// contains filtered or unexported fields
}
func (*FilterColumn) AddFilter ¶
func (xf *FilterColumn) AddFilter(value string)
void xlFilterColumnAddFilterW(FilterColumnHandle handle, const wchar_t* value);
func (*FilterColumn) Clear ¶
func (xf *FilterColumn) Clear()
void xlFilterColumnClearW(FilterColumnHandle handle);
func (*FilterColumn) Filter ¶
func (xf *FilterColumn) Filter(index int) string
string xlFilterColumnFilterW(FilterColumnHandle handle, int index);
func (*FilterColumn) FilterSize ¶
func (xf *FilterColumn) FilterSize() int
int xlFilterColumnFilterSizeW(FilterColumnHandle handle);
func (*FilterColumn) FilterType ¶
func (xf *FilterColumn) FilterType() int
int xlFilterColumnFilterTypeW(FilterColumnHandle handle);
func (*FilterColumn) GetCustomFilter ¶
int xlFilterColumnGetCustomFilterW(FilterColumnHandle handle, int* op1, const wchar_t** v1, int* op2, const wchar_t** v2, int* andOp);
func (*FilterColumn) GetSelf ¶
func (xf *FilterColumn) GetSelf() uintptr
func (*FilterColumn) GetTop10 ¶
func (xf *FilterColumn) GetTop10() (value float64, top int, percent int)
int xlFilterColumnGetTop10W(FilterColumnHandle handle, double* value, int* top, int* percent);
func (*FilterColumn) Index ¶
func (xf *FilterColumn) Index() int
int xlFilterColumnIndexW(FilterColumnHandle handle);
func (*FilterColumn) SetCustomFilter ¶
func (xf *FilterColumn) SetCustomFilter(op int, val string)
void xlFilterColumnSetCustomFilterW(FilterColumnHandle handle, int op, const wchar_t* val);
func (*FilterColumn) SetCustomFilterEx ¶
void xlFilterColumnSetCustomFilterExW(FilterColumnHandle handle, int op1, const wchar_t* v1, int op2, const wchar_t* v2, int andOp);
type Font ¶
type Font struct {
// contains filtered or unexported fields
}
func (*Font) SetStrikeOut ¶
void xlFontSetStrikeOutW(FontHandle handle, int strikeOut);
func (*Font) SetUnderline ¶
void xlFontSetUnderlineW(FontHandle handle, int underline);
type Format ¶
type Format struct {
// contains filtered or unexported fields
}
func (*Format) BorderBottom ¶
int xlFormatBorderBottomW(FormatHandle handle);
func (*Format) BorderBottomColor ¶
int xlFormatBorderBottomColorW(FormatHandle handle);
func (*Format) BorderDiagonal ¶
int xlFormatBorderDiagonalW(FormatHandle handle);
func (*Format) BorderDiagonalColor ¶
int xlFormatBorderDiagonalColorW(FormatHandle handle);
func (*Format) BorderDiagonalStyle ¶
int xlFormatBorderDiagonalStyleW(FormatHandle handle);
func (*Format) BorderLeft ¶
int xlFormatBorderLeftW(FormatHandle handle);
func (*Format) BorderLeftColor ¶
int xlFormatBorderLeftColorW(FormatHandle handle);
func (*Format) BorderRight ¶
int xlFormatBorderRightW(FormatHandle handle);
func (*Format) BorderRightColor ¶
int xlFormatBorderRightColorW(FormatHandle handle);
func (*Format) BorderTopColor ¶
int xlFormatBorderTopColorW(FormatHandle handle);
func (*Format) FillPattern ¶
int xlFormatFillPatternW(FormatHandle handle);
func (*Format) PatternBackgroundColor ¶
int xlFormatPatternBackgroundColorW(FormatHandle handle);
func (*Format) PatternForegroundColor ¶
int xlFormatPatternForegroundColorW(FormatHandle handle);
func (*Format) SetBorderBottom ¶
void xlFormatSetBorderBottomW(FormatHandle handle, int style);
func (*Format) SetBorderBottomColor ¶
void xlFormatSetBorderBottomColorW(FormatHandle handle, int color);
func (*Format) SetBorderColor ¶
void xlFormatSetBorderColorW(FormatHandle handle, int color);
func (*Format) SetBorderDiagonal ¶
void xlFormatSetBorderDiagonalW(FormatHandle handle, int border);
func (*Format) SetBorderDiagonalColor ¶
void xlFormatSetBorderDiagonalColorW(FormatHandle handle, int color);
func (*Format) SetBorderDiagonalStyle ¶
void xlFormatSetBorderDiagonalStyleW(FormatHandle handle, int style);
func (*Format) SetBorderLeft ¶
void xlFormatSetBorderLeftW(FormatHandle handle, int style);
func (*Format) SetBorderLeftColor ¶
void xlFormatSetBorderLeftColorW(FormatHandle handle, int color);
func (*Format) SetBorderRight ¶
void xlFormatSetBorderRightW(FormatHandle handle, int style);
func (*Format) SetBorderRightColor ¶
void xlFormatSetBorderRightColorW(FormatHandle handle, int color);
func (*Format) SetBorderTop ¶
void xlFormatSetBorderTopW(FormatHandle handle, int style);
func (*Format) SetBorderTopColor ¶
void xlFormatSetBorderTopColorW(FormatHandle handle, int color);
func (*Format) SetFillPattern ¶
void xlFormatSetFillPatternW(FormatHandle handle, int pattern);
func (*Format) SetNumFormat ¶
void xlFormatSetNumFormatW(FormatHandle handle, int numFormat);
func (*Format) SetPatternBackgroundColor ¶
void xlFormatSetPatternBackgroundColorW(FormatHandle handle, int color);
func (*Format) SetPatternForegroundColor ¶
void xlFormatSetPatternForegroundColorW(FormatHandle handle, int color);
func (*Format) SetRotation ¶
int xlFormatSetRotationW(FormatHandle handle, int rotation);
func (*Format) SetShrinkToFit ¶
void xlFormatSetShrinkToFitW(FormatHandle handle, int shrinkToFit);
func (*Format) ShrinkToFit ¶
int xlFormatShrinkToFitW(FormatHandle handle);
type Sheet ¶
type Sheet struct {
// contains filtered or unexported fields
}
func (*Sheet) AddDataValidation ¶
func (xs *Sheet) AddDataValidation(typ int, op int, rowFirst int, rowLast int, colFirst int, colLast int, value1 string, value2 string)
void xlSheetAddDataValidationW(SheetHandle handle, int type, int op, int rowFirst, int rowLast, int colFirst, int colLast, const wchar_t* value1, const wchar_t* value2);
func (*Sheet) AddDataValidationDouble ¶
func (xs *Sheet) AddDataValidationDouble(typ int, op int, rowFirst int, rowLast int, colFirst int, colLast int, value1 float64, value2 float64)
void xlSheetAddDataValidationDoubleW(SheetHandle handle, int type, int op, int rowFirst, int rowLast, int colFirst, int colLast, double value1, double value2);
func (*Sheet) AddDataValidationDoubleEx ¶
func (xs *Sheet) AddDataValidationDoubleEx(vtype int, op int, rowFirst int, rowLast int, colFirst int, colLast int, value1 float64, value2 float64, allowBlank int, hideDropDown int, showInputMessage int, showErrorMessage int, promptTitle string, prompt string, errorTitle string, error string, errorStyle int)
void xlSheetAddDataValidationDoubleExW(SheetHandle handle, int type, int op, int rowFirst, int rowLast, int colFirst, int colLast, double value1, double value2,
int allowBlank, int hideDropDown, int showInputMessage, int showErrorMessage, const wchar_t* promptTitle, const wchar_t* prompt, const wchar_t* errorTitle, const wchar_t* error, int errorStyle);
func (*Sheet) AddDataValidationEx ¶
func (xs *Sheet) AddDataValidationEx(vtype int, op int, rowFirst int, rowLast int, colFirst int, colLast int, value1 string, value2 string, allowBlank int, hideDropDown int, showInputMessage int, showErrorMessage int, promptTitle string, prompt string, errorTitle string, error string, errorStyle int)
void xlSheetAddDataValidationExW(SheetHandle handle, int type, int op, int rowFirst, int rowLast, int colFirst, int colLast, const wchar_t* value1, const wchar_t* value2,
int allowBlank, int hideDropDown, int showInputMessage, int showErrorMessage, const wchar_t* promptTitle, const wchar_t* prompt, const wchar_t* errorTitle, const wchar_t* error, int errorStyle);
func (*Sheet) AddHyperlink ¶
func (xs *Sheet) AddHyperlink(hyperlink string, rowFirst int, rowLast int, colFirst int, colLast int)
void xlSheetAddHyperlinkW(SheetHandle handle, const wchar_t* hyperlink, int rowFirst, int rowLast, int colFirst, int colLast);
func (*Sheet) AddIgnoredError ¶
func (xs *Sheet) AddIgnoredError(rowFirst int, colFirst int, rowLast int, colLast int, iError int) int
int xlSheetAddIgnoredErrorW(SheetHandle handle, int rowFirst, int colFirst, int rowLast, int colLast, int iError);
func (*Sheet) AddrToRowCol ¶
void xlSheetAddrToRowColW(SheetHandle handle, const wchar_t* addr, int* row, int* col, int* rowRelative, int* colRelative);
func (*Sheet) ApplyFilter ¶
func (xs *Sheet) ApplyFilter()
void xlSheetApplyFilterW(SheetHandle handle);
func (*Sheet) AutoFilter ¶
func (xs *Sheet) AutoFilter() *AutoFilter
AutoFilterHandle xlSheetAutoFilterW(SheetHandle handle);
func (*Sheet) CellFormat ¶
FormatHandle xlSheetCellFormatW(SheetHandle handle, int row, int col);
func (*Sheet) Clear ¶
void xlSheetClearW(SheetHandle handle, int rowFirst, int rowLast, int colFirst, int colLast);
func (*Sheet) ClearPrintArea ¶
func (xs *Sheet) ClearPrintArea()
void xlSheetClearPrintAreaW(SheetHandle handle);
func (*Sheet) ClearPrintRepeats ¶
func (xs *Sheet) ClearPrintRepeats()
void xlSheetClearPrintRepeatsW(SheetHandle handle);
func (*Sheet) ColWidthPx ¶
int xlSheetColWidthPx(SheetHandle handle, int col)
func (*Sheet) CopyCell ¶
int xlSheetCopyCellW(SheetHandle handle, int rowSrc, int colSrc, int rowDst, int colDst);
func (*Sheet) DelHyperlink ¶
int xlSheetDelHyperlinkW(SheetHandle handle, int index);
func (*Sheet) DelMergeByIndex ¶
int xlSheetDelMergeByIndexW(SheetHandle handle, int index);
func (*Sheet) DelNamedRange ¶
int xlSheetDelNamedRangeW(SheetHandle handle, const wchar_t* name, int scopeId);
func (*Sheet) DisplayGridlines ¶
int xlSheetDisplayGridlinesW(SheetHandle handle);
func (*Sheet) FooterMargin ¶
double xlSheetFooterMarginW(SheetHandle handle);
func (*Sheet) GetHorPageBreak ¶
int xlSheetGetHorPageBreakW(SheetHandle handle, int index);
func (*Sheet) GetHorPageBreakSize ¶
int xlSheetGetHorPageBreakSizeW(SheetHandle handle);
func (*Sheet) GetMerge ¶
int xlSheetGetMergeW(SheetHandle handle, int row, int col, int* rowFirst, int* rowLast, int* colFirst, int* colLast);
func (*Sheet) GetNamedRange ¶
func (xs *Sheet) GetNamedRange(name string) (rowFirst int, rowLast int, colFirst int, colLast int, scopeId int, hidden int)
int xlSheetGetNamedRangeW(SheetHandle handle, const wchar_t* name, int* rowFirst, int* rowLast, int* colFirst, int* colLast, int scopeId, int* hidden);
func (*Sheet) GetPicture ¶
func (xs *Sheet) GetPicture(index int) (success int, rowTop int, colLeft int, rowBottom int, colRight int, width int, height int, offsetX int, offsetY int)
int xlSheetGetPictureW(SheetHandle handle, int index, int* rowTop, int* colLeft, int* rowBottom, int* colRight,
int* width, int* height, int* offset_x, int* offset_y);
func (*Sheet) GetPrintFit ¶
int xlSheetGetPrintFitW(SheetHandle handle, int* wPages, int* hPages);
func (*Sheet) GetStrColumn ¶
func (*Sheet) GetTopLeftView ¶
void xlSheetGetTopLeftViewW(SheetHandle handle, int* row, int* col);
func (*Sheet) GetVerPageBreak ¶
int xlSheetGetVerPageBreakW(SheetHandle handle, int index);
func (*Sheet) GetVerPageBreakSize ¶
int xlSheetGetVerPageBreakSizeW(SheetHandle handle);
func (*Sheet) GroupCols ¶
int xlSheetGroupColsW(SheetHandle handle, int colFirst, int colLast, int collapsed);
func (*Sheet) GroupRows ¶
int xlSheetGroupRowsW(SheetHandle handle, int rowFirst, int rowLast, int collapsed);
func (*Sheet) GroupSummaryBelow ¶
int xlSheetGroupSummaryBelowW(SheetHandle handle);
func (*Sheet) GroupSummaryRight ¶
int xlSheetGroupSummaryRightW(SheetHandle handle);
func (*Sheet) HeaderMargin ¶
double xlSheetHeaderMarginW(SheetHandle handle);
func (*Sheet) Hyperlink ¶
func (xs *Sheet) Hyperlink(index int) (hyperlink string, rowFirst int, rowLast int, colFirst int, colLast int)
string xlSheetHyperlinkW(SheetHandle handle, int index, int* rowFirst, int* rowLast, int* colFirst, int* colLast);
func (*Sheet) HyperlinkSize ¶
int xlSheetHyperlinkSizeW(SheetHandle handle);
func (*Sheet) InsertColAndKeepRanges ¶
int xlSheetInsertColAndKeepRanges(SheetHandle handle, int colFirst, int colLast)
func (*Sheet) InsertRowAndKeepRanges ¶
int xlSheetInsertRowAndKeepRanges(SheetHandle handle, int rowFirst, int rowLast)
func (*Sheet) MarginBottom ¶
double xlSheetMarginBottomW(SheetHandle handle);
func (*Sheet) MarginLeft ¶
double xlSheetMarginLeftW(SheetHandle handle);
func (*Sheet) MarginRight ¶
double xlSheetMarginRightW(SheetHandle handle);
func (*Sheet) Merge ¶
int xlSheetMergeW(SheetHandle handle, int index, int* rowFirst, int* rowLast, int* colFirst, int* colLast);
func (*Sheet) NamedRange ¶
func (xs *Sheet) NamedRange(index int) (name string, rowFirst int, rowLast int, colFirst int, colLast int, scopeId int, hidden int)
string xlSheetNamedRangeW(SheetHandle handle, int index, int* rowFirst, int* rowLast, int* colFirst, int* colLast, int* scopeId, int* hidden);
func (*Sheet) NamedRangeSize ¶
int xlSheetNamedRangeSizeW(SheetHandle handle);
func (*Sheet) PictureSize ¶
int xlSheetPictureSizeW(SheetHandle handle);
func (*Sheet) PrintArea ¶
int xlSheetPrintAreaW(SheetHandle handle, int* rowFirst, int* rowLast, int* colFirst, int* colLast);
func (*Sheet) PrintGridlines ¶
int xlSheetPrintGridlinesW(SheetHandle handle);
func (*Sheet) PrintRepeatCols ¶
int xlSheetPrintRepeatColsW(SheetHandle handle, int* colFirst, int* colLast);
func (*Sheet) PrintRepeatRows ¶
int xlSheetPrintRepeatRowsW(SheetHandle handle, int* rowFirst, int* rowLast);
func (*Sheet) PrintRowCol ¶
int xlSheetPrintRowColW(SheetHandle handle);
func (*Sheet) ReadBlank ¶
int xlSheetReadBlankW(SheetHandle handle, int row, int col, FormatHandle* format);
func (*Sheet) ReadBool ¶
int xlSheetReadBoolW(SheetHandle handle, int row, int col, FormatHandle* format);
func (*Sheet) ReadComment ¶
string xlSheetReadCommentW(SheetHandle handle, int row, int col);
func (*Sheet) ReadFormula ¶
string xlSheetReadFormulaW(SheetHandle handle, int row, int col, FormatHandle* format);
func (*Sheet) ReadNum ¶
double xlSheetReadNumW(SheetHandle handle, int row, int col, FormatHandle* format);
func (*Sheet) ReadStr ¶
string xlSheetReadStrW(SheetHandle handle, int row, int col, FormatHandle* format)
func (*Sheet) RemoveColAndKeepRanges ¶
int xlSheetRemoveColAndKeepRanges(SheetHandle handle, int colFirst, int colLast)
func (*Sheet) RemoveComment ¶
void xlSheetRemoveCommentW(SheetHandle handle, int row, int col);
func (*Sheet) RemoveDataValidations ¶
func (xs *Sheet) RemoveDataValidations()
void xlSheetRemoveDataValidationsW(SheetHandle handle);
func (*Sheet) RemoveFilter ¶
func (xs *Sheet) RemoveFilter()
void xlSheetRemoveFilterW(SheetHandle handle);
func (*Sheet) RemoveRowAndKeepRanges ¶
int xlSheetRemoveRowAndKeepRanges(SheetHandle handle, int rowFirst, int rowLast)
func (*Sheet) RightToLeft ¶
int xlSheetRightToLeftW(SheetHandle handle);
func (*Sheet) RowColToAddr ¶
string xlSheetRowColToAddrW(SheetHandle handle, int row, int col, int rowRelative, int colRelative);
func (*Sheet) RowHeightPx ¶
int xlSheetRowHeightPx(SheetHandle handle, int row)
func (*Sheet) SetAutoFitArea ¶
void xlSheetSetAutoFitAreaW(SheetHandle handle, int rowFirst, int colFirst, int rowLast, int colLast);
func (*Sheet) SetCellFormat ¶
void xlSheetSetCellFormatW(SheetHandle handle, int row, int col, FormatHandle format);
func (*Sheet) SetCol ¶
int xlSheetSetColW(SheetHandle handle, int colFirst, int colLast, double width, FormatHandle format, int hidden);
func (*Sheet) SetColHidden ¶
int xlSheetSetColHiddenW(SheetHandle handle, int col, int hidden);
func (*Sheet) SetDisplayGridlines ¶
void xlSheetSetDisplayGridlinesW(SheetHandle handle, int show);
func (*Sheet) SetFooter ¶
int xlSheetSetFooterW(SheetHandle handle, const wchar_t* footer, double margin);
func (*Sheet) SetGroupSummaryBelow ¶
void xlSheetSetGroupSummaryBelowW(SheetHandle handle, int below);
func (*Sheet) SetGroupSummaryRight ¶
void xlSheetSetGroupSummaryRightW(SheetHandle handle, int right);
func (*Sheet) SetHCenter ¶
void xlSheetSetHCenterW(SheetHandle handle, int hCenter);
func (*Sheet) SetHeader ¶
int xlSheetSetHeaderW(SheetHandle handle, const wchar_t* header, double margin);
func (*Sheet) SetHorPageBreak ¶
int xlSheetSetHorPageBreakW(SheetHandle handle, int row, int pageBreak);
func (*Sheet) SetLandscape ¶
void xlSheetSetLandscapeW(SheetHandle handle, int landscape);
func (*Sheet) SetMarginBottom ¶
void xlSheetSetMarginBottomW(SheetHandle handle, double margin);
func (*Sheet) SetMarginLeft ¶
void xlSheetSetMarginLeftW(SheetHandle handle, double margin);
func (*Sheet) SetMarginRight ¶
void xlSheetSetMarginRightW(SheetHandle handle, double margin);
func (*Sheet) SetMarginTop ¶
void xlSheetSetMarginTopW(SheetHandle handle, double margin);
func (*Sheet) SetMerge ¶
int xlSheetSetMergeW(SheetHandle handle, int rowFirst, int rowLast, int colFirst, int colLast);
func (*Sheet) SetNamedRange ¶
func (xs *Sheet) SetNamedRange(name string, rowFirst int, rowLast int, colFirst int, colLast int, scopeId int) int
int xlSheetSetNamedRangeW(SheetHandle handle, const wchar_t* name, int rowFirst, int rowLast, int colFirst, int colLast, int scopeId);
func (*Sheet) SetPicture ¶
func (xs *Sheet) SetPicture(row int, col int, pictureId int, scale float64, offsetX int, offsetY int, pos int)
void xlSheetSetPictureW(SheetHandle handle, int row, int col, int pictureId, double scale, int offset_x, int offset_y, int pos);
func (*Sheet) SetPicture2 ¶
func (xs *Sheet) SetPicture2(row int, col int, pictureId int, width int, height int, offsetX int, offsetY int, pos int)
void xlSheetSetPicture2W(SheetHandle handle, int row, int col, int pictureId, int width, int height, int offset_x, int offset_y, int pos);
func (*Sheet) SetPrintArea ¶
void xlSheetSetPrintAreaW(SheetHandle handle, int rowFirst, int rowLast, int colFirst, int colLast);
func (*Sheet) SetPrintFit ¶
void xlSheetSetPrintFitW(SheetHandle handle, int wPages, int hPages);
func (*Sheet) SetPrintGridlines ¶
void xlSheetSetPrintGridlinesW(SheetHandle handle, int print);
func (*Sheet) SetPrintRepeatCols ¶
void xlSheetSetPrintRepeatColsW(SheetHandle handle, int colFirst, int colLast);
func (*Sheet) SetPrintRepeatRows ¶
void xlSheetSetPrintRepeatRowsW(SheetHandle handle, int rowFirst, int rowLast);
func (*Sheet) SetPrintRowCol ¶
void xlSheetSetPrintRowColW(SheetHandle handle, int print);
func (*Sheet) SetPrintZoom ¶
void xlSheetSetPrintZoomW(SheetHandle handle, int zoom);
func (*Sheet) SetProtect ¶
void xlSheetSetProtectW(SheetHandle handle, int protect);
func (*Sheet) SetProtectEx ¶
void xlSheetSetProtectExW(SheetHandle handle, int protect, const wchar_t* password, int enhancedProtection);
func (*Sheet) SetRightToLeft ¶
void xlSheetSetRightToLeftW(SheetHandle handle, int rightToLeft);
func (*Sheet) SetRow ¶
int xlSheetSetRowW(SheetHandle handle, int row, double height, FormatHandle format, int hidden);
func (*Sheet) SetRowHidden ¶
int xlSheetSetRowHiddenW(SheetHandle handle, int row, int hidden);
func (*Sheet) SetTabColor ¶
void xlSheetSetTabColorW(SheetHandle handle, int color);
func (*Sheet) SetTabRgbColor ¶
void xlSheetSetTabRgbColorW(SheetHandle handle, int red, int green, int blue);
func (*Sheet) SetTopLeftView ¶
void xlSheetSetTopLeftViewW(SheetHandle handle, int row, int col);
func (*Sheet) SetVCenter ¶
void xlSheetSetVCenterW(SheetHandle handle, int vCenter);
func (*Sheet) SetVerPageBreak ¶
int xlSheetSetVerPageBreakW(SheetHandle handle, int col, int pageBreak);
func (*Sheet) Table ¶
func (xs *Sheet) Table(index int) (tableName string, rowFirst int, rowLast int, colFirst int, colLast int, headerRowCount int, totalsRowCount int)
string xlSheetTableW(SheetHandle handle, int index, int* rowFirst, int* rowLast, int* colFirst, int* colLast, int* headerRowCount, int* totalsRowCount);
func (*Sheet) WriteBlank ¶
int xlSheetWriteBlankW(SheetHandle handle, int row, int col, FormatHandle format);
func (*Sheet) WriteBool ¶
int xlSheetWriteBoolW(SheetHandle handle, int row, int col, int value, FormatHandle format);
func (*Sheet) WriteComment ¶
void xlSheetWriteCommentW(SheetHandle handle, int row, int col, const wchar_t* value, const wchar_t* author, int width, int height);
func (*Sheet) WriteError ¶
void xlSheetWriteErrorW(SheetHandle handle, int row, int col, int error, FormatHandle format);
func (*Sheet) WriteFormula ¶
generic writeFormula function handling multiple types at once
func (*Sheet) WriteFormulaBool ¶
int xlSheetWriteFormulaBoolW(SheetHandle handle, int row, int col, const wchar_t* expr, int value, FormatHandle format);
func (*Sheet) WriteFormulaNil ¶
int xlSheetWriteFormulaW(SheetHandle handle, int row, int col, const wchar_t* value, FormatHandle format);
func (*Sheet) WriteFormulaNum ¶
int xlSheetWriteFormulaNumW(SheetHandle handle, int row, int col, const wchar_t* expr, double value, FormatHandle format);
func (*Sheet) WriteFormulaStr ¶
int xlSheetWriteFormulaStrW(SheetHandle handle, int row, int col, const wchar_t* expr, const wchar_t* value, FormatHandle format);
func (*Sheet) WriteNum ¶
int xlSheetWriteNumW(SheetHandle handle, int row, int col, double value, FormatHandle format);