Skip to content

GetPictures cannot retrieve images containing 'alt text' #2157

@shcabin

Description

@shcabin

Description

GetPictures cannot retrieve images containing 'alt text'

Steps to reproduce the issue

  1. insert picture place in cell
  2. add Alt Text, and/or "Mark as decorative"
  3. f.GetPictures("Sheet1", "A1") return empty

Image

The generated XML:
add Alt Text: <rv s="0"> <v>0</v> <v>5</v> <v>3D Glasses</v> </rv>
Mark as decorative: <rv s="0"> <v>1</v> <v>6</v> <v xml:space="preserve">Nice Team Sasquatch </v> </rv>

The code implementation requirements are: len (rv)==2&&rv [1]=="5"

Describe the results you received

GetPictures return empty

Describe the results you expected

GetPictures return like other picture.

Go version

1.24.2

Excelize version or commit ID

2.9.1

Environment

Linux

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions