OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[Wish] Finding "manually formatted" paragraphs.

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
TRUETYPIST
General User
General User


Joined: 25 Oct 2006
Posts: 47

PostPosted: Mon Jun 11, 2007 8:09 am    Post subject: [Wish] Finding "manually formatted" paragraphs. Reply with quote

The Styles concept is wonderful. I'm missing one feature:

a) Seeing/looking for "manually formatted paragraphs".
Adobe's Indesign has a info window quite similar to OOo' "Styles and Formatting".
There's a very nice feature: when a paragraph "has suffered" some manual formatting (i.e. changing the font directly on a few words), the style name shows it, with a warning "+" suffix.

Is there any way to achieve this, on OOo Writer ?
I know that I can use the Find funtion to search for styles. I just would like to be able to differentiate the "perfect styled" paragraphs from the manually formatted ones.


Last edited by TRUETYPIST on Mon Jun 11, 2007 10:45 am; edited 2 times in total
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Mon Jun 11, 2007 10:07 am    Post subject: Reply with quote

Not by default. It has been required IIRC. You should search the OOo Issue Tracker for this.

You can also look here : Reveal Codes macro - feedback required. Never used myself but perhaps it will suit your need.

Thanks to add '[Solved]' in your first post title (edit button) if your issue has been fixed.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
TRUETYPIST
General User
General User


Joined: 25 Oct 2006
Posts: 47

PostPosted: Mon Jun 11, 2007 10:43 am    Post subject: Reply with quote

Thank you for your answer.

Iannz had made a good job (way beyond my capabilities... Shocked).
He wrote:
Quote:
At this stage this is a macro to see what people want and to get some constructive discussion going. It is not yet complete!

In fact, the macro is still on development phase. As Iannz recognizes, it will probably be too slow for "real use".
On the other hand, it goes too far, for my requirements Smile

Not much hope: no posts have been made since Wed Aug 30, 2006 11:59 am Crying or Very sad
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Mon Jun 11, 2007 11:24 am    Post subject: Reply with quote

Here is the request : Issue 53827 - enable selective removal of direct formattings in format/style dialogs. You can subscribe and vote for it (up to 2 votes per issue).
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
TRUETYPIST
General User
General User


Joined: 25 Oct 2006
Posts: 47

PostPosted: Mon Jun 11, 2007 11:57 am    Post subject: Reply with quote

Thanks
done
(no milestone for this issue... )
Back to top
View user's profile Send private message
BillP
Super User
Super User


Joined: 07 Jan 2006
Posts: 2703

PostPosted: Mon Jun 11, 2007 12:04 pm    Post subject: Reply with quote

There is also an enhancement request for "reveal codes" which is not being worked on.

http://wp.openoffice.org/rcodes.html
http://qa.openoffice.org/issues/show_bug.cgi?id=3395

Assuming you are using Windows, if you save your documents in .odt format, you can open the .odt file with an archive manager such as 7-Zip, then double-click the revealed "contents.xml" file to open it. Any directly formatted paragraphs can be found by looking for paragraphs with "paragraph" styles named "P1", P2", etc. Directly formatted characters can be found by looking for text with "text" styles named "T1", "T2", etc.
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Mon Jun 11, 2007 12:16 pm    Post subject: Reply with quote

BillP wrote:
There is also an enhancement request for "reveal codes" which is not being worked on.

http://wp.openoffice.org/rcodes.html
http://qa.openoffice.org/issues/show_bug.cgi?id=3395

Thanks, I've added a comment on the last report (53827) that has only 4 votes saying it should be marked as duplicate of the oldest one.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
TRUETYPIST
General User
General User


Joined: 25 Oct 2006
Posts: 47

PostPosted: Mon Jun 11, 2007 12:31 pm    Post subject: Reply with quote

BillP wrote:
Quote:
Directly formatted characters can be found by looking for text with "text" styles named "T1", "T2", etc.

Allways learning...

Although not practical for everyday use, It can be used for special documents that will be used as "templates", and repeatedly used. For this ones, it's worthwhile to look for (and correct) all style "imperfections".

I understand that OOo developers must be targeted on MS Word compatibilization issues, since this is what matters most to 99,9% of OOo users.
Personally, it's a pity that they can't dedicate more time to delevope some of the unique OOo features, that are already much better than MSWord.
Back to top
View user's profile Send private message
BillP
Super User
Super User


Joined: 07 Jan 2006
Posts: 2703

PostPosted: Mon Jun 11, 2007 12:44 pm    Post subject: Reply with quote

Hagar de l'Est wrote:
BillP wrote:
There is also an enhancement request for "reveal codes" which is not being worked on.

http://wp.openoffice.org/rcodes.html
http://qa.openoffice.org/issues/show_bug.cgi?id=3395

Thanks, I've added a comment on the last report (53827) that has only 4 votes saying it should be marked as duplicate of the oldest one.


It's not a duplicate. Although either enhancement could be used to help find direct formatting, Issue 53827 justs requests that direct formatting be noted on formatting dialogs for character, paragraph, etc. "Reveal codes" would show both direct formatting and styles formatting inline with the document text, not on the formatting dialog.
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Mon Jun 11, 2007 12:49 pm    Post subject: Reply with quote

Yes, I've seen there are small differences but I think we can merge the 2 in a single feature. I don't think the user really cares about where the information is located. He just needs the feature. I've seen such a pane in MS Word 2k something, it's rather good, giving all the information IIRC.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
thom314
OOo Enthusiast
OOo Enthusiast


Joined: 03 Aug 2005
Posts: 186
Location: Denver, Colorado

PostPosted: Mon Jun 11, 2007 7:27 pm    Post subject: Reply with quote

I realize that this isn't what was originally asked for but, for reference, the following macro will clean all manual formatting from a text selection in Writer. Actually, it will not clean manually added numbering or bulleting, but other than that, it seems to be good.

Code:
Sub cleanManualFormatting
  On Error Resume Next
  Dim oSelection As Object
  Dim aProperty
  Dim i As Integer
  For i = 0 To ThisComponent.CurrentSelection.Count - 1
    oSelection = ThisComponent.CurrentSelection.getByIndex(i)
    If oSelection.supportsService( "com.sun.star.text.TextRange" ) Then
      For Each aProperty In oSelection.PropertySetInfo.Properties()
        oSelection.SetPropertyToDefault( aProperty.Name )
      Next aProperty
    End If
  Next
  On Error GoTo 0
End Sub


p.s. Be careful about text tables. The macro has some issues which I have never bothered to fix. Just select the text within the cells, not the cells themselves or the table.
_________________
- Tom on Linux Mint
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group