Apply a new Graphics Style in Impress

Discuss the presentation application
Post Reply
TheodoreNorvell
Posts: 5
Joined: Mon Jan 21, 2019 5:22 pm

Apply a new Graphics Style in Impress

Post by TheodoreNorvell »

I've successfully created a new Graphics Style called "code" using the Styles and Formatting window.

I did this by selecting some text that looked the way I wanted and then creating a new style with the "new style from selection" icon in the Styles and Formatting window. The new style looks ok in that when I edit it, the edit dialog shows the right font, size, and colour.

But now how can I change existing text to use the new style or add new text in the new style?

I would have expected that selecting some text and then clicking or double-clicking on the word "code" in the styles and formatting window would do it.
Last edited by TheodoreNorvell on Tue Jan 22, 2019 6:55 pm, edited 1 time in total.
OpenOffice 4.1.6 on MacOS 10.14
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Apply a new Graphics Style in Impress

Post by RoryOF »

If direct formatting has been applied to the text required to be converted to the new style, the direct formatting will take precedence. Clear the formatting by selecting that text and pressing Ctrl M, then you should be able to apply the new style by a double click in Styles and Formatting.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
TheodoreNorvell
Posts: 5
Joined: Mon Jan 21, 2019 5:22 pm

Re: Apply a new Graphics Style in Impress

Post by TheodoreNorvell »

Cntl-m just replaced the text with an "m". Cmd-m minimized the window. Is there a way to do this with the menu or a shortcut that works on the Mac?

I did try Format >> Default Formatting . This did not help.

Another thing I tried is selecting my new style in the Styles and Formatting window and the clicking on the Fill Format button. This changed the mouse pointer to a paint bucket, but dragging that around did not change the appearance of my text. (This works in Writer, as does double clicking. It's just in Impress that I'm getting nowhere.)
OpenOffice 4.1.6 on MacOS 10.14
User avatar
Zizi64
Volunteer
Posts: 11345
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Apply a new Graphics Style in Impress

Post by Zizi64 »

Please upload your ODF type sample file with the created and applied styles here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
TheodoreNorvell
Posts: 5
Joined: Mon Jan 21, 2019 5:22 pm

Re: Apply a new Graphics Style in Impress

Post by TheodoreNorvell »

See the attached example.
Attachments
small-sample.odp
(17.13 KiB) Downloaded 233 times
OpenOffice 4.1.6 on MacOS 10.14
User avatar
Zizi64
Volunteer
Posts: 11345
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Apply a new Graphics Style in Impress

Post by Zizi64 »

Hi! here is my sample:
Impress styles.odp
(17.41 KiB) Downloaded 233 times
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
TheodoreNorvell
Posts: 5
Joined: Mon Jan 21, 2019 5:22 pm

Re: Apply a new Graphics Style in Impress

Post by TheodoreNorvell »

Thanks Zizi64. So, if I understand right, in Impress, the "graphics styles" can be applied to text boxes (and I suppose other graphical objects) but not to chunks of text within a text box or to chunks of text within ordinary paragraphs.

This is in contrast to Writer where we have "Character styles" that can be applied with more granularity.

As quick follow up: if I want an ordinary paragraph like this
The process pause(t) >> q, when run pauses t miliseconds and then executes process q.
Is there a reasonably easy way to apply styling to individual chunks of text?

In each case I want to change the font, font size, and font colour. It seems like the Format Paintbrush might be the least awkward way, but I'm hoping there is a better one.
Last edited by TheodoreNorvell on Wed Jan 23, 2019 9:00 pm, edited 1 time in total.
OpenOffice 4.1.6 on MacOS 10.14
User avatar
Zizi64
Volunteer
Posts: 11345
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Apply a new Graphics Style in Impress

Post by Zizi64 »

if I understand right, in Impress, the "graphics styles" can be applied to text boxes (and I suppose other graphical objects) but not to chunks of text within a text box or to chunks of text within ordinary paragraphs.

This is in contrast to Writer where we have "Character styles" that can be applied with more granularity.
Yes, you are right: there is not paragraph styles in the Impress application.
Last edited by Zizi64 on Thu Jan 24, 2019 10:21 am, edited 1 time in total.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
TheodoreNorvell
Posts: 5
Joined: Mon Jan 21, 2019 5:22 pm

Re: Apply a new Graphics Style in Impress

Post by TheodoreNorvell »

Tibor: thanks for all your help.

I'm not sure if this is solved or not. What I've learned is that what I wanted to do can't be done.
OpenOffice 4.1.6 on MacOS 10.14
Post Reply