Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUsing WinPCap Pin
sarmed5-May-05 8:04
sarmed5-May-05 8:04 
GeneralRe: Using WinPCap Pin
CodeBeetle26-May-05 6:50
CodeBeetle26-May-05 6:50 
Questiondo u know the differences between command.com and cmd.exe? Pin
includeh105-May-05 7:57
includeh105-May-05 7:57 
AnswerRe: do u know the differences between command.com and cmd.exe? Pin
David Crow5-May-05 8:06
David Crow5-May-05 8:06 
GeneralRe: do u know the differences between command.com and cmd.exe? Pin
includeh105-May-05 8:28
includeh105-May-05 8:28 
GeneralRe: do u know the differences between command.com and cmd.exe? Pin
David Crow5-May-05 9:43
David Crow5-May-05 9:43 
AnswerRe: do u know the differences between command.com and cmd.exe? Pin
Mike Dimmick5-May-05 17:31
Mike Dimmick5-May-05 17:31 
GeneralReport generation for a scientific/engineering application (long) Pin
Orhun Birsoy5-May-05 7:54
Orhun Birsoy5-May-05 7:54 
Hi,
I am looking for a report generation solution for a desktop engineering application. For now, this will be a hobby project so I am looking for a library (or a suite of libraries) that are free or LGPL or cheap (ei less than $500 in total). Note I excluded GPL, because this is also a technology search for a commercial application. For my hobby project I want a multi platform solution (*nix, Windows and Mac?), but for the commercial application Windows support is enough. If the solution is using a commercial library it must be royalty free.

. This report will be a multi page report, containing tables(lots of them), figures (most probably png outputs from a(n) OpenGL/DirectX/GDI frame), formulas and of course normal text.

. There should be a previewer that I can embed into my application.

. It should support printing directly.

. Editing is perhaps the most ambiguous part. Editing will be quite limited. I do not want the user to edit the values in the tables, but add additional text. It would be great if this could be done in the preview mode, ie sizing a table in order to add a note next to it, or add a sentence to an existing paragraph.

. Most of the time, the report generated will be stand alone, meaning that the user will print it directly within the application. But it is also possible that this report will be a part of a bigger report that most probably will be prepared in MS Office and/or OpenOffice so I should also be able to export to some format that these applications can import without losing too much information along the way (formulas will be tricky). Of course this conflicts with the limited editing requirement, but you can not have it all (or can I?)


My solutions:
1. Use (la)Tex. I am familiar with (la)Tex. So I can generate the report in tex and convert to some format (ie pdf, rtf or whatever) and display/print it. For the PDF part I can embed Acrobat Reader in to my application, although I do not know how to do this in Linux but, I can just look at the source code of an application which does it. Or I can use GhostScript, although their web site requires you to email them for detailed information on commercial usage, I can do that if I find this more usable than embedding Acrobat Reader.

2. Use rtf. Although I am familiar with rtf format, I am not really sure about table and/or formula support in rtf.

3. Use pdf. I am not really familiar with pdf, but there are libraries around that will generate pdfs for you with a nice C/C++ interface. The downside is I have to implement all page layout algorithms myself including formulas, tables etc.

4. Embed MS Word into my application. I know how to do this, but I do not know how much control will I have in terms of generating a complete report with formulas and tables (definitely I will have much more control then Acrobat Reader). I am hoping the same thing can be done with OpenOffice too, at least for other platforms that I want to support. I do not like this solution very much, since you require the user to buy quite expensive product (for MS Word), and/or download a big installation for a relatively small (ie less than 5MB) application. Note, (la)Tex may also suffer from the same problem, depending on which extensions I end up using.

5. And finally as always, implement something from scratch.

Although I will prefer C/C++, I am open to suggestions to libraries that are written in other languages.

Thank you in advance...

Orhun Birsoy
GeneralSet active a radio button as default Pin
alvarillo5-May-05 7:24
alvarillo5-May-05 7:24 
GeneralRe: Set active a radio button as default Pin
David Crow5-May-05 7:43
David Crow5-May-05 7:43 
GeneralRe: Set active a radio button as default Pin
alvarillo5-May-05 8:04
alvarillo5-May-05 8:04 
GeneralRe: Set active a radio button as default Pin
David Crow5-May-05 8:07
David Crow5-May-05 8:07 
GeneralRe: Set active a radio button as default Pin
alvarillo5-May-05 8:16
alvarillo5-May-05 8:16 
GeneralRe: Set active a radio button as default Pin
David Crow5-May-05 9:24
David Crow5-May-05 9:24 
GeneralRe: Set active a radio button as default Pin
ddmcr5-May-05 8:47
ddmcr5-May-05 8:47 
GeneralRe: Set active a radio button as default Pin
ricecake5-May-05 9:42
ricecake5-May-05 9:42 
GeneralRe: Set active a radio button as default Pin
David Crow5-May-05 9:49
David Crow5-May-05 9:49 
GeneralLoad webpage using url in C Pin
Member 7785435-May-05 7:22
Member 7785435-May-05 7:22 
GeneralRe: Load webpage using url in C Pin
includeh105-May-05 8:03
includeh105-May-05 8:03 
GeneralRe: Load webpage using url in C Pin
ThatsAlok5-May-05 20:52
ThatsAlok5-May-05 20:52 
GeneralMethods Pin
javi_jmc5-May-05 6:28
javi_jmc5-May-05 6:28 
GeneralRe: Methods Pin
Ansari A. Halim5-May-05 21:34
Ansari A. Halim5-May-05 21:34 
GeneralLIBC conflics with MySQL++ Pin
_kane_5-May-05 6:20
_kane_5-May-05 6:20 
GeneralRe: LIBC conflics with MySQL++ Pin
Mike Dimmick5-May-05 17:57
Mike Dimmick5-May-05 17:57 
GeneralRe: LIBC conflics with MySQL++ Pin
_kane_5-May-05 19:39
_kane_5-May-05 19:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.