Page 1 of 1

Changing visibility of StiReportEdit class

Posted: Sun Oct 07, 2018 9:00 pm
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

Re: Changing visibility of StiReportEdit class

Posted: Mon Oct 08, 2018 7:27 am
by Lech Kulikowski
Hello,

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

Thank you.

Re: Changing visibility of StiReportEdit class

Posted: Mon Oct 08, 2018 12:33 pm
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

Re: Changing visibility of StiReportEdit class

Posted: Wed Oct 10, 2018 10:20 pm
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.

Re: Changing visibility of StiReportEdit class

Posted: Thu Oct 11, 2018 6:41 pm
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?