qax-os / excelize

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
https://xuri.me/excelize
BSD 3-Clause "New" or "Revised" License
18.05k stars 1.71k forks source link

GetPictureCells() Fail #1894

Closed zhou7507 closed 4 months ago

zhou7507 commented 4 months ago

Description

I want to get all the coordinates of column B, but GetPictureCells() only returns one part

Steps to reproduce the issue:

func main() {
    f, err := excelize.OpenFile("./123.xlsx")
    if err != nil {
        fmt.Println(err)
    }
    axisList, err := f.GetPictureCells("Sheet1")
    if err != nil {
        fmt.Println(err)
    }
    fmt.Println(axisList)
}

image

Describe the results you received: [B1 B2 B7 B8 B9]

Describe the results you expected: [B1 B2 B3 B4 B5 B6 B7 B8 B9] Output of go version:

 go1.20.3 windows/amd64

Excelize version or commit ID:

[v2.8.1](https://github.com/xuri/excelize/releases/latest)

Environment details (OS, Microsoft Excel™ version, physical, etc.):

xuri commented 4 months ago

Thanks for your issue. If you open an existing workbook, please provide the file attachment without confidential info.

xuri commented 4 months ago

It seems still not have enough info of code and attachments to reproduce this issue, so I'll close this issue, if you have any questions, please let me know to reopen this anytime.

zhou7507 commented 4 months ago

123.xlsx this is file. @xuri

Describe the results you received: [B1 B2 B4 B7 B8 B9]

Describe the results you expected: [B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15]