Bug 152653 - Introduce proper Paragraph Style support in Impress/Draw
Summary: Introduce proper Paragraph Style support in Impress/Draw
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ODF-import 152652
  Show dependency treegraph
 
Reported: 2022-12-23 14:20 UTC by Eyal Rozenberg
Modified: 2024-11-21 08:17 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
presentation with custom 'paragraph' styles used on fist slide (88.34 KB, application/vnd.oasis.opendocument.presentation)
2024-07-18 09:08 UTC, Cor Nouws
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-12-23 14:20:16 UTC
Impress has objects contains multi-paragraph text. These paragraphs have individual settings of alignment, direction, line spacing, space before/after, etc. - but there are no Paragraph Styles - in the same or similar sense as those of LO Writer - which we can apply to them. At least, the is no UI for adding such styles.

As Regina Henschel indicated in the discussion on bug 40871, comment 14 - the ODF spec _does_ support paragraph styles in presentation; and MS Powerpoint presents such presentations correctly.

These styles should be fully supported in LO Impress/Draw.
Comment 1 m_a_riosv 2022-12-23 15:30:43 UTC Comment hidden (obsolete)
Comment 2 Eyal Rozenberg 2022-12-23 18:16:03 UTC Comment hidden (obsolete)
Comment 3 m_a_riosv 2022-12-23 22:14:28 UTC Comment hidden (obsolete)
Comment 4 Eyal Rozenberg 2022-12-23 22:16:42 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2022-12-24 08:12:00 UTC Comment hidden (obsolete)
Comment 6 Eyal Rozenberg 2023-01-16 11:43:57 UTC
Regina had indicated that ODF already supports these (see https://bugs.documentfoundation.org/show_bug.cgi?id=40871#c14).
Comment 7 Cor Nouws 2024-07-17 21:15:02 UTC
(In reply to Eyal Rozenberg from comment #0)
> Impress has objects contains multi-paragraph text. These paragraphs have
> individual settings of alignment, direction, line spacing, space
> before/after, etc.
Correct. These settings (well, nearly all) are stored in outline styles Outline 1 - Outline 9, with inheritance for some attributes.

> but there are no Paragraph Styles - in the same or
> similar sense as those of LO Writer - which we can apply to them. At least,
> the is no UI for adding such styles.
I would say that is due to the design of Impress, where Outline styles are bound to Outline frames, and part of the Master Slide, and the use on a slide depends on the chosen Layout (on top of the Master slide).

> As Regina Henschel indicated in the discussion on bug 40871, comment 14 -
> the ODF spec _does_ support paragraph styles in presentation; and MS
> Powerpoint presents such presentations correctly.
> 
> These styles should be fully supported in LO Impress/Draw.
As an extra feature, why not.
Comment 8 Cor Nouws 2024-07-18 09:08:07 UTC
Created attachment 195366 [details]
presentation with custom 'paragraph' styles used on fist slide

Hi,

Attached a presentation showing how you can use/create 'paragraph' styles in Impress/Draw.

I would love to understand what people think they will use paragraph styles for, assuming they make use the formatting/styles concept that our presentation module offers of course :p 

thanks :)
Comment 9 Cor Nouws 2024-08-02 15:26:03 UTC
(In reply to Cor Nouws from comment #8)
> I would love to understand what people think they will use paragraph styles
> for, assuming they make use the formatting/styles concept that our
> presentation module offers of course :p 
Any hints here pls?
Comment 10 Eyal Rozenberg 2024-08-02 17:58:03 UTC
(In reply to Cor Nouws from comment #8)
Sorry, I missed that comment.

> Attached a presentation showing how you can use/create 'paragraph' styles in
> Impress/Draw.

Cor, this bug is about styles of _paragraphs_, not of drawing objects. When you set a drawing object style, it affects all paragraph entire object. 

> I would love to understand what people think they will use paragraph styles
> for,

Most of the ways they use paragraph styles for in Writer (and especially in boxes within Writer) - to style paragraph-level features like direction, indentation, vertical margins and spacing, etc.

> assuming they make use the formatting/styles concept that our
> presentation module offers of course :p 

Those definitely include paragraph-level direct formatting.
Comment 11 Cor Nouws 2024-08-07 20:17:45 UTC
(In reply to Eyal Rozenberg from comment #10)
> Sorry, I missed that comment.
NP :)

> Cor, this bug is about styles of _paragraphs_, not of drawing objects. When
> you set a drawing object style, it affects all paragraph entire object. 
Where are the paragraphs and paragraph markers in an object, Eyal?

> Most of the ways they use paragraph styles for in Writer (and especially in
> boxes within Writer) - to style paragraph-level features like direction,
> indentation, vertical margins and spacing, etc.
That sounds as a use case where there is a lot of text in shapes in a draw file.
Do you use Draw in such a way, with so many text - much more than a two pager - that you miss Writers outstanding features, Eyal?
If so, have you compared that work flow to one the other way round?

What I do appreciate personally as very useful for Draw, is that text can be set to adapt to the size of the text boxes.

So.. while we could adapt the idea of paragraph styles in Draw, I'm still not seeing it as more than a theoretical use case..
Comment 12 Eyal Rozenberg 2024-08-09 22:24:48 UTC
(In reply to Cor Nouws from comment #11)
> (In reply to Eyal Rozenberg from comment #10)
> > Sorry, I missed that comment.
> NP :)
> 
> > Cor, this bug is about styles of _paragraphs_, not of drawing objects. When
> > you set a drawing object style, it affects all paragraph entire object. 
> Where are the paragraphs and paragraph markers in an object, Eyal?

The paragraphs are right there, I don't know what you mean.


> That sounds as a use case where there is a lot of text in shapes in a draw
> file.

"A lot of text" = multiple paragraphs.

> Do you use Draw in such a way, with so many text - much more than a two
> pager

All text in an Impress/Draw object fits within a single page, by definition.

> I'm still not seeing it as more than a theoretical use case..

Theoretical? It's used on almost all Impress presentations - when we have bulleted lists of items. Each list item is a paragraph (or multiple paragraphs if you backspace to remove the bullet).

There's also the use of case of a long quotation from some source in a text box  + commentary using balloons or a separate region of the slide (bottom/side), typically with animation.
Comment 13 Cor Nouws 2024-08-19 13:26:58 UTC
(In reply to Eyal Rozenberg from comment #12)
> (In reply to Cor Nouws from comment #11)
> > (In reply to Eyal Rozenberg from comment #10)
> > > Sorry, I missed that comment.
> > NP :)
> > 
> > > Cor, this bug is about styles of _paragraphs_, not of drawing objects. When
> > > you set a drawing object style, it affects all paragraph entire object. 
> > Where are the paragraphs and paragraph markers in an object, Eyal?
> 
> The paragraphs are right there, I don't know what you mean.
Sorry, I mean they are not visible clear as in Writer.
When you seen multiple lines with breaks, it can still be one paragraph.

> > That sounds as a use case where there is a lot of text in shapes in a draw
> > file.
> 
> "A lot of text" = multiple paragraphs.
> 
> > Do you use Draw in such a way, with so many text - much more than a two
> > pager
> 
> All text in an Impress/Draw object fits within a single page, by definition.
My point is: if there's a lot of text editing, take the text editor, which luckily also very well supports images, shapes and other objects.

> > I'm still not seeing it as more than a theoretical use case..
> 
> Theoretical? It's used on almost all Impress presentations - when we have
> bulleted lists of items. Each list item is a paragraph (or multiple
> paragraphs if you backspace to remove the bullet).
Yes the outlines do have styles.

> There's also the use of case of a long quotation from some source in a text
> box  + commentary using balloons or a separate region of the slide
> (bottom/side), typically with animation.
I agree, but in the cases I know, that's not demanding many text style management.
Comment 14 Eyal Rozenberg 2024-08-19 13:56:05 UTC
(In reply to Cor Nouws from comment #13)
> My point is: if there's a lot of text editing, take the text editor,
> which luckily also very well supports images, shapes and other objects.

Nobody said there's a lot of text _editing_. Just that the text has multiple paragraphs on a page. But even if you took the text editor - great, you've edited the text, and now you want to move your edited text to a presentation and work on how it's presented. That includes working with paragraph styles.

> > There's also the use of case of a long quotation from some source in a text
> > box  + commentary using balloons or a separate region of the slide
> > (bottom/side), typically with animation.
> I agree, but in the cases I know, that's not demanding many text style
> management.

But of course they do - for the same reason as in Writer: Blockquotes, headings, item categorization (bad/mediocre/good , important/unimportant), etc. etc.