Bug 76463 - Expose fielded date values to direct formatting of the Format -> Change case menu
Summary: Expose fielded date values to direct formatting of the Format -> Change case ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Character
  Show dependency treegraph
 
Reported: 2014-03-21 17:38 UTC by Thierry Munoz
Modified: 2019-02-24 23:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
2 date fields with character effect title for the first. (32.36 KB, application/vnd.oasis.opendocument.text)
2014-03-21 17:38 UTC, Thierry Munoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Munoz 2014-03-21 17:38:36 UTC
Created attachment 96180 [details]
2 date fields with character effect title for the first.

Hi,
My proposal seems to the issue 66914 https://bugs.freedesktop.org/show_bug.cgi?id=66914 but I think it's different.

I have a date field formated to show the date with words rather than numbers. But I can't capitalize the first letter of the first word. If I apply the character effect "title" all the words have the first letter capitalized.
To bypass this problem, I have to insert 2 fields of date (see the attachment) with the first with character effect "title".
So, could we have a new character effect "Capitalize for sentence" in order to capitalize the first letter of a sentence. Besides this enhancement could be used for the date fields with words.

Sorry for my poor english. Regards,

Thierry
Comment 1 V Stuart Foote 2014-05-19 19:18:27 UTC
Fielded dates like the example receive autoformat/completion

The default lowercase formatting in fr local seems correct for date inputs in that local.

With the specific date code (from https://help.libreoffice.org/Common/Number_Format_Codes ) of NNNNJ MMMM - I get the correct date entry for French language use-- e.g. "lundi 19 mai"

Or, working in en-US if I open a new document, and insert a Field then apply the Date formatting code of NNNND MMMM - I get the expected capitalization -- e.g. "Monday, 19 May"

So the auto-formatting and completion is correct and WAD.

Also, most formatting actions from the Formatting tool bar or the F11 Formats & Style dialog seem to apply to the fielded date without issue.

But, can not use the actions from the  Format -> Change case menu, i.e. Sentence case, lower case, upper case, Capitalize  every word, or toggle case against dates inserted into these fields.

The enhancement would be ability to apply a capitalization style to format the fielded date data. 

Related to bug 66914--to integrate fielded data into paragraph formatting--but here would be to expose fielded date entry to formatting actions not currently available to use.