Page 2 of 3

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Mon Sep 10, 2018 1:55 pm
by tpontow
By the way: Everything worked fine in Version 2016.3. And there are many changes in the

Code: Select all

StiSegmentPagesDivider
class since then.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Mon Sep 10, 2018 2:42 pm
by tpontow
I found the reason for my problem. In method

Code: Select all

public static StiPagesCollection Divide(StiPagesCollection pages, StiExportService service)
of class

Code: Select all

Stimulsoft.Report.Export. StiSegmentPagesDivider
when using PDFExport the variable needClip is going to be false:

Code: Select all

var needClip = !(service is StiPdfExportService);
When changing needClip to true at runtime in debugger erverything works fine. Can you say something to that Code and what can do now?

Greetings
Thorsten

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Tue Sep 11, 2018 1:20 pm
by tpontow
Hello,

I solved the problem by changing locally the code in

Code: Select all

StiSegmentPagesDivider.Divide(StiPagesCollection pages, StiExportService service)
I changed line

Code: Select all

var needClip = !(service is StiPdfExportService);
to

Code: Select all

var needClip = true;
Is it possible to provide StiPdfExportSettings with a property NeedClip in the fututre so that a developer can configure the Clip-Behaviour himself?

Thanks and regards
Thorsten Pontow

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Wed Sep 12, 2018 12:19 pm
by tpontow
This post feels like a soliloquy :-)

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Wed Sep 12, 2018 12:29 pm
by Lech Kulikowski
Hello,

Thank you for your information about the solution.

Thank you.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Wed Sep 12, 2018 12:32 pm
by tpontow
My question again: Is it possible to provide StiPdfExportSettings with a property NeedClip in the fututre so that a developer can configure the Clip-Behaviour himself?

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Tue Sep 18, 2018 7:17 am
by HighAley
Hello, Thorsten.

Sorry, for taking so long to reply.

We have made necessary changes in our export.
You don't need to set any option, export will work as expected by default.

This improvement will be available in our next build that is planned for the end of September.

Thank you.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Tue Sep 18, 2018 7:53 am
by tpontow
Hello HighAley,

great to hear that! I will watch for that Topic in the release notes of the next updates! Thanks for you Support...

Thanks
Thorsten

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Tue Sep 18, 2018 2:57 pm
by HighAley
Dear, Thorsten.

We are always glad to help you.
Let us know if we can do anything else for you.

Thank you.

Re: Problem PDF-Export with StiSegmentPagesDivider.Divide

Posted: Thu Oct 25, 2018 8:50 am
by tpontow
Hello HighAley,
This improvement will be available in our next build that is planned for the end of September.
Any new Information about the release date of your next update build?

Thanks
Thorsten