In Pootle string for cycling case shows Title Case, UPPERCASE, lowercase but what should be added is 'First word in uppercase' as some languages doesn't use Title Case and thus this feature is not practical for such cases.
Setting version to 6.1 (master) as string happens in Pootle under 'LibreOffice Master'.
Steps to Reproduce:
1. use cycle case
No result with only 'First word in uppercase'
Cycle should have option to do 'First word in uppercase'
User Profile Reset: No
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0
This is a Localised setting. I find it in:
Tools > AutoCorrect > AutoCorrect Options...
Capitalise first letter of every sentence, ticked
Does this help?
No, it's that's not it - it's not autocorrection.
Write any number of words in all caps, select those words, try SHIFT + F3 to activate cycle case feature. Keep pressing SHIFT + F3.
You get this:
but I would expect
also as Title Case is not used in some languages and it's logical that Cycle case covers all four possibilities.
UX: any reason to skip these case cases?
Seems reasonable. The Cycle case <Shift><F3> control rotates through just 3 ICU Transliteration configurations as initially implemented .
Adding a fourth for SentenceCase  should be possible, and seems appropriate--especially as the uno.ChangeCaseToSentenceCase action is otherwise just available in the Format -> Text menu, but can be added in customize.
The translated Function name "Cycle Case (Title Case, UPPERCASE, lowercase)" wss getting rather long--suggest we remove the parenthetical examples and assign it a tooltip instead?
Caolán, your thoughts on adding an additional Transliteration to the rotation?
I've no opinion on it.
It would be really nice to add the sentence capitalization.
(I think, LibreOffice needs also a real title case here or somewhere. This ugly “start case” is only an obsolete poor man's version of the common title cases, see https://en.wikipedia.org/wiki/Letter_case#Headings_and_publication_titles.)
No one disagree, so please do it. Qualified easyhack with code pointers in comment 4.
I guess that only switch statement in caserotate.cxx should be updated?
Sentence case is now #2 in the sequence. Didn't add toggle case as there wasn't agreement about it - and the longer the more iterations we have the less useful this command becomes. But could be done easily.
heiko tietze committed a patch related to this issue.
It has been pushed to "master":
tdf#116315 - Cycle Case including Sentence case
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
The resolution is not totally satisfactory:
When cycling through "Sentence case" it is the total sentence which is modified even if only one word is selected:
1. Write a sentence with some words uppercase
2. Select one word
3. Shift+F3 => uppercase for the selected word
4. Shift+F3 => lower for the selected word
5. Shift+F3 => capitalize first letter of the selected word
the whole sentence is capitalized as a sentence
only the selected word should be modified according to its place in the sentence.
@Laurent BP, should it be reported in a follow-up bug ?
(In reply to Xisco Faulí from comment #12)
> @Laurent BP, should it be reported in a follow-up bug ?
I opened bug 119495