Issue 81167 - AutoCorrect should allow automatic conversion of /text/ to italicized "text"
AutoCorrect should allow automatic conversion of /text/ to italicized "text"
Status: CONFIRMED
Product: General
Classification: Code
Component: spell checking
OOo 3.3 or older
All All
: P5 trivial (vote)
: ---
Assigned To: AOO issues mailing list
:
: 84252 101703 (view as issue list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-31 07:16 UTC by superm401
Modified: 2013-02-24 20:42 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description superm401 2007-08-31 07:16:31 UTC
OpenOffice.org AutoCorrect currently can (and by default does) automatically
convert *text* to bolded "text", and _text_ to underlined text (this is under
AutoCorrect-Options-Automatic *bold* and _underline_.  These are Usenet/mailing
list conventions, originally for plain text email.  Along with those two, /text/
is used to indicate italicized text.  It would be useful to have that conversion
as well.
Comment 1 superm401 2007-08-31 07:40:01 UTC
I'm trying to find the source for this feature.  It's related to the UI strings
STR_AUTOFMTREDL_UNDER and STR_AUTOFMTREDL_BOLD, but I'm not getting much farther
than that, partly because the comments in this part of the code are in German.
Comment 2 Olaf Felka 2007-08-31 07:41:54 UTC
@ sba: Please have a look.
Comment 3 Mathias_Bauer 2007-08-31 18:57:43 UTC
superm401: does that mean that you would like to work on a patch? :-)
Comment 4 superm401 2007-08-31 19:01:14 UTC
I would.  But I still haven't found the code that does the current bolding and
underlining.
Comment 5 superm401 2007-08-31 20:13:03 UTC
I found what I think is the main logic, in the central switch of
sw/sw/source/core/edit/autofmt.cxx .  But I'm still confused in trying to find
where the real formatting is being done.
Comment 6 Mathias_Bauer 2007-08-31 21:23:37 UTC
Great that your are interested! I'm very busy this weekend but I will see if I
can give you a hint on monday.
Comment 7 eric.savary 2009-05-09 10:28:01 UTC
*** Issue 101703 has been marked as a duplicate of this issue. ***
Comment 8 eric.savary 2009-05-09 10:32:12 UTC
@MBA/MOD: Today I got a duplicate to this. The implementation looks like a 2
lines fix one of you could do as a 10 mn blubber... What about superm401?
Comment 9 Mathias_Bauer 2009-05-09 10:59:23 UTC
It seems that I lost track of it, it seems that I wanted to do something nearly
two years ago ...

@superm401: sorry, I totally forgot about this issue. If you are still
interested, I will have a look. 

Besides that: we should confirm that issue, it looks as if it is a very natural
idea and indeed it shouldn't be hard to implement.
Comment 10 hfinger 2009-05-10 00:35:26 UTC
I could not find this issue in a search but opened a new issue with:
"Currently *bold* and _underline_ automatically applies these char formats to 
the 
enclosed string.  Could this be enhance by implementing /italic/ as well?  These 
are conventions common to many email clients which automatically convert them to 
formatted text if HTML or BBedit formatting is supported."

Could these be nested so that */_bold italic underlined_/* does the appropriate 
thing?
Comment 11 Paul-Antoine Arras 2011-05-27 10:58:07 UTC
Seems weird that such an apparently straightforward issue has not been tackled yet. I'll have a look at this.
Comment 12 Raphael Bircher 2011-10-05 14:28:42 UTC
*** Issue 84252 has been marked as a duplicate of this issue. ***