View previous topic :: View next topic |
Author |
Message |
jake Guest
|
Posted: Sat Oct 15, 2005 7:57 am Post subject: WordPerfect-like "Show Codes" |
|
WordPerfect has one feature which keeps me hanging onto it -- the ability to show the formatting codes. Any way we can get this into neooffice? or is it aready there and I just missed it?
jake.albert@gmail.com |
|
Back to top |
|
|
yoxi Cipher
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Sat Oct 15, 2005 8:29 am Post subject: |
|
WordPerfect's docs work on a very different principle to just about any others. They easily support the Reveal Codes approach because the formatting codes are really right in there with the text. There is nothing like this in OpenOffice or NeoOffice/J (or MS Office). However...
Check out this oooforums.org discussion for an opensource OO macro by Ian Laurenson that "does the same thing", albeit buggy and pretty slow unless you have a fast mac - this macro is a work of love, a monument to people trying to make a feature they love come to life in a context where it doesn't exist yet. Have fun playing with it, and enjoy reading the forum thread (you should do this first to get a realistic sense of what the macro does - and does not - do).
- yoxi |
|
Back to top |
|
|
jake Guest
|
Posted: Sat Oct 15, 2005 1:06 pm Post subject: |
|
wow, thanks for that yoxi, will give it a shot. |
|
Back to top |
|
|
sardisson Town Crier
Joined: Feb 01, 2004 Posts: 4588
|
Posted: Sat Oct 15, 2005 5:50 pm Post subject: |
|
The wp project also has a mailing list for Reveal Codes and work necessary to add that feature to OOo, though I don't know how active it is. But if you want the feature, the macro is your answer today
Oddly enough, I've always thought that structured documents (like XML used in OOo and Neo/J docs) would lend themselves easily to Reveal Codes, as the document is not some convoluted binary but rather a structure of various tags indicating formatting and other style information. Apparently not
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki |
|
Back to top |
|
|
yoxi Cipher
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Sun Oct 16, 2005 6:25 am Post subject: |
|
well, Ian's done a pretty good job with the macro, and it's only possible at all because the XML format does sit the codes with the content, as you say - but I think what makes it difficult is the formatting codes themselves are complicated in their structure. Here's a simple example of a line with one word bolded:
So you can imagine how complicated it could get once styles, tables, equations, and gods know what else are in the mix. Still, this macro gives quite useful insight into what's going on behind the curtain in a paragraph - as Ian notes, Writer codes are paragraph-based (which means that codes get repeated every paragraph), rather than document-based as wp is (which means a code appears just once in the doc to turn on, and once to turn off again).
- yoxi |
|
Back to top |
|
|
OPENSTEP The One
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
|
Posted: Sun Oct 16, 2005 10:19 pm Post subject: |
|
I don't know if that feature list is still active, but that really has been one of the more vocally requested features I've seen over the last few years for OOo writers. I suspect now that more lawyers may need to move over in Mass. at least it might crop up a bit more...I've heard that lawyers love their WordPerfect
ed |
|
Back to top |
|
|
jakeOSX Ninja
Joined: Aug 12, 2003 Posts: 1373
|
Posted: Mon Oct 17, 2005 5:16 am Post subject: |
|
yes, they do. for some reason the law proffession was the hardest for word to break into. (and even still they are mostly WP).
and this is definatly one of the best features of WP over everyone else. And I have a great discontent for Word "show codes" crap. |
|
Back to top |
|
|
sardisson Town Crier
Joined: Feb 01, 2004 Posts: 4588
|
Posted: Mon Oct 17, 2005 3:10 pm Post subject: |
|
After the announcement that libwpd and WriterPerfect had been integrated in OOo 1.9.xx (I forget which milestone), the main dev@wp list got several posts from lawyers about converting their WP docs...Fridrich ended up with a half-dozen or so new classes of bugs to fix (well, if the people actually filed bugs with sample documents like we asked them to...).
Reveal Codes was a god-send for fixing poorly nested formatting. I didn't use it much with WP documents (it seems the newer versions got better at preventing strange and broken nesting), but I used it constantly to figure out what the #@$#@#$# was going on in people's Word documents. I don't know how a program could fubar documents like that all the time and become the dominant word processor in the world (oh, wait, illegal use of monopoly)....
Sometimes I would use Reveal Codes with WP documents so I could remember how I had done some fancy formatting....
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki |
|
Back to top |
|
|
|