You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Nazmul Alam <fa...@gmail.com> on 2012/07/19 17:42:45 UTC

[DISCUSS][IDEA][FUNCTIONALITY] named constant

Hello everybody,
I am new to ooo-dev list. I am looking forward to contribute towards AOO.

I like to discuss an idea regarding text input functionality. I don't know
if this already exists or not because I used OO a long time ago.

[IDEA]
User can register several named constant in AOO, for example -
DocumentTitle = "An introduction to XYZZY", and then use this named
constant in the document to quickly insert the string literal multiple
times. Now suppose for some reason he/she has to change the Document title
to "An introduction to AOO" in the document. Instead of performing
Search+Replace, he can rename the named constant which will reflect the
change in the document. Grouping and formatting can be add to increase more
possibility.

[Benefits]
- ux improvement

[Risk]
- additional learning for user
- personal preference

Let me know your valuable thoughts.
Sorry for the English.

-- 
with best regards,
       Nazmul Alam Shovon

*শুভেচ্ছান্তে,
       নাজমুল আলম শোভন*

email : fadedreamz@gmail.com
blog : http://yourdigitaleffects.blogspot.com

Re: [DISCUSS][IDEA][FUNCTIONALITY] named constant

Posted by RGB ES <rg...@gmail.com>.
2012/7/19 Regina Henschel <rb...@t-online.de>:
>
> Such a feature already exists. You can use a so called "Field".
>
> There exist some predefined fields, which you can fill in File > Properties.
> You insert them via Insert > Fields.
>
> You can use additional predefined fields via Insert > Fields > Other.
>
> You can create and use your own field via Insert > Fields > Other >
> Variables > 'User field'. And later on you can edit the content in Edit >
> Fields in addition.
>
> If the way through the menu and sub-menu is to long for you, you can record
> a macro for inserting the field and assign this macro to a shortcut key or
> button.

You can also add a button to a toolbar that opens the Fields → Other
dialogue: edit a toolbar on Tools → Customize → Toolbars, click on Add
→ under Category select "Insert" and under Command select "Other". You
can also assign a keyboard shortcut to this menu on Tools → Customize
→ Keyboard tab (by default, Ctrl+F2 is assigned to this function but
this do not work on Linux: that's the usual system shortcut to go to
your second desktop...)

Regards
Ricardo


>
>>
>> Let me know your valuable thoughts.
>> Sorry for the English.
>>
>
> That is no problem :) Most of us are not native English speaker.
>
> Kind regards
> Regina
>

Re: [DISCUSS][IDEA][FUNCTIONALITY] named constant

Posted by Regina Henschel <rb...@t-online.de>.
Hi,

Nazmul Alam schrieb:
> Hello everybody,
> I am new to ooo-dev list. I am looking forward to contribute towards AOO.
>
> I like to discuss an idea regarding text input functionality. I don't know
> if this already exists or not because I used OO a long time ago.
>
> [IDEA]
> User can register several named constant in AOO, for example -
> DocumentTitle = "An introduction to XYZZY", and then use this named
> constant in the document to quickly insert the string literal multiple
> times. Now suppose for some reason he/she has to change the Document title
> to "An introduction to AOO" in the document. Instead of performing
> Search+Replace, he can rename the named constant which will reflect the
> change in the document. Grouping and formatting can be add to increase more
> possibility.
>
> [Benefits]
> - ux improvement
>
> [Risk]
> - additional learning for user
> - personal preference

Such a feature already exists. You can use a so called "Field".

There exist some predefined fields, which you can fill in File > 
Properties. You insert them via Insert > Fields.

You can use additional predefined fields via Insert > Fields > Other.

You can create and use your own field via Insert > Fields > Other > 
Variables > 'User field'. And later on you can edit the content in Edit 
 > Fields in addition.

If the way through the menu and sub-menu is to long for you, you can 
record a macro for inserting the field and assign this macro to a 
shortcut key or button.

>
> Let me know your valuable thoughts.
> Sorry for the English.
>

That is no problem :) Most of us are not native English speaker.

Kind regards
Regina