.Net free open-source components to generate PDF [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
The task is to generate 2-3 pages PDF file, which may contain tables, with borders and without, nested tables, and simple formatting (align, text size, bold/italic). Input may be anything from markdown, or html, but some strict format to create a template. Output - pdf. Everything should be server side.
I have already researched in many libraries. iText is not supporting tables, others are expensive or require Word/IE to generate a file...
Is there any free libraries, which support this for C#?

iTextSharp does support tables (PdfPTable).
Versions 4.1.6 and below are LGPL/MPL licence, and are free of charge
Versions 5+ are not free.
I used to use iTextSharp around version 4 and I'm sure all of your requirements are met. Try it out!

ABC Pdf works very well, but its around $250 :( they offer a free trial though.
Few other alternatives will be. iTextSharp is really good :)
iTextSharp
http://sourceforge.net/projects/itextsharp/
PDF Sharp.
http://sharppdf.sourceforge.net/
PDF Clown
http://www.stefanochizzolini.it/en/projects/clown/index.html

Related

Extract small portion of image without loading all of it [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have large JPG images ( say 20000x10000 pixels) and want to extract sub-images from these images without loading whole image.
I found it's possible by using this ImageMagick command:
convert -extract 226x248+4216+3377 a.jpg o.jpg
But I need to have it in my C# WPF app.
Magick.NET did not implement extract methods.
Is there any .NET library for this? Or at least a simple exe that can be copied without installing big libs like ImageMagick on client machines.
Magick.NET does support extraction of a subimage. You should use the Crop method:
using(MagickImage image = new MagickImage("a.jpg"))
{
image.Crop(new MagickGeometry(226,248,4216,3377));
image.Write("o,jpg");
}
The -extract option of ImageMagick will read the whole jpg before cropping out the part you need. So maybe this is not a solution for your problem. Only for a small set of formats the image will not be read completely.
I don't know of any c# libraries that can do this. Gdal at http://www.gdal.org can do it, though. It also has c# wrappers, might be a bit bulky just for this purpose, though.

.NET Code Coverage Tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for a .NET code coverage tool. I have tried free version of NCover but it is working only for one .NET solution whereas I have 26 Solutions and each solution having about 10-30 projects total is about 560 projects. I use a common directory for building all solutions. All these project belong to a single product which having hundreds of DLL files and 8 exe files. I am unable to run any code coverage tool for all the 26 solutions at a time.
Please suggest me any good Code Coverage Tool. I can also think about paid version if it is suitable for me.
There is no need to worry.
You can solve your purpose using free version of NCOver.
But for that you have to do some extra effort.
Generate Report for Each solution separately and save each report.
After completing Report generation from all solutions Open NCover Explorer.
Choose merge XML of more than one solutions and in this way you will be able to merge the report. Thus your combined reporrt for multiple solution is ready.

free alternative to iTextSharp [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have a project not open source and I need to use something like iTextSharp , because iTextSharp licence say it should only be used in open sources
any alternative please
There are multiple options.
PDFSharp
You could try PDFsharp
it has an MIT license
which means according to what it says here you should be able to use in a commercial product.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
FreeSpire.Doc
There's also FreeSpire.Doc (on NuGet), which is limited to 3 pages and 500 paragraphs. It can convert Word documents to PDFs.
The AGPL basically states that you can use iTextSharp if any user of your application can have access to the source code of both iTextSharp (along with the possible modifications you did on it) AND your application under the AGPL terms.
If you want to be released from these requirements, you have to pruchase a license from iText.
You'll find more information here.
If any doubt, don't hesitate to contact the sales department of iText.
So, in short Version 2 you can use without payment (standard library open source license). For version 5 you need to pay iText.

Is there an API to read ePub books? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm trying to create an ebook reader for WP7. So far I haven't been able to find any API to read ePub books with.
Thanks,
Zain
For DRM-free html based ePubs(there are also dtbook based ePubs, but I've never seen one) you can simply use a few libraries to build a reader:
An html render control, since the content is based on xhtml 1 and css
A zip library because the container is a zip archive
An xml library to parse the meta data files
For 2. and 3. there are many libraries, some of which support silverlight/WP7. No idea about 1, but I suspect WP7 already offers such a control.
EPUB sharp beta - http://sourceforge.net/projects/epubsharp/
Also, you can check out the draft of the ePub 3 spec here
Edit: Fixed the link
EPUB Sharp has not been updated since a long time.
Here's a step by step procedure in building your own (for iPhone, IMO it's good starting point).
I would imagine that extracting the contents of the book, as string or simple text and passing it into the Microsoft Speech SDK (SAPI) would work. Functions therein can be called from within c#. Did you try that already?

Reading quicken data files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Looking for an open source library, for C++, Java, C# or Python, for reading the data from Quicken .qdf files.
#Swati: Quicken .qif format is for transfer only and is not kept up to date by the application like the .qdf file is.
QDF is proprietary and not really meant for reading other than my Quicken, probably for a reason as it is messy.
I would recommend finding a way to export the qdf into an OFX (Open Financial Exchange) or qif file. I have done some financial and quickbooks automation and I did something similar. The problem is if you don't export to an exchange format, each version differs and strange things happen for many conditions that since they aren't documented (QDF) it becomes a bad situation for the programmer.
OFX is what allows online banking, brokerages and apps like mint.com securely get financial data. It is a standard and consistent. Finding a way to this is much better if at all possible.
http://www.west-wind.com/Weblog/posts/10491.aspx
And i know one other blog where the author was developing a parser for qfx/qif... lemme look it up... googling hasnt helped yet :(
Update: Found one more:
http://blogs.msdn.com/lucabol/archive/2007/08/31/parsing-qif-quicken-files-in-c.aspx
Check out http://qif.codeplex.com/
You may want to check the license before use. Thanks

Categories