I'm bulk printing labels via a template merging fields from a database and one of the fields is a url. 1. I want the url to be laid out using word wrapping at the character/grapheme/symbol/whatever-unicode-calls-it level (similar to how terminals and naive text editors wrap words) as opposed to using a sophisticated hyphenation dictionary so I can maximize all the horizontal space possible. and 2. I want to disable the insertion of a hyphen character since I don't want the hyphen to be mistaken as a literal one (and also because the character consumes horizontal space).
I can understand how (1) would be required, particularly where space is limited, but I am not certain how this might best be implemented. It tends to imply detection / special treatment for URLs. I doubt the hyphenation facility (2) would be the best method / location for supporting (1), but I am not certain either. A separate option may be needed. Summary amended for clarity. Severity set to enhancement. Status set to NEW to try and get some input into how feasible this may be (or not).
Adding self to CC if not already on
Created attachment 188729 [details] sample ODT displaying issue both on page and in frame I guess this is not specific to labels nor to hyperlinks, the request is to allow some "wrap at character" paragraph setting instead of per "word", inside and outside frames. This attachments shows both cases: not much horizontal space on page or in frame. URL is split over three line when it could fit in two. Not sure how such a setting would interact with text alignment settings, and with off-page spaces (see for example bug 155494). My guess is that such a setting would live in the Paragraph dialog, Text Flow tab. Currently, the hyphenation settings don't allow a workaround. Tested in: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 47ca3f1f762352b488d58b3bf23d5776576f1cca CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
- In OOo 3.3, the attachment 188729 [details] would display the URL on two lines. - Since LO 6.0, the URL is split on three lines _only on page_ - Since LO 6.4, both URLs spread over three lines