You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openoffice.apache.org by Jennie Bickerton <bj...@yahoo.com.INVALID> on 2022/03/20 19:01:10 UTC

Reveal Codes

Hi Steve,
I am having problems in a document with paragraph numbers and sub-paragraph entries ( 1. and then A. etc.) and also a double line across the page that I have no idea how it got there.  I know in Microsoft there was an "F#" that would open Reveal Codes so that I could then go in and remove whatever indent or code I had mistakenly inserted.  
Is there any reveal codes in Open Office?
Thank you so much!
Jennie Bickerton

Re: Reveal Codes

Posted by "W. Robert J. Funnell, Prof." <ro...@mcgill.ca>.
Andrew -

I would like to take you up on your kind offer to send a copy of your RevealCodes3.odt. If you don't mind, I could add it to my notes about RevealCodes at http://audilab.bme.mcgill.ca/~funnell/swil_ooo.html#reveal; otherwise I would just keep it to play with when I have a chance. One of my planned projects for when I retire is to implement RevealCodes for LO/AOO :-)

I just checked the handling of direct formatting. If I bold some text directly, it creates an  'automatic style' with an ad-hoc name, in my case 'T6':
    <style:style style:name="T6" style:family="text">
      <style:text-properties fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold"/>
    </style:style>

You're right that it tells you when a style (whether 'automatic' or not) starts and ends. For example,
  <text:span text:style-name="T6">â</text:span>
  <text:span text:style-name="Emphasis">á</text:span> 

- Robert
________________________________________
From: Andrew Pitonyak <an...@pitonyak.org>
Sent: March 21, 2022 13:52
To: users@openoffice.apache.org
Subject: Re: Reveal Codes


First, to identify a few problems with "reveal codes.

One problem with "reveal" codes with respect to OpenOffice is related to the use of styles compared to hard coded attributes. I perform most formatting using a style, but it is difficult to understand whether a single character is bold because it was made that way using a style or by a hard coded attribute.

Programatically, it is easy to traverse simple text and to recognize where things change. The hard part is understanding exactly why something changed. I do not remember off hand if it tells me when individual attributes change if the change is because of an applied style. Also from memory, I think that it will tell me when a style starts / ends, which makes removing an applied style tricky; something I have never tried programatically.

I have certainly written macros that would dump this information, but not in a nice easy to see way.

https://wiki.openoffice.org/wiki/Documentation/FAQ/Writer/FormattingText/Does_OpenOffice.org_have_a_Reveal_Codes_functionality_similar_to_WordPerfect%3F

https://bz.apache.org/ooo/show_bug.cgi?id=3395

https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=62137

https://wiki.openoffice.org/wiki/User:TJFrazier/Reveal_Codes

In 2004 (approximately), a macro was created by Ian Laurenson to roughly emulate some reveal codes functionality.

On my current computer I have LibreOffice (not OpenOffice) installed and I was able to make it work with a few fixes. No idea if it works with the current version of AOO (Apache OpenOffice). If you email me off list, and ask for a copy of my latest Documents/OpenOffice/RevealCodes/Ianz/RevealCodes3.odt, I can send you a copy. You will probably be very unhappy with how it works. Also, it is not something that I use. I considered extending it, but there is always a question of available time.

Andrew Pitonyak

On Monday, March 21, 2022 10:15 EDT, Alan B <ab...@gmail.com> wrote:
 There is no reveal codes in OpenOffice.

Reveal Codes was a Wordperfect feature. The Word feature of the same name
is activated by Shift+F1. The Word feature may go by the same name but is
nothing like the Wordperfect feature because the structure of the files is
different.

If you have a line (or double line, or dashed line, or etc) across a page,
check for borders in the paragraph style both above the line and below the
line. I've had that happen to me before and frustrated the heck out of me
before I finally figured it out. Still happens sometimes. Don't know what
I'm doing to make it happen but have at least figured out how to get rid of
it.

On Sun, Mar 20, 2022 at 3:06 PM Jennie Bickerton
<bj...@yahoo.com.invalid> wrote:

> Hi Steve,
> I am having problems in a document with paragraph numbers and
> sub-paragraph entries ( 1. and then A. etc.) and also a double line across
> the page that I have no idea how it got there. I know in Microsoft there
> was an "F#" that would open Reveal Codes so that I could then go in and
> remove whatever indent or code I had mistakenly inserted.
> Is there any reveal codes in Open Office?
> Thank you so much!
> Jennie Bickerton



--
Alan Boba
CISSP, CCENT, ITIL v3 Foundations 2011



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org


Re: Reveal Codes

Posted by Andrew Pitonyak <an...@pitonyak.org>.
First, to identify a few problems with "reveal codes.

One problem with "reveal" codes with respect to OpenOffice is related to the use of styles compared to hard coded attributes. I perform most formatting using a style, but it is difficult to understand whether a single character is bold because it was made that way using a style or by a hard coded attribute.

Programatically, it is easy to traverse simple text and to recognize where things change. The hard part is understanding exactly why something changed. I do not remember off hand if it tells me when individual attributes change if the change is because of an applied style. Also from memory, I think that it will tell me when a style starts / ends, which makes removing an applied style tricky; something I have never tried programatically.

I have certainly written macros that would dump this information, but not in a nice easy to see way.

https://wiki.openoffice.org/wiki/Documentation/FAQ/Writer/FormattingText/Does_OpenOffice.org_have_a_Reveal_Codes_functionality_similar_to_WordPerfect%3F

https://bz.apache.org/ooo/show_bug.cgi?id=3395

https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=62137

https://wiki.openoffice.org/wiki/User:TJFrazier/Reveal_Codes

In 2004 (approximately), a macro was created by Ian Laurenson to roughly emulate some reveal codes functionality.

On my current computer I have LibreOffice (not OpenOffice) installed and I was able to make it work with a few fixes. No idea if it works with the current version of AOO (Apache OpenOffice). If you email me off list, and ask for a copy of my latest Documents/OpenOffice/RevealCodes/Ianz/RevealCodes3.odt, I can send you a copy. You will probably be very unhappy with how it works. Also, it is not something that I use. I considered extending it, but there is always a question of available time. 

Andrew Pitonyak

On Monday, March 21, 2022 10:15 EDT, Alan B <ab...@gmail.com> wrote:
 There is no reveal codes in OpenOffice.

Reveal Codes was a Wordperfect feature. The Word feature of the same name
is activated by Shift+F1. The Word feature may go by the same name but is
nothing like the Wordperfect feature because the structure of the files is
different.

If you have a line (or double line, or dashed line, or etc) across a page,
check for borders in the paragraph style both above the line and below the
line. I've had that happen to me before and frustrated the heck out of me
before I finally figured it out. Still happens sometimes. Don't know what
I'm doing to make it happen but have at least figured out how to get rid of
it.

On Sun, Mar 20, 2022 at 3:06 PM Jennie Bickerton
<bj...@yahoo.com.invalid> wrote:

> Hi Steve,
> I am having problems in a document with paragraph numbers and
> sub-paragraph entries ( 1. and then A. etc.) and also a double line across
> the page that I have no idea how it got there. I know in Microsoft there
> was an "F#" that would open Reveal Codes so that I could then go in and
> remove whatever indent or code I had mistakenly inserted.
> Is there any reveal codes in Open Office?
> Thank you so much!
> Jennie Bickerton



--
Alan Boba
CISSP, CCENT, ITIL v3 Foundations 2011

 

Re: Reveal Codes

Posted by Alan B <ab...@gmail.com>.
There is no reveal codes in OpenOffice.

Reveal Codes was a Wordperfect feature. The Word feature of the same name
is activated by Shift+F1. The Word feature may go by the same name but is
nothing like the Wordperfect feature because the structure of the files is
different.

If you have a line (or double line, or dashed line, or etc) across a page,
check for borders in the paragraph style both above the line and below the
line. I've had that happen to me before and frustrated the heck out of me
before I finally figured it out. Still happens sometimes. Don't know what
I'm doing to make it happen but have at least figured out how to get rid of
it.

On Sun, Mar 20, 2022 at 3:06 PM Jennie Bickerton
<bj...@yahoo.com.invalid> wrote:

> Hi Steve,
> I am having problems in a document with paragraph numbers and
> sub-paragraph entries ( 1. and then A. etc.) and also a double line across
> the page that I have no idea how it got there.  I know in Microsoft there
> was an "F#" that would open Reveal Codes so that I could then go in and
> remove whatever indent or code I had mistakenly inserted.
> Is there any reveal codes in Open Office?
> Thank you so much!
> Jennie Bickerton



-- 
Alan Boba
CISSP, CCENT, ITIL v3 Foundations 2011