Documentation
¶
Index ¶
- func ColumnAtoi(s string) int
- func ColumnItoa(num int) (col string)
- func DoFuncs(funcs ...interface{})
- func Except(info string, err *error, funcs ...interface{})
- func GetIDispatch(_idisp interface{}, args ...string) (idisp *ole.IDispatch)
- func GetProperty(idisp *ole.IDispatch, args ...string) (ret interface{}, err error)
- func MustGetProperty(idisp *ole.IDispatch, args ...string) interface{}
- func PutProperty(idisp *ole.IDispatch, args ...interface{}) (err error)
- func Release(idisps ...*ole.IDispatch)
- func RftCall(function reflect.Value, args ...reflect.Value) (err error)
- func String(val interface{}) (ret string)
- func ToValueArray(sac *ole.SafeArrayConversion) (values [][]interface{})
- type Cell
- type MSO
- func (mso *MSO) ActivateWorkBook(id interface{}) (wb WorkBook, err error)
- func (mso *MSO) ActiveWorkBook() (WorkBook, error)
- func (mso *MSO) AddSheet(args ...string) (Sheet, error)
- func (mso *MSO) AddWorkBook() (WorkBook, error)
- func (mso *MSO) CountSheets() int
- func (mso *MSO) CountWorkBooks() int
- func (mso *MSO) OpenWorkBook(full string) (WorkBook, error)
- func (mso *MSO) Pick(workx string, id interface{}) (ret *ole.IDispatch, err error)
- func (mso *MSO) Quit() (err error)
- func (mso *MSO) Save() []error
- func (mso *MSO) SaveAs(args ...interface{}) []error
- func (mso *MSO) SelectSheet(id interface{}) (sheet Sheet, err error)
- func (mso *MSO) SetOption(args ...interface{}) (err error)
- func (mso *MSO) Sheet(id interface{}) (Sheet, error)
- func (mso *MSO) Sheets() (sheets []Sheet)
- func (mso *MSO) WorkBooks() (wbs WorkBooks)
- type Option
- type Range
- type Sheet
- func (sheet Sheet) Cell(r int, c int) Cell
- func (sheet Sheet) Cells(r int, c int, vals ...interface{}) (ret string, err error)
- func (sheet Sheet) Delete() (err error)
- func (sheet Sheet) Get(args ...string) (ret interface{}, err error)
- func (sheet Sheet) GetCell(r int, c int, args ...string) (ret interface{}, err error)
- func (sheet Sheet) GetRange(rang string) (ret interface{}, err error)
- func (sheet Sheet) MustCells(r int, c int, vals ...interface{}) (ret string)
- func (sheet Sheet) MustGet(args ...string) interface{}
- func (sheet Sheet) MustGetCell(r int, c int, args ...string) interface{}
- func (sheet Sheet) MustGetRange(rang string) interface{}
- func (sheet Sheet) Name(args ...string) (name string)
- func (sheet Sheet) PutCell(r int, c int, args ...interface{}) (err error)
- func (sheet Sheet) PutRange(rang string, args ...interface{}) (err error)
- func (sheet Sheet) Range(rang string) Range
- func (sheet Sheet) ReadRow(args ...interface{})
- func (sheet Sheet) Select() (err error)
- type VARIANT
- type WorkBook
- type WorkBooks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColumnAtoi ¶
func ColumnItoa ¶
func GetIDispatch ¶
func GetIDispatch(_idisp interface{}, args ...string) (idisp *ole.IDispatch)
func GetProperty ¶
get Property as interface.
func MustGetProperty ¶
func MustGetProperty(idisp *ole.IDispatch, args ...string) interface{}
get Property as interface.
func PutProperty ¶
func PutProperty(idisp *ole.IDispatch, args ...interface{}) (err error)
put Property.
func ToValueArray ¶
func ToValueArray(sac *ole.SafeArrayConversion) (values [][]interface{})
from github.com/go-ole/go-ole/safearrayconversion.go:ToValueArray
Types ¶
type Cell ¶
type Cell struct {
*ole.IDispatch
}
type MSO ¶
type MSO struct { Option IuApp *ole.IUnknown IdExcel *ole.IDispatch IdWorkBooks *ole.IDispatch WorkBook WorkBook Version float64 FILEFORMAT map[string]int }
func Initialize ¶
func (*MSO) ActivateWorkBook ¶
func (*MSO) ActiveWorkBook ¶
func (*MSO) AddWorkBook ¶
func (*MSO) CountSheets ¶
func (*MSO) CountWorkBooks ¶
func (*MSO) SelectSheet ¶
type Range ¶
type Range struct {
*ole.IDispatch
}
type Sheet ¶
type Sheet struct {
*ole.IDispatch
}
func (Sheet) MustGetCell ¶
Must get cell Property as interface.
func (Sheet) MustGetRange ¶
Click to show internal directories.
Click to hide internal directories.