Home » U++ Library support » RichText,QTF,RTF... » QTF editors and styles
QTF editors and styles [message #30579] |
Mon, 10 January 2011 10:00 |
mubeta
Messages: 77 Registered: October 2006
|
Member |
|
|
Hi guys,
I am working around an tool named: "Report designer" for include it in a my application.
Based on UWord, and changing partially the code, I reache this desigenr:
The page i splitted in three different part, named heade, body and footer, where, passed to the U++ Report package, are represented as is. that is ok.
The problem: in this way also the styles of the three part are different and I wish to have only one sheet style. If I define a paragraph style in the header, body and footer don't get the same style.
How I can manage the QTF styles ? there is some functions ? I don't found nothing. What I need is to copy the new style after modify one, to the two other editors.
Hope it is clear.
Thanks.
-
Attachment: rd.png
(Size: 32.34KB, Downloaded 829 times)
|
|
|
|
Re: QTF editors and styles [message #30581 is a reply to message #30580] |
Mon, 10 January 2011 12:08 |
mubeta
Messages: 77 Registered: October 2006
|
Member |
|
|
Quote: | I am afraid you will need a new callback introduced to RichEdit, something like "WhenStyleUpdate"?
|
This will be a good idea! I am thinking to use "WhenRefreshBar" or "WhenAction", both available, but maybe this way will be an work overload.
Around QTF now I have, (hope last) again another problem: there is not included way for force page breaks. I don't understand very well how U++ Report work and how it divide the pages. I need to insert in the QTF source more data, syncronized with the pages, before to passing it to the report. Just for example: before to the end of the page, I want to add a new paragrah, that must to be la part for every page, without use footer, that is for static text.
For undertand can immagine an bom list where, before the page finish, will be inserted some resumes of the page.
In fact I just want do insert, for every page, some static header and footer, syncronized with pages, without using the report Header and Footer.
Any idea ?
(hope for me that this will be last problem around QTF).
|
|
|
|
|
Goto Forum:
Current Time: Sat Sep 21 04:52:31 CEST 2024
Total time taken to generate the page: 0.03026 seconds
|