Original article, reprint please help me publicize, or specify the original address (because I want to like this article of the people, also a little look at my other articles).
The way of Itext learning (I.)
Why study PDF?
As a printed document format, PDF has many good features that are superior to other document types. At the same time, as an electronic document format, it also has a very good reading effect.
Because we often use PDF as a document format in actual projects, we study this format.
--The software always comes from demand.
What do we do with PDFs?
The first step in analyzing requirements
As a kind of data, what we can do in essence is nothing more than a refined four words: additions and deletions
1. Generate PDF documents
2. Edit PDF document
3. Read the PDF document
On this basis, the concrete operation is further proposed:
1.1 Producing PDF documents from other documents
1.2 Generating PDF documents directly
2.1 Editing an existing PDF document
2.2 PDF document as a template for batch production of PDF documents
The second step is to analyze the necessity
1. What are the existing software for working with PDFs?
2. What are the existing programming resources for working with PDFs?
3. What is the cost of existing software and programming resources?
4. Comparison of the need to use existing software and to develop new software.
We want to combine two aspects, one is the existing graphical software, whether it has met our business needs. The second is the existing graphical software, or whether the programming resources are charged, how the cost.
This step usually in the process of learning software, we do not need to consider too deep, because learning is often a cost only care about the harvest process.
The third step analyzes the status quo
1. Why do we need to develop our own software, and the existing software does not provide us with reliable and free services (is this technology difficult?) Is the cost very high? Is the patent of technology very strong? )
2. What are the similarities and differences between the existing other document formats and the PDF? (Why isn't there a graphical editor similar to other software?) )
The Fourth Step analysis Essence
1. PDF as a file, what is its data structure? How do you behave in different systems?
I think when we are learning a technology, we should not rush into some overt problems. But from the problem of the emergence of a hierarchical, organized problem in the mind of the tree, and in the process of exploration along the tree, and constantly enrich its branches.
This series of articles, mainly introduces the use of Itext, I belong to the side of learning while sharing, technology is not professional, only for everyone as a reference. The source of the technology will be:
1. This is also the hardest part of reading and translating itext in action, and I don't think progress will be fast. This is also the main line of this series of articles: As a rookie among the members, I deeply appreciate that can not be fluent in English documents, and no good experience as a reference, encountered programming problems can only suppress the feeling. The It circle is not without talent, not without English good people. But we can all understand that the programmer this profession, can live has already made a great cost, in order to live better and constantly improve themselves, but also put the cost of life level, so take time to share experience, or to study for the work of learning (for example, in the case of the technology is constantly updated to write a book), is a kind of behavior that is often not worth the candle. I believe there are countless colleagues who want to share with us, but they are often powerless. As an intern who has just entered a job and has not yet graduated, there is no guarantee that the matter will persist in the future. At present also just to: exercise their own language expression ability, improve the organization and consolidation of knowledge, improve the level of English, develop good life and study habits. And so on, and so on, to begin the work.
2. Research and use of the examples on the official website.
3. Research and translation of the official API help documentation.
4. Try to study the source code
5. Study the results of their studies shared by online netizens. Thanks to these enthusiastic netizens.
Finally, I hope to each mutual learning friend said: technology updates faster, but also fast but you try to run the footsteps. Learning is like riding down the escalator upstairs, you work hard not necessarily progress, but you stop will certainly fall, if you go in the opposite direction, it will be more plummeted. As long as you are alive, do not stop to creep forward.
IText Learning Path (i) IText in Action