lidp20
e2c7416292
This closes #1565 , support adjust formula when instering columns and rows ( #1567 )
2023-07-04 00:06:37 +08:00
xuri
700af6a529
This fixed #1564 , apply all of its arguments that meet multiple criteria
2023-07-03 00:05:26 +08:00
xuri
dcb26b2cb8
Made unit tests compatibility with the next Go language version
...
- Fix documents issues for the `AddChart` function
- Update GitHub sponsor profile
2023-06-30 05:19:00 +00:00
xuri
f8aa3adf7e
This closes #1553 , the `AddChart` function support set primary titles
...
- Update unit tests and documentation
- Lint issues fixed
2023-06-18 00:13:03 +08:00
chengxinyao
9bc3fd7e9f
This optimize the code, simplify unit test and drawing object position calculation ( #1561 )
...
Co-authored-by: xinyao.cheng <xinyao.cheng@zerone.com.cn>
2023-06-14 22:49:40 +08:00
xuri
8e891b52c6
This closes #1560 , fix incorrect row number when get object position
2023-06-12 00:09:40 +08:00
vb6iscool
78c974d855
New function `GetPanes` for get sheet panes and view selection ( #1556 )
...
- Breaking changes: rename exported type `PaneOptions` to `Selection`
- Update unit tests
- Upgrade dependencies package
- Add internal error variables
- Simplify variable declarations
2023-06-08 09:50:38 +08:00
xuri
661c0eade9
Support apply built-in number format code 22 with custom short date pattern
2023-06-05 00:06:27 +08:00
xuri
121ac17ca0
This fixed incorrect formula calculation exception expected result
...
- Simplify and remove duplicate code for optimization
- Update documentation comments with typo fix
- Handle error return to save the workbook
- Add file path length limitation details in the error message
2023-05-30 00:19:12 +08:00
壹次心
e3fb2d7bad
This closes #1548 , support to get multiple images in one cell ( #1549 )
2023-05-28 00:46:34 +08:00
joehan109
16efeae5b1
This fix date and time pattern validation issues ( #1547 )
2023-05-27 00:22:35 +08:00
xuri
76cd0992b0
This closes #1539 , fix adjust table issue when after removing rows
2023-05-23 00:18:55 +08:00
Eng Zer Jun
c232748400
This avoid unnecessary byte/string conversion ( #1541 )
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-05-22 09:24:28 +08:00
xuri
a246db6a40
This closes #279 , refs #1536 , change the default point to pixels conversion factor
2023-05-19 19:53:18 +08:00
xuri
08ba2723fe
This closes #1536 , support fallback to default column width in sheet format property
2023-05-18 20:33:16 +08:00
xuri
ef3e81de8e
This fixed across worksheet reference issue for the formula calculation engine
2023-05-17 00:05:27 +08:00
xuri
1088302331
This closes #1535 , add documentation for the fields for style alignment
2023-05-16 09:44:08 +08:00
xuri
49234fb95e
Ref #1199 , this support applies partial built-in language number format code
...
- Remove the `Lang` field in the `Style` data type
- Rename field name `ShortDateFmtCode` to `ShortDatePattern` in the `Options` data type
- Rename field name `LongDateFmtCode` to `LongDatePattern` in the `Options` data type
- Rename field name `LongTimeFmtCode` to `LongTimePattern` in the `Options` data type
- Apply built-in language number format code number when creating a new style
- Checking and returning error if the date and time pattern was invalid
- Add new `Options` field `CultureInfo` and new exported data type `CultureName`
- Add new culture name types enumeration for country code
- Update unit tests
- Move built-in number format code and currency number format code definition source code
- Remove the built-in language number format code mapping with Unicode values
- Fix incorrect number formatted result for date and time with 12 hours at AM
2023-05-11 09:08:38 +08:00
fudali
dfdd97c0a7
This closes #1199 , support apply number format by system date and time options
...
- Add new options `ShortDateFmtCode`, `LongDateFmtCode` and `LongTimeFmtCode`
- Update unit tests
2023-05-06 20:34:18 +08:00
xuri
bbdb83abf0
This closes #660 , supports currency string, and switches argument for the number format code
...
- Support round millisecond for the date time
- Update built-in number formats mapping
- Update unit tests
- Upgrade dependencies package
2023-05-04 02:52:26 +00:00
xuri
7c221cf295
Ref #660 , support placeholder, padding and rounds numbers by specified number format code
...
- Remove built-in number formats functions
- Update unit tests
- Upgrade dependencies package
2023-04-30 11:10:51 +08:00
xuri
65fc25e7a6
Ref #1533 , this made number format text handler just handle text tokens
...
- Fix race conditions for concurrency read and write shared string table
- Unit tests has been updated
2023-04-26 00:04:47 +08:00
xuri
612f6f104c
This closes #1528 , closes #1533
...
- Avoid format text cell value as a numeric
- Fix race conditions for concurrency safety functions
2023-04-25 08:44:41 +08:00
xuri
93c72b4d55
This optimizes internal functions signature and mutex declarations
2023-04-24 00:02:13 +08:00
Chen Zhidong
787453c6f0
Optimizing regexp calls to improve performance ( #1532 )
2023-04-23 18:00:31 +08:00
xuri
63d8a09082
Breaking changes: rename exported variable `ErrTableNameLength` to `ErrNameLength`
...
- Check the defined name
- Improve the cell comment box shape size compatibility with KingSoft WPS
- Update unit test
2023-04-21 08:51:04 +08:00
xuri
fb6ce60bd5
This closes #1523 , preventing format text cell value as a numeric
...
- Simplify variable declaration and error return statements
- Remove the internal `xlsxTabColor` data type
- Using the `xlsxColor` data type instead of `xlsxTabColor`
- Update unit test, improve code coverage
2023-04-19 00:05:59 +08:00
xuri
d0ad0f39ec
This commit contains 5 changes:
...
- Fix incorrect comment box size for multi-line plain text comments
- Prevent create duplicate tables with the same name
- Add new exported error variable `ErrExistsTableName`
- Allocate buffer inside escape XML characters
- Update the unit tests
2023-04-17 08:48:30 +08:00
xuri
17c029494a
This closes #1519 , escape XML characters after checking cell value length
2023-04-16 14:22:55 +08:00
Valery Ozarnichuk
635ec33576
Support checking cell value length with multi-bytes characters ( #1517 )
2023-04-12 08:17:10 +08:00
dependabot[bot]
4196348f9f
Upgrade actions/setup-go from 3 to 4 ( #1512 )
2023-04-11 00:27:17 +08:00
xuri
799317eac5
This upgrade dependencies package
2023-04-10 00:02:20 +08:00
xuri
294f2e1480
Require using ChartType enumeration value to specify the chart type
...
- Update docs and unit tests
2023-04-01 00:08:53 +08:00
xuri
3b807c4bfe
This support get cell hyperlink for merged cells
2023-03-29 00:00:27 +08:00
xuri
9dbba9f34a
This closes #1508 , support SST index which contains blank characters
2023-03-28 00:05:18 +08:00
xuri
60b9d029a6
Breaking changes: changed the function signature for 4 exported functions
...
- Change
`func (f *File) AddVBAProject(bin string) error`
to
`func (f *File) AddVBAProject(file []byte) error`
- Change
`func (f *File) GetComments() (map[string][]Comment, error)`
to
`func (f *File) GetComments(sheet string) ([]Comment, error)`
- Change
`func (f *File) AddTable(sheet, rangeRef string, opts *TableOptions) error`
to
`func (f *File) AddTable(sheet string, table *Table) error`
- Change
`func (sw *StreamWriter) AddTable(rangeRef string, opts *TableOptions) error`
to
`func (sw *StreamWriter) AddTable(table *Table) error`
- Rename exported data type `TableOptions` to `Table`
- Simplify the assert statements in the unit tests
- Update documents for the functions
- Update unit tests
2023-03-25 13:30:13 +08:00
playGitboy
5878fbd282
This closes #1503 , case-insensitive for the file extension name
2023-03-23 00:06:10 +08:00
ChantXu64
a34c81e1cc
This closes #1448 , speed up for checking merged cells ( #1500 )
2023-03-20 09:17:28 +08:00
xuri
478b528af1
Breaking changes: changed the function signature for 2 exported functions
...
- Change
`func (f *File) AddPictureFromBytes(sheet, cell, name, extension string, file []byte, opts *GraphicOptions) error`
to
`func (f *File) AddPictureFromBytes(sheet, cell string, pic *Picture) error`
- Change
`func (f *File) GetPicture(sheet, cell string) (string, []byte, error)`
to
`func (f *File) GetPictures(sheet, cell string) ([]Picture, error)`
Co-authored-by: huangsk <645636204@qq.com>
2023-03-19 20:29:35 +08:00
xuri
7631fd08e1
This closes #1499 , support to set number format for chart data labels and axis
2023-03-18 20:45:34 +08:00
Rizki Putra
e394f01a97
This update the return value for the `CalcCellValue` function ( #1490 )
...
- Using formula error string in the result of the `CalcCellValue` function
- Using the error message in the `CalcCellValue` function returns error
- Update unit tests
2023-03-15 09:17:30 +08:00
xuri
0d193c76ac
This closes #1492 , fix data bar min/max value doesn't work
2023-03-14 00:58:20 +08:00
xuri
dc3bf331d5
Breaking change: changed the third parameter for the `AddFilter`
...
- Support to add multiple filter columns
- Remove the exported type `AutoFilterListOptions`
- Support to specify if show header row of the table
- Update unit tests and documents of the function
2023-03-04 00:07:04 +08:00
张涛
f707b2d2da
This closes #1484 , fix the formula calc result issue ( #1485 )
...
- Optimize variable name for data validation
2023-03-01 13:25:17 +08:00
xuri
65a53b3ec6
Breaking changes: replace the type `ShapeParagraph` with `RichTextRun`
...
- This removes the `Color` field from the type `Shape`, and uses the `Fill` instead of it
- Remove sharp symbol from hex RGB color
- Update unit tests
2023-02-27 00:05:36 +08:00
Baris Mar Aziz
669c432ca1
This fixes #756 , made stream writer skip set cell value when got nil ( #1481 )
2023-02-24 00:18:10 +08:00
xuri
94e86dca31
This renamed conditional format type `iconSet` to `icon_set`
...
- Remove Minimum, Maximum, MinLength, and MaxLength fields from the type `ConditionalFormatOptions`
- Update unit tests and format code
2023-02-22 22:46:36 +08:00
Shugo Kawamura
f143dd5c34
Support double-byte chars for formula functions LENB, RIGHTB and MIDB ( #1478 )
2023-02-21 00:17:35 +08:00
Shugo Kawamura
983cd76485
This closes #1476 , support double-byte chars for formula functions LEFT,RIGHT, LEN and MID ( #1477 )
2023-02-20 13:59:05 +08:00
xuri
cb0c1b012b
Support specifies the values in second plot for the bar/pie of pie chart
...
- Upgrade dependencies package golang.org/x/image to 0.5.0
- Update unit tests
2023-02-19 00:18:11 +08:00