December 15th, 2009
Piwik 0.5.2 out, but when you try to automatically update it, you still meet pclzip_err_bad_format error. I do not want to manually update it every time, so I decide to find out the issue, from the keyword, “pclzip_err_bad_format”, I think maybe something wrong with PclZip.
The version of PclZip in Piwik is 2.8, but the last version of PclZip is 2.8.2, so I download the last version PclZip, unzip and replace the old version in Piwik, then the issue is gone.
the step in details is,
download the last version PclZip , or you can download it from here directly,
- wget http://stat.steedsoft.com/pclzip-2-8-2.tgz
- tar -zxfv pclzip-2-8-2.tgz
- cp piwik/libs/PclZip/pclzip.lib.php piwik/libs/PclZip/pclzip.lib.php.org
- cp pclzip.lib.php piwik/libs/PclZip/pclzip.lib.php
- do the automatically update now.
P.S.
I think I had better suggest Piwik team to update PclZip, so every can easily update Piwik from next version.
Posted in tutorial | 3 Comments »
December 15th, 2009
In Ted Padova’s post, he said,
Adobe Designer 8 supports two different types of forms: Static forms and Dynamic forms. If a form is created as a static form you can easily convert the form in Acrobat 8 to a PDF form.
and he give the steps on how to convert Adobe Designer forms to Acrobat PDF Forms.
This let me thought that I have also done this kind job before, but I did not rely on Adobe Acrobat, just rely iTextSharp, I have used it in my demo software FormServer, and it also have a online demo, Fill and Save PDF Form online, in fact they are the clone of commercial software.
Here is some features about FormServer,
- support automatically convert static PDF forms created by Adobe Designer to Acrobat Form.
- support save data to PDF Forms without Adobe Acrobat, only Adobe reader is enough.
- support save data to FDF
And a HK company found my FormServer, and asked for the source code of “Converting static PDF forms created by Adobe Designer to Acrobat Form”, finally I sold they on US$400.
PS.
With the examples of Bruno Lowagie,Using iText to Fill PDF Forms Created by Adobe Designer, iText can both support Dynamic Forms and Static Forms created by Adobe Designer now.
Posted in Adobe Acrobat, Adobe LiveCycle, Adobe Reader, FDF, PDF, PDF Form, Softwares, XFDF, iText, iTextSharp(iText#) | No Comments »
December 15th, 2009
There are two example codes focus on how to fill Adobe Designer Forms(XFA Forms, Interactive Forms) with iText written by Bruno Lowagie in answer to questions that were posted to the iText mailing list.
FillDynamicXfa and FillDynamicXfa2
From the java name, we can notice they only support dynamic PDF Forms created by Adobe designer.
btw, I have compiled FillDynamicXfa into native byte code, so they can run without jre installed, and only 1.72M, and will release lately.
P.S.
Adobe LiveCycle Forms
Livecycle forms are XML-based and can be either static or dynamic. They are deployed securely to a user’s browser over any platform and are viewed using Adobe Reader (version 7.0.5 is the minimum version for full functionality). The quality of submitted information is improved through instant data validation and calculations. Captured data can also be transferred directly into an organisation’s core systems, streamlining form-driven business processes as well as improving data accuracy.
More info about XFA from wikipedia
XFA (also known as XFA forms) stands for XML Forms Architecture, a family of XML specifications that was suggested and developed by JetForm to enhance the processing of web forms.
XFA’s main extension to XML are computationally active tags. In addition, all instances created from a given XFA form template keep the specification of data capture, rendering, and manipulation rules from the original. Another major advantage of XFA is that its data format allows compatibility with other systems, and with changes to other technology, applications and technology standards.
According to JetForm’s submission to the World Wide Web Consortium, “XFA addresses the needs of organizations to securely capture, present, move, process, output and print information associated with electronic forms.”[1] The XFA proposal was submitted to the W3C in May 1999.
In 2002, the JetForm Corporation was acquired by Adobe Systems, and the latter introduced XFA forms with PDF 1.5 and the subsequent Acrobat releases (6 and 7) in 2003.[2]
XFA forms are saved internally in PDF files or as .XDP files which can be opened in Adobe’s LiveCycle Designer software.
XFA forms are synonymous with SmartForms in the Australian government.
Posted in Adobe Acrobat, Adobe LiveCycle, FDF, PDF, PDF Form, XFDF, iText | 1 Comment »