Changing visibility of StiReportEdit class

Stimulsoft Reports.WEB discussion
Post Reply
FrenkR
Posts: 131
Joined: Mon Jan 05, 2015 12:15 am

Changing visibility of StiReportEdit class

Post by FrenkR »

Hello,
with your help, we finally created custom drag/drop inside designer. Now we would like to add custom DesignerEvent handler to generate report properly on server side. I believe that class (StiReportEdit) with methods for generating proper stream has set visibility to "internal". Is it possible for you to change visibility to "public", please?

Rgds,
Frenk
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: Changing visibility of StiReportEdit class

Post by Lech Kulikowski »

Hello,

Could you provide more detailed information about the methods which you need to use?

Thank you.
FrenkR
Posts: 131
Joined: Mon Jan 05, 2015 12:15 am

Re: Changing visibility of StiReportEdit class

Post by FrenkR »

problem is that StiReportEdit class is marked as internal. Methods inside class are marked as public.
main methods are all methods that generate DesignerEvent() response, namely:
StiWebDesigner.CommandResult()
StiReportEdit.AddReportToUndoArray()
StiReportEdit.CreateComponent()
StiReportEdit.CreateInfographicComponent(text);
StiReportEdit.CreateBarCodeComponent(text);
StiReportEdit.CreateShapeComponent(text);
-- and for streaming --
StiReportEdit.GetComponentRect()
StiReportEdit.GetParentName()
StiReportEdit.GetParentIndex()
StiReportEdit.GetComponentIndex()
StiReportEdit.GetAllChildComponents()
StiReportEdit.GetSvgContent()
StiReportEdit.GetAllProperties()
StiReportEdit.GetPropsRebuildPage()
StiReportEdit.GetTableCells()
StiReportEdit.DoubleToStr()
StiReportEdit.BorderToStr()
StiReportEdit.Base64ToImage()
-- and other helpers
StiEncodingHelper.Encode()
StiEncodingHelper.DecodeString()

This would really help a lot. Thank you.
Rgds,
Frenk
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: Changing visibility of StiReportEdit class

Post by Lech Kulikowski »

Hello,

Unfortunately, we can not make these methods public, because they are internal methods of the component, they are constantly changing, can be renamed, or the logic of work can be changed. Also, we can not provide any documentation or assistance on them.

You can buy an extended license with source code, in which case you will have much more options for customizing components.

Thank you.
FrenkR
Posts: 131
Joined: Mon Jan 05, 2015 12:15 am

Re: Changing visibility of StiReportEdit class

Post by FrenkR »

I am aware that this methods are not documented nor supported. And that functions are changing. But purchasing source code does not change basic problem, classes are not usable without modification of original source code which mean changing your source code on every upgrade. Only setting classes StiReportEdit and StiEncodingHelper from internal to public would solve my problem. All needed methods inside this classes are already set to public. Can you do that, please?
Post Reply