You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let documentPath:String = Bundle.main.path(forResource: "demo1", ofType: "xlsx")!
let spreadsheet: BRAOfficeDocumentPackage = BRAOfficeDocumentPackage.open(documentPath)
let fooWorkSheet: BRAWorksheet = spreadsheet.workbook.worksheets[0] as! BRAWorksheet
It is working fine with below :
let title = NSMutableAttributedString(string: "title", attributes: [
.font: FONT_BOLD(30),
.foregroundColor: UIColor.red
])
fooWorkSheet.cell(forCellReference: "Title", shouldCreate: true)?.setAttributedStringValue(title)
But It is not working with below :
let title = NSMutableAttributedString(string: "title", attributes: [
.link: "http://www.google.com"
])
fooWorkSheet.cell(forCellReference: "Title", shouldCreate: true)?.setAttributedStringValue(title)
Can you please help me ?
The text was updated successfully, but these errors were encountered:
let documentPath:String = Bundle.main.path(forResource: "demo1", ofType: "xlsx")!
let spreadsheet: BRAOfficeDocumentPackage = BRAOfficeDocumentPackage.open(documentPath)
let fooWorkSheet: BRAWorksheet = spreadsheet.workbook.worksheets[0] as! BRAWorksheet
It is working fine with below :
let title = NSMutableAttributedString(string: "title", attributes: [
.font: FONT_BOLD(30),
.foregroundColor: UIColor.red
])
fooWorkSheet.cell(forCellReference: "Title", shouldCreate: true)?.setAttributedStringValue(title)
But It is not working with below :
let title = NSMutableAttributedString(string: "title", attributes: [
.link: "http://www.google.com"
])
fooWorkSheet.cell(forCellReference: "Title", shouldCreate: true)?.setAttributedStringValue(title)
Can you please help me ?
The text was updated successfully, but these errors were encountered: