Report Desinger plugin ??? Urgent !

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
AKG
Earned a small fee
Earned a small fee
Posts: 14
Joined: Wed Aug 17, 2016 2:49 pm

Report Desinger plugin ??? Urgent !

Postby AKG » Sat Aug 20, 2016 10:22 am

I use CodeBlocks and wxWidgets to create an app for an hotels, and I need to print reports. I have to desing many new reports for them, and want to use a designer tool, that lets me drop fields and move them arround, select from a query what to print from the database etc.

What can I use ? This is urgent now, please let me know what you use for printing report or any kind of printing.

Thank you.

User avatar
doublemax
Moderator
Moderator
Posts: 12680
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Report Desinger plugin ??? Urgent !

Postby doublemax » Sat Aug 20, 2016 10:55 am

I don't know any tool for wxWidgets that does this.

I think the fastest and easiest way to get a nice looking printout is through HTML. Create a nice looking HTML page and set some placeholders for the strings you want to replace with data from the database, e.g. #firstname# #lastname# etc.

Then in your program you load the HTML file as text, replace the placeholders and use wxWebView to display and eventually print it.
Use the source, Luke!

AKG
Earned a small fee
Earned a small fee
Posts: 14
Joined: Wed Aug 17, 2016 2:49 pm

Re: Report Desinger plugin ??? Urgent !

Postby AKG » Sat Aug 20, 2016 11:06 am

What about any other Report Designer that can generate som C++ code that I can then put in my application ?
Like the FormBuilder that makes a Form, and then generate code that is put in to the application ?

Is there nothing like that ??

User avatar
doublemax
Moderator
Moderator
Posts: 12680
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Report Desinger plugin ??? Urgent !

Postby doublemax » Sat Aug 20, 2016 11:20 am

I don't know, but i also can't imagine how that's supposed to work, if it's a tool that doesn't know anything about wxWidgets or how to access the database.
Use the source, Luke!

AKG
Earned a small fee
Earned a small fee
Posts: 14
Joined: Wed Aug 17, 2016 2:49 pm

Re: Report Desinger plugin ??? Urgent !

Postby AKG » Sat Aug 20, 2016 11:34 am

If you have time, take a look at this:

http://www.oxetta.com/

Its a visual report generator, it lets you connect to a database, and there is some source code samples ...

It is very small, and very simple / easy to use it seems like...

Anybody have any experience with this one ???

User avatar
doublemax
Moderator
Moderator
Posts: 12680
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Report Desinger plugin ??? Urgent !

Postby doublemax » Sat Aug 20, 2016 12:10 pm

That looks pretty nice, i didn't know something like that existed. If you only need a Windows solution this might work, but without taking a closer look and testing it myself, i can't say for sure.
Use the source, Luke!

User avatar
marcelinux
Knows some wx things
Knows some wx things
Posts: 40
Joined: Thu Nov 07, 2013 9:59 pm
Location: Madrid, Spain

Re: Report Desinger plugin ??? Urgent !

Postby marcelinux » Fri Aug 26, 2016 11:37 am

May be, you can try with *wxReportDocument* from http://wxcode.sourceforge.net/complist. ... ing&page=1
I used *wxPdfDocument* in a test application for learning.
Good luck
I just need learn a little bit more. Thank you for your help.

iwbnwif
Super wx Problem Solver
Super wx Problem Solver
Posts: 263
Joined: Tue Mar 19, 2013 8:52 pm

Re: Report Desinger plugin ??? Urgent !

Postby iwbnwif » Fri Aug 26, 2016 1:08 pm

It isn't in any way related to wxWidgets, but one of the best tools for this job is Jasper Reports.

I wish that there was a wxWidgets equivalent, but I think that it would be a huge project and wxReportDocument is probably as close as we will get.
wxWidgets 3.10, TDM MinGW64 5.1.0, g++ 4.8.2, Ubuntu 16.04LTS, Windows 10, CodeLite + wxCrafter
Some people, when confronted with a GUI problem, think "I know, I'll use Eclipse RCP". Now they have two problems.

AshtonC1
Earned some good credits
Earned some good credits
Posts: 100
Joined: Wed Feb 18, 2015 4:56 pm

Re: Report Desinger plugin ??? Urgent !

Postby AshtonC1 » Sat May 06, 2017 5:16 pm

AKG,
What did you end up using for your report requirement?

JasperReports Library looks great if it will work with my Linux C++, wxWidgets , Code::Blocks setup.

What report method is everyone else using?

termi
In need of some credit
In need of some credit
Posts: 8
Joined: Mon Dec 29, 2014 5:48 pm

Re: Report Desinger plugin ??? Urgent !

Postby termi » Sun Jan 07, 2018 2:54 pm

Looking for probably better report generator found this post. Probably helpfull for others:

From experience - wxPdfDocument works very fine already several years for me; but you have to pass successfully the difficulties during the compilation and integration in your own application. I needed three trials and finally wrote a own Cmake Script around and now works fine. You can place images and text and format.

Now checking the wxReportDocument an this seems an excellent basis for another reports and easy export after that to pdf, xlsx (need another library) or html

iwbnwif
Super wx Problem Solver
Super wx Problem Solver
Posts: 263
Joined: Tue Mar 19, 2013 8:52 pm

Re: Report Desinger plugin ??? Urgent !

Postby iwbnwif » Mon Jan 08, 2018 12:36 pm

It is also worth considering Lime Report (http://limereport.ru/en/index.php) in this category, although it is unfortunately Qt and not wxWidgets.

However, it can still be integrated into any C++ application with suitable libraries.
wxWidgets 3.10, TDM MinGW64 5.1.0, g++ 4.8.2, Ubuntu 16.04LTS, Windows 10, CodeLite + wxCrafter
Some people, when confronted with a GUI problem, think "I know, I'll use Eclipse RCP". Now they have two problems.


Return to “General Development”

Who is online

Users browsing this forum: No registered users and 2 guests