Bug 126599 - Autotext from object anchored to paragraph should have only this one paragraph
Summary: Autotext from object anchored to paragraph should have only this one paragraph
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.5.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoText
  Show dependency treegraph
 
Reported: 2019-07-29 13:45 UTC by canned
Modified: 2020-09-28 08:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description canned 2019-07-29 13:45:52 UTC
Add settings for position frame to paragraph styles.

Advantage: A paragraph in position frame could also be saved as autotext (this is how it works in MS Word).
Comment 1 Regina Henschel 2019-07-29 16:41:18 UTC
Please consider, that here are LibreOffice experts but not Word experts. What do you want to achieve? It is likely, that LibreOffice can do what you want albeit different than Word.
Comment 2 Regina Henschel 2019-07-29 16:45:40 UTC
Is it the same as bug 126596?
Comment 3 canned 2019-07-29 16:51:39 UTC
(In reply to Regina Henschel from comment #2)
> Is it the same as bug 126596?

No, it is not the same. This proposal is mainly in the context of autotexts
Comment 4 canned 2019-07-29 16:55:12 UTC
(In reply to Regina Henschel from comment #1)
> Please consider, that here are LibreOffice experts but not Word experts.
> What do you want to achieve? It is likely, that LibreOffice can do what you
> want albeit different than Word.

I know. I don't want LibreOffice to simulate MS Word as a whole. My customer (a well-known german publisher) is considering switching from MS Word to LibreOffice. That's why I'm testing LibreOffice for some must-have basic functions.
Comment 5 Regina Henschel 2019-07-29 17:32:33 UTC
So please edit your wish so, that it describes the "basic function".

I case you want to have a frame in an Autotext, you need to anchor the frame "as character".
Comment 6 canned 2019-07-29 18:22:57 UTC
(In reply to Regina Henschel from comment #5)
> So please edit your wish so, that it describes the "basic function".
> 
> I case you want to have a frame in an Autotext, you need to anchor the frame
> "as character".


If I anchor a frame as character I cannot position it horizontally at all and not vertically to the page. I can't even add it as autotext without adding empty spaces before or after to select (an empty space which is saved with the autotext and which I have to delete after inserting the autotext). 

Basic Function: 1) Put a paragraph into an object frame whitout restrictions in vertical or horizontal positioning or in sizing. 2) Add this element as autotext whitout having to delete empty spaces or empty lines.
Comment 7 Regina Henschel 2019-07-29 19:06:25 UTC
You can use the anchor type "at paragraph" too. That allows to place the frame into a page margin. In that case you need to mark from the end of the previous paragraph to the start of the following paragraph. If you incidentally include a character, you can edit the autotext later and remove the character.
Comment 8 canned 2019-07-29 19:33:02 UTC
(In reply to Regina Henschel from comment #7)
> You can use the anchor type "at paragraph" too. That allows to place the
> frame into a page margin. In that case you need to mark from the end of the
> previous paragraph to the start of the following paragraph. If you
> incidentally include a character, you can edit the autotext later and remove
> the character.

Did you try it? Doesn't work either respectively isn't really useful. One has to anchor the frame to the paragraph, insert an empty space in the paragraph, then one has to select the previous paragraph to the start of the following paragraph with the empty space -> add this to the autotexts and you get, what I said: The frame with an empty space (which one has to delete afterwards) and an empty line (which one has to delete afterwards too). Not really useful.

What speaks against to add settings for position frame to paragraph styles? Would be the solution.
Comment 9 Regina Henschel 2019-07-29 20:11:26 UTC
(In reply to canned from comment #8)
> What speaks against to add settings for position frame to paragraph styles?
> Would be the solution.

It is not possible. Please look at http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#element-style_paragraph-properties, which kind of information can be contained in paragraph style.

You need not have a space in the paragraphs, but they may be totally empty. But you need at least three paragraphs to get other content than pure text included into an autotext.

An autotext is technically similar to a text document. Therefore it is not possible to have content without any paragraph. But we might use this bug as enhancement request to need only one (maybe empty) paragraph instead of three paragraphs.
Comment 10 canned 2019-07-30 07:39:37 UTC
(In reply to Regina Henschel from comment #9)
> (In reply to canned from comment #8)
> > What speaks against to add settings for position frame to paragraph styles?
> > Would be the solution.
> 
> It is not possible. Please look at
> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.
> html#element-style_paragraph-properties, which kind of information can be
> contained in paragraph style.
> 
> You need not have a space in the paragraphs, but they may be totally empty.
> But you need at least three paragraphs to get other content than pure text
> included into an autotext.
> 
> An autotext is technically similar to a text document. Therefore it is not
> possible to have content without any paragraph. But we might use this bug as
> enhancement request to need only one (maybe empty) paragraph instead of
> three paragraphs.

Ok, I understand. Thanks for your answer.
Comment 11 Xisco Faulí 2019-09-03 07:47:01 UTC
(In reply to Regina Henschel from comment #9)
> An autotext is technically similar to a text document. Therefore it is not
> possible to have content without any paragraph. But we might use this bug as
> enhancement request to need only one (maybe empty) paragraph instead of
> three paragraphs.

Makes sense. Moving to NEW.
@Regina, would you mind adapting the summary accordingly ?