Issue 128477 - Suggestion: Custom AutoFormat
Summary: Suggestion: Custom AutoFormat
Status: ACCEPTED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.10
Hardware: All All
: P5 (lowest) Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-24 11:24 UTC by Bastendorf
Modified: 2021-09-06 18:06 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Bastendorf 2021-08-24 11:24:04 UTC
I'm a game developer, and I enjoy using Open Office Writer for note taking. The better I get at taking notes efficiently, the more formatting I use. In my current set of notes, I've been using formats for key words, such as days of the week. (Monday, Thursday, etc). I've made those bold and pink, and stats changes (+5 HP) are bold and orange.

One of the things I thought of that would really help me out is the ability to designate, document specific preferably, certain words (such as Monday) or phrases (such as '+n HP') to automatically have their formats updated to a format of my choosing as I type, so I don't have to break the flow to update them, and if I decide something should be a keyword, later, like 'Money', I can fix them more easily.

I'm aware there are certain workarounds that make this possible, but those aren't limited to just one document, and it's a little more complicated to set up than I'm comfortable with. I'd enjoy seeing a dedicated option for such a feature.

I don't need anything more fancy than font (size, bold, italic) and text color, but justification might also be a nice one for phrases like 'Chapter n'.

It's not the most ground breaking thing, but just an idea I had.

Thanks for taking the time to read this.
Comment 1 Keith N. McKenna 2021-08-26 19:52:24 UTC
Changed Issue type to enhancement.
Comment 2 Bastendorf 2021-08-26 19:59:44 UTC
(In reply to Keith N. McKenna from comment #1)
> Changed Issue type to enhancement.

Oh, was I supposed to do that? Sorry. Didn't see it, so I wasn't aware there was an 'issue type' that was set wrong. Didn't mean to be disrespectful.
Comment 3 Keith N. McKenna 2021-08-26 20:27:08 UTC
(In reply to Bastendorf from comment #2)
> (In reply to Keith N. McKenna from comment #1)
> > Changed Issue type to enhancement.
> 
> Oh, was I supposed to do that? Sorry. Didn't see it, so I wasn't aware there
> was an 'issue type' that was set wrong. Didn't mean to be disrespectful.

No disrespect at all. It is not expected that everyone will be familiar with all the options of Bugzilla, as well as the fact that some options require different permissions levels.
Comment 4 oooforum (fr) 2021-08-27 15:25:13 UTC
I'm not sure to understand your ask. 
Could you provide two screenshots to show the  before/after effects?
Add a procedure (step by step) to apply this format.
Comment 5 Bastendorf 2021-08-27 17:54:24 UTC
(In reply to oooforum (fr) from comment #4)
> I'm not sure to understand your ask. 
> Could you provide two screenshots to show the  before/after effects?
> Add a procedure (step by step) to apply this format.

What's not to understand? I outlined everything as well as I could. It seems to me like you are under the impression that I'm reporting a bug that causes format changes? This could be a language barrier thing.
This isn't a bug, this is a suggested feature. I'm not experiencing this, I'm requesting that this be possible. I only had it listed as 'defect' by mistake.

I hope that clears things up.
Comment 6 oooforum (fr) 2021-08-28 15:59:23 UTC
Not very clear, we understood that is an enhancement. Please refer to my previous comment and provide requested informations.
Comment 7 Bastendorf 2021-08-28 16:41:13 UTC
(In reply to oooforum (fr) from comment #6)
> Not very clear, we understood that is an enhancement. Please refer to my
> previous comment and provide requested informations.

Ok, you know how it autocorrects words while typing? ('hte' into 'the') I'd like it to do that, except with format. (Default 'Hi' into bold, italic, red 'Hi')

But custom, so that it doesn't do it until I specify which words I want it done to.
Comment 8 Keith N. McKenna 2021-08-28 16:58:35 UTC
As I watch the progress of this conversation, it sounds like what you want would be a good candidate for a template with some custom styles. I can put together a simple proof of concept template that you can check out. 

oooforum(fr) Does this sound like an acceptable workaround or solution, or do you see a case for a programmatic solution as well?
Comment 9 Bastendorf 2021-08-28 17:01:51 UTC
(In reply to Keith N. McKenna from comment #8)
> As I watch the progress of this conversation, it sounds like what you want
> would be a good candidate for a template with some custom styles. I can put
> together a simple proof of concept template that you can check out. 

I'm fine with either.
Comment 10 oooforum (fr) 2021-08-31 17:46:18 UTC
To reach out a goal, we must understand and informations provided in the 1st post are not sufficient for me. So, I repeat twice, read my previous comment and give us more explain.

Certainly a XY problem where a forum with end-users will be a better place to debate about solutions.
Comment 11 Bastendorf 2021-09-03 00:02:03 UTC
(In reply to oooforum (fr) from comment #10)
> To reach out a goal, we must understand and informations provided in the 1st
> post are not sufficient for me. So, I repeat twice, read my previous comment
> and give us more explain.
> 
> Certainly a XY problem where a forum with end-users will be a better place
> to debate about solutions.

Sorry, message went to spam and I didn't see it until today.

You're messing with me aren't you? This is round peg, round hole stuff, here. Maybe there's a language barrier. I assume 'fr' means french. Or maybe you're being intentionally difficult with me to see how many times I can rewrite my suggestion.

McKenna seems to understand it fine, but ok, I'll write it a third time.

I'm asking for an AutoFormat. I want to go into Format and find a per-document options tool almost identical to Format > AutoCorrect > AutoCorrect Options, except it would be Format > AutoFormat > AutoFormat Options.

Exactly the same as the AutoCorrect Options window, I want to be able to add into this to this AutoFormat options window words for Writer to look for as I'm typing, exactly the same way it already does with AutoCorrect, except one major detail. Instead of correcting my spelling as I'm typing, the AutoFormat window would have a Font tab, Font Effects tab, and Background tab where you could twiddle dropdown things and set formats exactly like is already present in Styles and Formatting > Character Styles > Modify.

This options window would then allow me to add a word, like 'Monday', to a list I want it to look for as I'm typing, and then in the Font tab, I'd be able to set what font I want, in the Font Effects tab, I'd be able to twiddle the options and set what Font Color, Effects, Relief, Outline, Shadow, Blinking, Hidden, Overlining, Strike through, Underlining, and in the Background tab, I'd be able to pick a color from the color swatch list thing that shows up on that same tab in Styles and Formatting > Character Styles > Modify.

Then, when I click ok, and I start to type in the document, Writer would act similar to what it does when I mistype a word that is already stored in AutoCorrect, and when I type 'Monday', the AutoFormat would see it and then apply the Font, Font Color, Effects, Relief, Outline, Shadow, Blinking, Hidden, Overlining, Strike through, Underlining, and Background that I set up for that word in the new and shiny AutoFormat window, to the word 'Monday' that I typed.

But when I go to a different document, I don't want the same rules to apply. It has to be document-specific, like Styles are in Calc.

If that's still not enough, I don't know what to tell you. Find a translator. The only way to get more specific than that is to turn into Inspector Gadget and explain it the way he used to explain DVD menus for totally unrelated shows.
Comment 12 oooforum (fr) 2021-09-05 13:29:45 UTC
Remember that a new function must interest a large of users. Seems that you are t
the first to ask it.

>Then, when I click ok, and I start to type in the document, Writer would act
> similar to what it does when I mistype a word that is already stored in 
>AutoCorrect, and when I type 'Monday', the AutoFormat would see it and 
>then apply the Font, Font Color, Effects, Relief, Outline, Shadow, 
>Blinking, Hidden, Overlining, Strike through, Underlining, and Background 
>that I set up for that word in the new and shiny AutoFormat window, to 
>the word 'Monday' that I typed.
Try an AutoText(*)


(*) https://wiki.openoffice.org/wiki/Documentation/OOo3_User_Guides/Writer_Guide/AutoText
Comment 13 Bastendorf 2021-09-05 18:44:59 UTC
(In reply to oooforum (fr) from comment #12)

> (*)
> https://wiki.openoffice.org/wiki/Documentation/OOo3_User_Guides/Writer_Guide/
> AutoText

That's not really useful. Every time I press a letter, for instance "M" it formats, whether it's 'Mark', 'Monday', or 'Money'.

You say
> Remember that a new function must interest a large of users. Seems that you are > t the first to ask it.

Just because I'm the first to ask doesn't mean I'm the only one who wants it, sir. Or that someone didn't already ask and wasn't understood. Also doesn't mean I'll be the only one using it. Do you know how many DMs use your program to write their campaigns? Do you know how many of them would find my suggestion useful? Do you know how many more that kind of functionality would attract? The answer to all 3 is 'lots'.

Also, who asked for AutoText? You were fine to add that in there, and I'm willing to bet no one asked for it and almost no one uses it, because it's not helpful.

You get one letter as a shortcut, because I can't get it to acknowledge more than one, it applies to all documents, and it doesn't even seem to function correctly, since I could only get it to do its thing one time and never again, and when it did work, I had to switch back to default formatting manually. 
AutoText seems like an inferior and partially realized version of my suggestion.

I did try to see, in the forum, if anyone was interested, but everyone was far more interested in suggesting your competitors, or weak-tier scripts that didn't work.
If you don't want to do it, fine, whatever. No skin off my nose. The search for a non-Microsoft, non-Google, non-Mobile-centric writing program that doesn't make me download 8 other barely functional writers to get what I want out of them continues.
Comment 14 oooforum (fr) 2021-09-05 19:03:39 UTC
(In reply to Bastendorf from comment #13)
> That's not really useful. Every time I press a letter, for instance "M" it
> formats, whether it's 'Mark', 'Monday', or 'Money'.
Read more attentively how autotext works.

According with my comment 10, get closer to the end-users forum or maillist if you have any difficulties.
Comment 15 Bastendorf 2021-09-05 23:00:09 UTC
(In reply to oooforum (fr) from comment #14)
> (In reply to Bastendorf from comment #13)
> > That's not really useful. Every time I press a letter, for instance "M" it
> > formats, whether it's 'Mark', 'Monday', or 'Money'.
> Read more attentively how autotext works.

Ok, well, my mistake. I now understand how it works, and still don't like it. I don't think you quite understand why I asked for it to be 'AS I TYPE', but feel free to close down this issue.
I've already come to grips with the reality that this was a fruitless endeavor, and I have neither the time nor the energy remaining to continue to argue with someone who is so invested in not improving their program as to ignore the key points of my suggestion.

Sorry if that comes off mean, but I don't have the energy to turn on stage 4 filtration, which handles annoyed condescension.

And @Keith McKenna, thanks. Was nice chatting with you while you were a participant in this thread.
Comment 16 Peter 2021-09-06 15:44:12 UTC
Actually I like Bastendorfs vision. But for me this are not good use cases a developer can take and set up. It is not elementary enough for me.

Bastendorf, I hope you are willed to spend some time in helping me to brainstorm your Ideas a bit so I can turn your request into something that we all like.

So first of all feature names are important. As AutoFormat has been taken by a similar but different feature, I would like to change the name from AutoFormat to AutoStyles. Also I suggest we split the Autostyle feature and the custom in 2 parts, And keep the latter a bit more general, as a request.

Autostyles:
As a user I can setup a a word sentence and apply a style to the word. As the user types word the word completion suggest a Formated alternative next to the default styled value.


Custom AutoCorrect / AutoStyles / AutoFormat (in the following summarized as AutoChange) sets
As a user I want to create different sets of AutoChange Lists, that can be applied to a document in addition of the generic Lists which are always applied if the feature is active.


Does my understanding go into the right direction? Or did I get something wrong?

Note: I put this on Accepted, because I think this is a nice feature. Open to me is if this are basic features or are they more special and should be added as extensions.
Comment 17 Bastendorf 2021-09-06 18:06:08 UTC
(In reply to Peter from comment #16)
> Actually I like Bastendorfs vision. But for me this are not good use cases a
> developer can take and set up. It is not elementary enough for me.
> 
> Bastendorf, I hope you are willed to spend some time in helping me to
> brainstorm your Ideas a bit so I can turn your request into something that
> we all like.

Thank you for the vote of confidence! I slept pretty good last night, which is rare for me, so I'm in better spirits and should be able to assist in some way.

> So first of all feature names are important. As AutoFormat has been taken by
> a similar but different feature, I would like to change the name from
> AutoFormat to AutoStyles. Also I suggest we split the Autostyle feature and
> the custom in 2 parts, And keep the latter a bit more general, as a request.

Oh, is it? I actually wasn't aware AutoFormat already existed. I've never run into it before. I like AutoStyles, it puts across the right idea, and might even be more easily recognized by veteran and pro users than AutoFormat

> Autostyles:
> As a user I can setup a a word sentence and apply a style to the word. As
> the user types word the word completion suggest a Formated alternative next
> to the default styled value.

The word completion would act as AutoComplete does already, right? Or would this be like a drop down list as seen in Visual Studio when you start to type a built in function that it recognizes?

A drop down list might be harder to program, but I picture people having multiple different styles for the same word, and a drop down list being a more effective way of suggesting the change.

Exactly like in Microsoft Visual Studio, (coding tutorials can be looked up if you don't have ready access to VS, those usually show what I'm talking about in action) a little box would show up with all suggestions in it. The user would then click one of them, and the word would be completed, along with the format.

I can understand if the drop down list idea is too much to code. Either way, I like your idea for this.

> Custom AutoCorrect / AutoStyles / AutoFormat (in the following summarized as
> AutoChange) sets
> As a user I want to create different sets of AutoChange Lists, that can be
> applied to a document in addition of the generic Lists which are always
> applied if the feature is active.

This is an interesting idea. Would this be accessed similarly to the styles window, where a window pops up and these custom sets are all listed so the user can hot swap to them depending on their needs/document? And am I right in assuming, from your description, these would augment the already functioning AutoStyles from above?

If I've got that right, it sounds really interesting. I like it, but I'd like to add maybe some hoykey method of switching between these.

Maybe something like CTRL + Shift + 0-9 to switch between up to 10 of them? Or alternatively, the hotkey to switch to a different set from the list to be set up by the user in order to make it easier for them to change to whichever one they need.

Alternatively, a drop down menu, like with styles, could be added to the top bar, and the user would simply click a down arrow and pick a custom set from the list. Or even a side box, where the Proterties, Gallery, Styles, and Navigator boxes all sit.

> Does my understanding go into the right direction? Or did I get something
> wrong?
> 
> Note: I put this on Accepted, because I think this is a nice feature. Open
> to me is if this are basic features or are they more special and should be
> added as extensions.

You got everything perfect. Sounds exactly like I was picturing it, but a little less simplified, and therefor more practical. 

As a game developer, I see this as a basic feature. This should really be accessible to everyone from the start. I get that not everyone will use it, for the longest time, I didn't use styles, or the navigator bar, however, I do know many people, like myself, who use Open Office Writer for taking notes and outlining campaigns and screenwriting/playwriting, will be using it frequently. But what do I know? I'm just a civilian. I'll leave this up to the higher-ups of the team to discuss and decide.

Thank you again for giving my idea a chance! :)