Page 1 of 1

Confirmation Letter Format

Posted: Wed Feb 13, 2008 7:01 am
by Siang Hwee
Hi. I am going to create a confirmation letter with the following format.
----------------------------------------------------------------------------------
Ref No: [Data Source]
Date: [Data Source]
Name: [Data Source]
Address: [Data Source]

Dear Sir/Madam,

Re:Appoinment As [data source]
========================
We are please to offer xxxxxxx
(Few Pages Long terms and conditions)

Name: [Data source]
Signature:
----------------------------------------------------------------------------------

The problem now is how to separate the long hard coded terms and condition into few pages.

Thanks for help



Confirmation Letter Format

Posted: Wed Feb 13, 2008 1:17 pm
by Edward
If possible, then please place the following content:
(Few Pages Long terms and conditions)
into the separate DataBands and set for each of them StartNewPage property in true.

Thank you.

Confirmation Letter Format

Posted: Thu Feb 14, 2008 3:43 pm
by Siang Hwee
Hi Edward,

The terms and conditions are all hard coded witout any databinding. My initial plan was allow user to download the template letter and modify the terms and conditions their own and then upload it later. It will tight to employee personal info and print according to the upload format.

Probably i still not get used to stimulReport yet, i try to put the terms and conditions in text control but find out the report form itself have no way for me to put longer content and split it up. Is there anyway to put the content in text and allow me to set can grow to few pages? could you please help on this issue? i can send you the template confirmation letter for your reference if you need it.

Thanks and appreciate your help
Edward wrote:If possible, then please place the following content:
(Few Pages Long terms and conditions)
into the separate DataBands and set for each of them StartNewPage property in true.

Thank you.

Confirmation Letter Format

Posted: Thu Feb 14, 2008 6:34 pm
by Edward
Ok, if I understand your task now correctly, then please do the report template in the following way:

1. Place as much databands on one Page as number of separate pages in the resulted report.

2. All DataBands must have StartNewPage property is set in true.

3. Set CountData property of each DataBand in 1.

4. Set Page.LargeHeight = true.

5. CanGrow = true, CanBreak = true for the DataBands and for Stitexts as well.

If the desired result is still not available with this suggestion, please send the report template to support[at]stimulsoft.com for analysis.

Thank you.


Confirmation Letter Format

Posted: Fri Feb 15, 2008 4:54 pm
by Edward
Please see the attached report template. This report contains a method SplitMyText which is declared on the "Code Tab". This method just inserts after each tenth symbol of the string symbol of the "new line".

So each Text will contain exactly ten symbols per one StiText. Please note that all stiText in 'Wysiwyg' mode, because this method of rendering requires exact calculations of the height and width of the StiText component.

Thank you.

Confirmation Letter Format

Posted: Sat Feb 23, 2008 4:25 am
by Siang Hwee
Hi Edward,

Thanks for help. It works now.

Just for your information, when text size is too large in a single databind, the application just hang there and i don't know what really happen. Anyway, I separate the text into separate databand and it works perfectly.


Confirmation Letter Format

Posted: Mon Feb 25, 2008 5:14 am
by Edward
Ok, thank you very much for the feedback.

It is a known behavior.

Our new version of the report engine allows us to prevent such issues. The new version of the report engine will be ready in a week and a half - two weeks period.

Thank you.