[Libreoffice-bugs] [Bug 103064] Introduce a comment style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 25 15:34:55 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=103064

--- Comment #18 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
(In reply to Thomas Lendo from comment #15)
> I agree that only a small set of features should be available for comments.
> As working much with comments, I really only need font, strong
> emphasis/emphasis and simple list features in comments. (Font because the
> default comment font changed somewhere in the past and I don't want comments
> with different fonts in a document. -- I simulate lists with "* Blabla" now.)

We should likely decide what the optimal font size is for comment and not allow
users to change it. We default to 10pt, MS Word uses 8pt, and Google Docs uses
Arial 10pt.

> I think there should be a paragraph style for all comments in a document
> with a small set of paragraph features available and very limited direct
> formatting if any. Use cases like in comment 5 need more than one paragraph
> style for different notations with various paragraph features.

The only thing i'd put into a comment paragraph style would be the font name
and allow users to change it, so its not repeated in each character style. In
comment 5's use case, I would suggest that a user can apply an existing
document-level character style to a comment, but it would be a limited set of
formatting options, and it wouldnt overwrite whatever default font size that
are assigned to comments.

> Before implementing a style there should be a consent of what features we
> want to be available in Writer comments and subsequently in other LibO
> components too.

Yep we should do this. If we have a look at the formatting all comments
character dialog, i'd say we should keep, font name, font style, underlining,
strikethrough, overlining.

(In reply to Luke Kendall from comment #16)
> Please note that it's extremely helpful to have font sizes supported, as
> comments can get very long, and reducing the font size is a good way to make
> more of them visible without having to click into them and scroll about,
> only able to see a small window onto it.

That would be the wrong way to fix the issue of long comments. See bug 89232
for the discussion on how to improve that issue.

> You might also consider whether you could reuse the existing code for
> editing and display of text, from the full writer, rather than having to
> implement a separate text editor and text display algorithm.

The current implementation gives similar text editing features that are
available in textboxes, as doing comments like text in full writer would be
overkill.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170425/e15e9516/attachment-0001.html>


More information about the Libreoffice-bugs mailing list