ycphs / openxlsx

openxlsx - a fast way to read and write complex xslx files

Home Page:https://ycphs.github.io/openxlsx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to apply TextDecoration from CreateStyle selectively inside a cell?

AlvaroMCMC opened this issue · comments

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
The problem is TextDecoration of CreateStyle can only be applied to the full extent of cell and not selectively.

Describe the solution you'd like
image
Se second word of the image above is not italic and to be like that: only the first and third word to be italic.

Describe alternatives you've considered
another argument can be added to CreateStyle where you can set the position of the cell where you need the style be applied.
where_to : c(1:5, 6, 9) or negatively where_to : -c(5:8, 9)

Additional context
This is necessary in some cases like the image above.

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.

This issue was closed because it has been stalled for 7 days with no activity.