Chart and graphs - itext

I am using iTextSharp version 4.1.2 and cannot update to newer version because iText changed
their licence agreement.
I am very satisfied with this version and it's working fine for me.
I can't find anywhere how to produce pie or bar or columns graphs and charts
with that version and looks like all documentation over the internet been removed.
If you are using older version and by the chance you have documentation can you please share
or point me to the source, or explain how?

iText doesn't have built-in support for charts or graphs. Instead you are encouraged to use a 3rd-party library to generate these and then add them as either graphics or PDFs.
Another option as outlined in this post is to use the iTextSharpExtensions. Please note that although it has the word "iText" in it is in no way endorsed by the makers of iText.
Also, as a quick side note, please read FAQ, specifically the "Why shouldn't I use iText 2.x (or iTextSharp 4.x)?" explaining some of the myths of the license of the version you are using.

Related

Can I use ag-grid's old tree data without the enterprise version?

I'd like to use ag-grid community in plain JS project, which could be commercial soon. I don't know much about license policies.
From documentation I could suggest that community library is stored here?
src="https://unpkg.com/ag-grid/dist/ag-grid.min.noStyle.js
Further, I'm intersted in Tree Data (Legacy) feature, which is free. But it's source library looks like:
src="https://unpkg.com/ag-grid-enterprise#18.1.1/dist/ag-grid-enterprise.min.js
Am I breaking the license rules using this feature? How should I use it correctly? What if I use enterprise lib in non-commercial project, would it work?
You can indeed use the old tree data implementation without the enterprise version, there's a quote I didn't notice before which sums it up:
https://www.ag-grid.com/javascript-grid-tree-data/
How Tree Data is managed in ag-Grid was changed in ag-Grid v14. This
page presents the new way of working with Tree Data. The old way was
part of ag-Grid free, the new way is part of ag-Grid Enterprise. The
old way is deprecated but you can still use it, but we will not be
enhancing it. For documentation on the older version of the grid prior
to v14 see Tree Data (Legacy).
In their demo of old tree data, the JavaScript file used should really be the "community" version instead of the enterprise one. They just use the enterprise version in all demos to make it easier.

Where is the com.lowagie.database class?

I could not find the com.lowagie.database.DatabaseConnection and com.lowagie.database.HsqldbConnection in the itext-5.5.5.jar.
Thus I could not do the exercises in the book titled itext In Action. Does anyone know where they are?
You can find the classes here and here.
Which version of the book do you own? If you own the the first edition there was an update (second edition) released. In 2009 there was a bigger change to the iText library which also renamed the package from com.lowagie to com.itextpdf.
And as I just saw you may also have a look here.
The iText projects recently moved from SourceForge to Github. You can find all the code related to the second edition here: https://github.com/itext/book
Thanks all of you. My book is the second edition. According to my experience, I think the most convenient way to get the material needed for book's exercises is to go to the publisher website (www.Manning.com/lowagie2/) to download the source code (the big file 26MB).

APGL version of iText on Github

I have created a project using APGL version of iText. Now, I want to share this code in the Github account of mine. But, I donot know what should I do so that not breaking the rule. May you help me with clear instruction?
If licence.txt is enough, do you have a sample licences.txt?
Note: I am using Java verions of iText
Copy/paste from the iText mailing list where the exact same question was posted:
The source code headers of your own code should mention the AGPL
(similar to what is present in the iText source code headers, but with
references to your own project).
As for the licenses.txt: it is important that people downloading your
source code know that they are also using iText, so a licenses.txt
with a reference to the iText web site http://itextpdf.com and
especially where to find the iText code is sufficient, for instance a
link to https://github.com/itext/itextpdf/
Please avoid cross-posting questions on different forums. Pick the forum you like most and stick to it.

Can I still release a product with iText 2.1.5?

I can not find any link related with 2.1.5 from SourceForge. I wonder whether I can still use this version as a third party component in my product.
Any comment would be appreciated very much!
Sure you can. Search the web and you will find that version easily (e.g. here or here) It is a different question however whether you should still use that version. It is quite old and lots of bugs have been fixed and new functionality has been added. So do the following:
check the license restrictions (LGPL vs. AGPL)
if you don't have a problem with a GPL based license then use the latest 5.X version
if you can't use APGL buy a commercial license or use at least version 2.1.7
if you go the 2.1.7 route do some testing - in many cases it will do its job still fine. If not you'll probably have to fix it by yourself
Update: I would now use openPDF which is a maintained fork based on 2.1.7.

SCORM version in moodle

i want to know..
how can i know SCORM version that are my company use?
and I want to know the latest version of SCORM..
Because i read moodle docs but dont know how to check it
If you are trying to determine which version of SCORM some content is using, the easiest way is to look at the contents of the imsmanifest.xml file.
There are some templates for what the manifest files should look like for different versions here. You can also probably tell by looking at which set of XSD files are included with the package as those will vary between SCORM versions as well.
A simpler way is to import the course into the freely available SCORM Cloud. Launch the course from the "SCORM Test Track Sandbox" section and then click on "View Debug". Expand the Activity Data tree until you see the "Course Information" node and it will tell you which learning standard the course is using.
If you are trying to determine which version of SCORM your LMS supports, the easiest way is to just ask your vendor. You can also just try importing packages of various versions to see what works. Sample content from every version is available here. If you are referring to Moodle, I know that they have support for SCORM 1.2 and very basic support for some of SCORM 2004. If you need full SCORM 2004 support in Moodle, look here.