report hard formatted text - ignore syntax highlighting

Nothing is perfect! This is where you can post your ideas and wishes for functions you'd like to see in Help & Manual. Current version only please (H&M7).

Moderators: Alexander Halser, Tim Green

Post Reply
User avatar
Petra Zamburek
Posts: 33
Joined: Tue Jul 19, 2005 9:33 am
Location: Austria - Vienna

report hard formatted text - ignore syntax highlighting

Unread post by Petra Zamburek »

Hi,

all of our text is formatted with styles.
The report for finding hard formatted text works fine but it also shows text, which is formatted with syntax highlighting, such as xml or sql.
It would be fine, if the output of this report doesn't contain this kind of text.

Thanks in advance
Petra
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: report hard formatted text - ignore syntax highlighting

Unread post by Tim Green »

Hi Petra,

Another really good suggestion -- thank you! 8) :gottit:
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Simon Dismore
Posts: 454
Joined: Thu Nov 16, 2006 1:29 pm
Location: London, UK

Re: report hard formatted text - ignore syntax highlighting

Unread post by Simon Dismore »

Petra Zamburek wrote:all of our text is formatted with styles. The report for finding hard formatted text works fine but it also shows text, which is formatted with syntax highlighting, such as xml or sql.
To create styles that include the syntax highlighting setting:
  1. Enter some text and select it.
  2. Apply syntax highlighting in the appropriate language, e.g. 'SQL'.
  3. Re-select the text.
  4. In the 'Write' ribbon, click 'Styles' > 'Create Style from Selection...'
  5. In the 'Make Selection a Style' dialog, enter a new style name, e.g. "Code in SQL" and click 'OK'.
    The new style can be applied to other paragraphs in the usual way, and the Custom Styles Report will not report such styled text as being individually styled.
User avatar
Petra Zamburek
Posts: 33
Joined: Tue Jul 19, 2005 9:33 am
Location: Austria - Vienna

Re: report hard formatted text - ignore syntax highlighting

Unread post by Petra Zamburek »

Hi Simon,

thank you for your hint.

We have already a style for XML-, C#- and SQL-Code, but this style just defines font and size, not the coloring for keywords and so on.
Using the syntax highlighting, part of the text are individually formatted: brown, blue, dark blue ...
These parts are reported as hardformatted text.
Or did i miss something?

Petra
Simon Dismore
Posts: 454
Joined: Thu Nov 16, 2006 1:29 pm
Location: London, UK

Re: report hard formatted text - ignore syntax highlighting

Unread post by Simon Dismore »

Petra, I've got this wrong. My steps don't do what you want: sorry for wasting your time. :oops:
User avatar
Petra Zamburek
Posts: 33
Joined: Tue Jul 19, 2005 9:33 am
Location: Austria - Vienna

Re: report hard formatted text - ignore syntax highlighting

Unread post by Petra Zamburek »

Hi Simon,

no problem, doesn't matter.
So let's hope for a brand new and exciting solution in ham (yes, i mean ham (our internal shortcut for h&m) and no, no, not ham (as some of us expected, because they were hungry, hihi).

Petra
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: report hard formatted text - ignore syntax highlighting

Unread post by Tim Green »

Hi Petra,

We've changed this so that the manual formatting generated by the Code Example used by syntax highlighting is always ignored automatically. You can test it out in the current stable beta if you want:

http://download.ec-software.com/help-an ... 0-beta.exe

:mrgreen:
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Petra Zamburek
Posts: 33
Joined: Tue Jul 19, 2005 9:33 am
Location: Austria - Vienna

Re: report hard formatted text - ignore syntax highlighting

Unread post by Petra Zamburek »

Hi Tim,

oh, wow, i really would like to test this, but installing a beta at the office ... (at home i would try it, but i have no licence)
This has to be discussed with my colleague :D
I'm really looking forward to try it!

Tanks,
Petra

BTW: do you know, when we can expect the next update? :lol:
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: report hard formatted text - ignore syntax highlighting

Unread post by Tim Green »

Hi Petra,

7.2 is due out in October at the earliest. You can test at home in trial mode without registering the program, however. Everything will work fine; you'll just get a copyright notice in every topic in the output, random links will be disabled and as time goes on the output text will be increasingly scrambled (mojibake...).
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Petra Zamburek
Posts: 33
Joined: Tue Jul 19, 2005 9:33 am
Location: Austria - Vienna

Re: report hard formatted text - ignore syntax highlighting

Unread post by Petra Zamburek »

Great!

Suddenly, the report for hard formatted text is soooo short ...

Thank you
Post Reply