Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/plandem/xlsx
/ functions
Functions
811 in github.com/plandem/xlsx
⨍
Functions
811
◇
Types & classes
201
↓ 444 callers
Method
Equal
(value interface{}, s *styles.Info)
format/conditional/rule/value.go:127
↓ 185 callers
Method
String
String return textual version of bounds
internal/ml/primitives/bounds.go:79
↓ 102 callers
Method
Add
Add adds a new ref into the BoundsList
internal/ml/primitives/bounds_list.go:43
↓ 98 callers
Method
CellByRef
CellByRef returns a cell for ref
sheet.go:34
↓ 69 callers
Function
New
New creates and returns Info object with requested options
format/styles/styles.go:26
↓ 67 callers
Function
New
New create and return ml.Color type for provided value, respecting built-in indexed colors
internal/color/color.go:13
↓ 65 callers
Function
Normalize
Normalize check if color in #RGB format and convert it into ARGB format
internal/color/color.go:27
↓ 57 callers
Method
Color
(rgb string)
format/styles/font.go:70
↓ 49 callers
Method
Cell
Cell returns a cell for 0-based indexes
sheet.go:32
↓ 47 callers
Method
SetValue
nolint SetValue sets a value
cell.go:254
↓ 46 callers
Method
Close
Close frees allocated by sheet resources
sheet.go:86
↓ 45 callers
Method
Values
Values returns values for all cells in range
range.go:56
↓ 40 callers
Method
Value
Value returns current raw value of cell
cell.go:37
↓ 38 callers
Method
Sheet
Sheet returns a sheet by 0-based index with required open mode options
spreadsheet.go:68
↓ 36 callers
Function
New
New creates and returns a new Info object that holds settings for hyperlink and related styles
types/hyperlink/hyperlink.go:40
↓ 36 callers
Function
Open
Open opens a XLSX file with name or io.Reader
xlsx.go:25
↓ 34 callers
Method
Type
(pt primitives.PatternType)
format/styles/fill.go:39
↓ 32 callers
Method
Hash
Hash builds hash code for all required values of Fill to use as unique index
internal/ml/hash.go:129
↓ 31 callers
Method
Dimension
Dimension returns total number of cols and rows in sheet
sheet.go:48
↓ 29 callers
Method
Validate
(r *Info)
format/conditional/rule/rule.go:13
↓ 25 callers
Method
Add
Add adds a new custom filter info for column with 0-based colIndex
filters.go:48
↓ 24 callers
Method
Row
Row returns a row for 0-based index
sheet.go:38
↓ 21 callers
Method
AddSheet
AddSheet adds a new sheet with name to document
spreadsheet.go:111
↓ 21 callers
Method
Col
Col returns a col for 0-based index
sheet.go:42
↓ 20 callers
Method
Resolve
(index int)
columns.go:20
↓ 20 callers
Method
Set
Set sets new options for hyperlink
types/hyperlink/hyperlink.go:49
↓ 19 callers
Function
BoundsFromIndexes
BoundsFromIndexes returns a Bounds information for provided 0-based indexes
internal/ml/primitives/bounds.go:22
↓ 19 callers
Method
String
String returns text version of hyperlink info
types/hyperlink/hyperlink.go:109
↓ 19 callers
Function
ToFile
ToFile sets target to external file
types/hyperlink/hyperlink.go:163
↓ 18 callers
Function
from
nolint private method used by stylesheet manager to unpack Info
format/styles/styles.go:62
↓ 17 callers
Function
New
New creates and returns a new XLSX document
xlsx.go:39
↓ 17 callers
Method
Overlaps
Overlaps checks if bounds intersects with another bounds
internal/ml/primitives/bounds.go:53
↓ 16 callers
Method
AddStyles
AddStyles adds a new style formatting to document and return related ID that can be used lately
spreadsheet.go:165
↓ 15 callers
Method
HasNext
HasNext returns true if there are cols to iterate or false in other case
col_iterator.go:13
↓ 15 callers
Method
Next
Next returns next Col in sheet and corresponding index
col_iterator.go:10
↓ 15 callers
Method
Size
(size float64)
format/styles/font.go:76
↓ 15 callers
Method
ToIndexes
ToIndexes returns 0-based indexes of reference
internal/ml/primitives/cell_ref.go:19
↓ 14 callers
Method
HAlign
(ha primitives.HAlignType)
format/styles/alignment.go:22
↓ 14 callers
Method
Walk
Walk calls callback cb for each Cell in range
range.go:68
↓ 13 callers
Method
Get
Get returns a resolved comment info for provided ref or nil if there is no any comment
comments.go:156
↓ 13 callers
Method
RangeByRef
RangeByRef returns a range for ref
sheet.go:46
↓ 13 callers
Method
SetStyles
SetStyles sets default style for the row. Affects cells not yet allocated in the row. In other words, this style applies to new cells.
row.go:47
↓ 13 callers
Method
ToBounds
ToBounds returns related bounds of Ref
internal/ml/primitives/ref.go:30
↓ 11 callers
Function
CellRefFromIndexes
CellRefFromIndexes is alias of original primitives.CellRefFromIndexes to make it public
types/alias.go:40
↓ 11 callers
Method
Name
Name returns name of sheet
sheet.go:78
↓ 11 callers
Method
String
String returns formatted value as string respecting cell number format and type. Any errors ignored to conform String() interface.
cell.go:61
↓ 11 callers
Method
Type
Type returns current type of cell
cell.go:32
↓ 11 callers
Function
createStylesAndFill
(callback func(*Info))
format/styles/styles_test.go:16
↓ 11 callers
Function
isCellEmpty
isCellEmpty checks if cell is empty - has no value and any formatting
sheet_info.go:42
↓ 10 callers
Method
Set
Set sets new options for style
format/styles/styles.go:54
↓ 10 callers
Method
SetOptions
Set sets options for sheet
sheet.go:82
↓ 10 callers
Method
SetText
SetText sets shared rich text
cell.go:127
↓ 10 callers
Method
Stop
(position float64, rgb string)
format/styles/fill.go:109
↓ 10 callers
Function
ToBookmark
ToBookmark sets target to bookmark, that can be named region in xlsx, bookmark of remote file or even site
types/hyperlink/hyperlink.go:198
↓ 10 callers
Method
VAlign
(va primitives.VAlignType)
format/styles/alignment.go:16
↓ 10 callers
Method
expandIfRequired
expandIfRequired expands grid to required dimension
sheet_readwrite.go:266
↓ 10 callers
Method
setValue
(r *Info, s *styles.Info, formula string, t primitives.TimePeriodType)
format/conditional/rule/time_period.go:30
↓ 9 callers
Method
Background
(rgb string)
format/styles/fill.go:32
↓ 9 callers
Function
CellRefFromIndexes
CellRefFromIndexes returns a CellRef for 0-based indexes
internal/ml/primitives/cell_ref.go:37
↓ 9 callers
Method
Contains
Contains checks if indexes cIdx and rIdx are inside of bounds
internal/ml/primitives/bounds.go:48
↓ 9 callers
Method
Max
(value string, settings ...interface{})
format/conditional/rule/databar.go:66
↓ 9 callers
Method
Remove
Remove removes filter info for column with 0-based colIndex
filters.go:69
↓ 9 callers
Function
ToRef
ToRef sets target to ref of sheet with sheetName. Omit sheetName to set location to ref of active sheet
types/hyperlink/hyperlink.go:183
↓ 9 callers
Function
ToUrl
ToUrl sets target to web site
types/hyperlink/hyperlink.go:155
↓ 9 callers
Function
fromRichText
(text *ml.StringItem)
rich_text.go:96
↓ 9 callers
Method
mode
private methods to use by internals only
sheet.go:89
↓ 8 callers
Method
IsEmpty
IsEmpty return true if type was not initialized
internal/ml/primitives/bounds.go:87
↓ 8 callers
Function
OptionalBool
OptionalBool is helper function that allow encode/decode optional boolean, where false should not be omitted - mostly for booleans with default true v
internal/ml/primitives/helpers.go:12
↓ 8 callers
Method
Rows
Rows returns iterator for all rows of sheet
sheet.go:36
↓ 8 callers
Function
ToMail
ToMail sets target to email
types/hyperlink/hyperlink.go:142
↓ 8 callers
Function
isRowEmpty
isRowEmpty checks if row is empty (supposed that only non empty cells here) - has no cells
sheet_info.go:51
↓ 8 callers
Method
setValue
nolint
format/conditional/rule/value.go:57
↓ 8 callers
Function
toRichText
nolint
rich_text.go:23
↓ 7 callers
Function
BoundsFromIndexes
BoundsFromIndexes is alias of original primitives.BoundsFromIndexes to make it public
types/alias.go:45
↓ 7 callers
Method
InsertCol
InsertCol inserts a col at 0-based index and returns it. Using to insert a col between other cols.
sheet.go:56
↓ 7 callers
Method
InsertRow
InsertRow inserts a row at 0-based index and returns it. Using to insert a row between other rows.
sheet.go:52
↓ 7 callers
Method
IsAllowed
IsAllowed check if type is in list of allowed types
internal/ml/primitives/condition_value_type.go:45
↓ 7 callers
Method
SetInt
SetInt sets an signed integer value
cell.go:168
↓ 7 callers
Method
SheetNames
SheetNames returns a names of all sheets
spreadsheet.go:46
↓ 7 callers
Method
Underline
(underline primitives.UnderlineType)
format/styles/font.go:82
↓ 6 callers
Method
Bool
Bool try to convert and return current raw value as bool
cell.go:110
↓ 6 callers
Method
Delete
(index int)
columns.go:60
↓ 6 callers
Method
Family
(family primitives.FontFamilyType)
format/styles/font.go:64
↓ 6 callers
Method
Float
Float try to convert and return current raw value as float64
cell.go:101
↓ 6 callers
Method
Int
Int try to convert and return current raw value as signed integer
cell.go:83
↓ 6 callers
Method
Merge
Merge merges range
range.go:126
↓ 6 callers
Function
New
New creates and returns Info object with requested options
format/conditional/rule/rule.go:28
↓ 6 callers
Function
ToBool
ToBool tries to convert string into bool type
internal/number_format/convert/convert.go:18
↓ 6 callers
Method
info
()
sheet.go:90
↓ 6 callers
Method
initIfRequired
(r *Info)
format/conditional/rule/average.go:20
↓ 5 callers
Method
Bottom
(bottom float64)
format/styles/fill.go:102
↓ 5 callers
Method
Degree
(degree float64)
format/styles/fill.go:74
↓ 5 callers
Method
Indent
(i int)
format/styles/alignment.go:38
↓ 5 callers
Function
IsBuiltIn
IsBuiltIn returns true if id is one of built-in
internal/number_format/types.go:41
↓ 5 callers
Method
Left
(left float64)
format/styles/fill.go:81
↓ 5 callers
Function
New
New create and return ml.NumberFormat type for provided values, respecting built-in number formats
internal/number_format/types.go:36
↓ 5 callers
Function
NumberFormatID
NumberFormatID is option to update Info with provided id of already existing or built-in number format
format/styles/number.go:19
↓ 5 callers
Method
ReadingOrder
(i int)
format/styles/alignment.go:58
↓ 5 callers
Function
RefFromIndexes
RefFromIndexes is alias of original primitives.RefFromIndexes to make it public
types/alias.go:35
↓ 5 callers
Method
RelativeIndent
(i int)
format/styles/alignment.go:44
next →
1–100 of 811, ranked by callers