drop local hyper link from excel
This commit is contained in:
parent
736893b2aa
commit
a8bfd290eb
@ -247,7 +247,7 @@ func handleImage(file *excelize.File, sheet, cell, content string, count, row in
|
|||||||
}
|
}
|
||||||
|
|
||||||
descriptionsStr := strings.Join(descriptions, "\n")
|
descriptionsStr := strings.Join(descriptions, "\n")
|
||||||
linkText := fmt.Sprintf("%s\n Перейти в приложение", descriptionsStr)
|
linkText := fmt.Sprintf("%s\n Перейти в приложение %s!A%d", descriptionsStr, mediaSheet, mediaRow)
|
||||||
|
|
||||||
if err := file.SetCellValue(sheet, cell, linkText); err != nil {
|
if err := file.SetCellValue(sheet, cell, linkText); err != nil {
|
||||||
fmt.Println(err.Error())
|
fmt.Println(err.Error())
|
||||||
|
Loading…
Reference in New Issue
Block a user