To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66344
                  Issue #:|66344
                  Summary:|Title Case and More Advanced Casing
                Component:|Word processor
                  Version:|OOo 2.0.2
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|FEATURE
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|mru
              Reported by:|discoleo





------- Additional comments from [EMAIL PROTECTED] Mon Jun 12 04:11:27 -0700 
2006 -------
There were a number of requests for title case:
http://www.openoffice.org/issues/show_bug.cgi?id=5502
http://www.openoffice.org/issues/show_bug.cgi?id=4834
and so on,

HOWEVER, they miss the point (and were closed nevertheless). I will propose a
more comprehensive approach to this issue, allowing a very flexible casing
(because of this, I started a new request).

I will shortly desribe this algorithm/feature:
In a text we may have:
 - characters starting a sentence (_Sentence)
 - characters starting a word, but not a sentence (_Word_Begin)
 - and chars inside a word (_Word_Inside)

We may have the following casing options:
 - Case_NOP (NO Operation): leave case as is
 - Case_Upper: make uppercase
 - Case_Lower: make lowercase
 - Case_Custom: some custom casing function (like reverse, weird,...)

The casing applied by OO.o would be:
 - _Sentence = Case_Upper
 - _Word_Begin = Case_Upper
 - _Word_Inside = Case_NOP

But I would prefer, e.g.:
 - _Sentence = Case_Upper
 - _Word_Begin = Case_Upper
 - _Word_Inside = Case_Lower,

while others may want:
 - _Sentence = Case_Upper
 - _Word_Begin = Case_NOP
 - _Word_Inside = Case_Lower.

Having the possibility to apply such diverse (custom) casing would be a great
feature. I will append a C++ program I wrote, that implements this, however that
started as my "Hello World" program, and, although it ended with template
classes, you should strongly consider rewriting it. (I used it to format
filenames.) If anyone wishes to enhance that program or to port it to other
systems/ programming languages (like java), feel free to do so.

Sincerely,

Leonard Mada

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to