Stumbled on this AskLibO question ( http://ask.libreoffice.org/en/question/21809/small-capitals-shortcut-or-icon/ ) where the suggested means of achieving the adding of small caps font effect is to create a macro, then assign the macro to the toolbar. We have other font effects in Format > Change Case, and it would be useful to have this also included there.
A twitter user also asked about this same feature ( https://twitter.com/sjhuskey/status/550313519217139714 ) as microsoft word has it as well as shortcut key.
No need for a macro, Small Capitals are already available for all fonts that support it. Would just need a button and .uno command to add to an appropriate toolbar or menu.
It is already easily applied:
Select text, or paragraph, to be formatted--then from main menu...
Format -> Character dialog,
Font Effects tab: Effects drop down as "Small capitals"
Should be able to link to that. It is in .UI already, so it may even be available as an .uno command, couldn't find it with a quick look though.
Yes i was aware that it was in the character dialog, but i didnt find it as an uno command when i searched for it, which lead me to suggest for its creation. :D
I was initially going to tell the twitter user to create a character style and then apply it when needed, but there isnt an easy means of selecting character styles unless you always have the styles window/sidebar open. :D
@Szymon: I believe this maybe one of the commands needed for the notebookbar.
The implementation of similar uno commands (like superscript) is independent in each application (Writer, Calc, Impress). It's not realistic to implement support for smallcaps in each in one shot, I think. So I'm limiting the scope of this particular bug to Writer text.
BTW, the option in the char format dialog is disabled in Calc, and in Impress (shape text) it's there, but the effect is only respected during editing (editeng rendering), not after text edit is finished (drawinglayer rendering). So plenty of opportunities for follow-up bugreports. ;-)
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":
tdf#87914 sw: add an initial .uno:SmallCaps command
It will be available in 5.3.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.
I'll mail the design list, so that other icon themes can be updated as well for the new icon.
would it be possible to write the icon names that it would be easier to add them to the other icon sets.
(In reply to andreas_k from comment #8)
> would it be possible to write the icon names that it would be easier to add
> them to the other icon sets.
*** Bug 81901 has been marked as a duplicate of this bug. ***