ycphs / openxlsx

openxlsx - a fast way to read and write complex xslx files
https://ycphs.github.io/openxlsx/
Other
220 stars 74 forks source link

How to apply TextDecoration from CreateStyle selectively inside a cell? #422

Closed AlvaroMCMC closed 5 months ago

AlvaroMCMC commented 1 year ago

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.

github-actions[bot] commented 5 months ago

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.

github-actions[bot] commented 5 months ago

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