rlwhitcomb / utilities

Some of my personal utility programs
MIT License
2 stars 0 forks source link

Add a text-wrapping function to Calc #650

Open rlwhitcomb opened 8 months ago

rlwhitcomb commented 8 months ago

Possible syntax could be:

s = wrap( ... long text ..., 80, true)

where the parameters are:

Of course, this only works for fixed-width font applications, but in combination with other report-generation capabilities, could be very useful for professional presentations.

In GUI mode, potentially the font could be specified, which then could use the font metrics to do the same thing with proportional spacing (stretch goal). You would then simply import the resulting file into any word-processing application, apply the given font, and have the text appropriately justified without any further manipulation.