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
Changing visibility of StiReportEdit class
-
- Posts: 6259
- Joined: Tue Mar 20, 2018 5:34 am
Re: Changing visibility of StiReportEdit class
Hello,
Could you provide more detailed information about the methods which you need to use?
Thank you.
Could you provide more detailed information about the methods which you need to use?
Thank you.
Re: Changing visibility of StiReportEdit class
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
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
-
- Posts: 6259
- Joined: Tue Mar 20, 2018 5:34 am
Re: Changing visibility of StiReportEdit class
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.
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
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?