Open BlackSkyJY opened 5 years ago
@BlackSkyJY This image looks like it's using the outline feature rather than simple text indent, unless the [-] is just a unicode character and the (N) values are just text.
I don't believe either outlining or text indent are currently features, but may be in the commercial version from @SheetJS. I'd recommend inquiring there.
Alternatively, you can unzip an .xlsx file that has such a tree (jar -xvf example.xlsx) and look at the Sheet1.xml to see how the indents are represented. The library is open source, so there's likely a way to extend it to write that XML.
@pietersv I just want something like 'text-indent',ignore ['-'] unicode character
@BlackSkyJY https://github.com/protobi/js-xlsx/blob/master/example-style.js addresses the indent with example
I want export tree data excel, look similar to this , I find font style not suport text-indent to set, Is there any way to solve it?