Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » RichText /UWord default setting
RichText /UWord default setting [message #8337] Sat, 03 March 2007 15:09 Go to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

is there a way, without to change the library, to set in the UWord package the unit to "cm" and Reveal codes to transparent?

Luigi
Re: RichText /UWord default setting [message #8339 is a reply to message #8337] Sat, 03 March 2007 16:20 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
forlano wrote on Sat, 03 March 2007 09:09

Hello,

is there a way, without to change the library, to set in the UWord package the unit to "cm" and Reveal codes to transparent?

Luigi


Good point. I had to change the library:

RichEdit.h 606:
	RichEdit&       ShowCodes(Color c)                    { showcodes = c; Refresh(); return *this; }
	RichEdit&       Unit(int u)                           { unit = u; Refresh(); return *this; }
	RichEdit&       SpellCheck(bool b)                    { spellcheck = b; Refresh(); return *this; }
	RichEdit&       SetZoom(int z)                        { zoom = z; Refresh(); return *this; }
Re: RichText /UWord default setting [message #8342 is a reply to message #8339] Sat, 03 March 2007 18:00 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Sat, 03 March 2007 16:20

forlano wrote on Sat, 03 March 2007 09:09

Hello,

is there a way, without to change the library, to set in the UWord package the unit to "cm" and Reveal codes to transparent?

Luigi


Good point. I had to change the library:

RichEdit.h 606:
	RichEdit&       ShowCodes(Color c)                    { showcodes = c; Refresh(); return *this; }
	RichEdit&       Unit(int u)                           { unit = u; Refresh(); return *this; }
	RichEdit&       SpellCheck(bool b)                    { spellcheck = b; Refresh(); return *this; }
	RichEdit&       SetZoom(int z)                        { zoom = z; Refresh(); return *this; }



Thanks a lot,
that unwanted color was very annoying Smile
Luigi
Re: RichText /UWord default setting [message #8368 is a reply to message #8339] Mon, 05 March 2007 20:32 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Sat, 03 March 2007 16:20



	RichEdit&       ShowCodes(Color c)                    { showcodes = c; Refresh(); return *this; }
	RichEdit&       Unit(int u)                           { unit = u; Refresh(); return *this; }
	RichEdit&       SpellCheck(bool b)                    { spellcheck = b; Refresh(); return *this; }
	RichEdit&       SetZoom(int z)                        { zoom = z; Refresh(); return *this; }




Embarassed ...
Which is the code for ShowCodes() to obtain "transparent"?
So far I used White to remove the color, but now with dark background the codes appear again Rolling Eyes

Luigi

[Updated on: Mon, 05 March 2007 20:33]

Report message to a moderator

Re: RichText /UWord default setting [message #8417 is a reply to message #8368] Thu, 08 March 2007 14:09 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Null Wink

Mirek
Previous Topic: floating table and pagebreak
Next Topic: Richtext / Uword problems
Goto Forum:
  


Current Time: Fri Mar 29 08:13:23 CET 2024

Total time taken to generate the page: 0.01757 seconds