Page 1 of 3

Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Mon Mar 12, 2018 10:47 am
by tpontow
Hello Stimulsoft-Team,

i have another problem with PDF-Export and SegmentPerWidth > 1 (see my post viewtopic.php?f=9&t=56061).

When exporting to PDF some of the compontents from page 1 are shown as fragments on page 2. There must be still a problem in the StiSegmentPagesDivider.Divide() method. It all worked fine before the reimplementation of the Divide() method. (See page 2 of attached PDF file.)

Can you have a look at that? What can i do to get a correctly divided PDF Export?

Thanks and regards
Thorsten Pontow

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Thu Mar 15, 2018 6:55 am
by Alex K.
Hello,

Similar to a rounding error, but without a report, it is difficult to say something.

Please send us a simple report with test data which reproduces the issue for analysis.

Thank you.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Fri Mar 16, 2018 12:16 pm
by tpontow
Hi Alex,

I attached Report, used excel data source and resulting PDF. I think the problem has something to do with the page margins.

The first page has to end with "TEXTTEXT" column at right page border (page end) and the second page has to start with date column. As you can see in the PDF file there is one additional column which does not belong to the report.(right on page one and left on page two).

Greetings
Thorsten

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Fri Mar 16, 2018 12:19 pm
by tpontow
I think when dividing the pages during PDF export the margins should not be used inside the virtual page which stretches over two physical pages.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Tue Mar 20, 2018 6:21 am
by Alex K.
Hello,

We need some additional time to investigate the issue.

We will let you know about the result.

Thank you.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Tue Mar 20, 2018 10:34 am
by Alex K.
Hello,

In your reports there are following problems:
- in the first report - the edge of the text component is at the right edge of the page
- in the second report - are set borders for the DataBand

Thank you.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Tue Mar 20, 2018 10:40 am
by tpontow
Hi Alex,

thanks for your investigation and support. I see the problem now and i try to fix it by following your hints.

Thank you

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Tue Mar 20, 2018 1:48 pm
by Alex K.
Hello Thorsten

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Mon Sep 10, 2018 11:08 am
by tpontow
Hi Alex,

can you tell me a little more detailed what i should do to fix the problems with this Report?
You wrote at 20. March 2018 11:34:01

In your reports there are following problems:
- in the first report - the edge of the text component is at the right edge of the page
- in the second report - are set borders for the DataBand
Regards
Thorsten Pontow

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Mon Sep 10, 2018 11:46 am
by tpontow
Hello,

i'm still asking me why a Report with correct preview (see file) can produce an incorrect PDF file?

Greetings
Thorsten Pontow