Font Size: a A A

A Tool For Converting Code File To Pdf With Syntax Highlight

Posted on:2013-11-26Degree:MasterType:Thesis
Country:ChinaCandidate:L XueFull Text:PDF
GTID:2248330371997288Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Now E-book has been used everywhere. Most books have E-book version. For programmers, they will learn a lot from computer E-book, there will be a lot of code examples. Among those code examples, it will display as black font which is hard to impressive readers, and cause lots of problems. Some editors support syntax so that readers can see different fonts on comments, variables, keywords and method. That will help readers to understand the code easily.After some research on this kind of software, I found WPS from KingSoft and Gedit from Gnome can achieve the goal. The WPS from KingSoft can be a useful text editor with syntax by syntax plug-in, and combine with converting function can finish the target. The Gedit editor from Gnome must be clicked button to convert to PDF file with syntax, but it can be used only by user interface.This software idea is based on my work experience; it can convert a programming language source code file to a PDF file with syntax. It also means that keywords can display in different colors and fonts in different source code files. There are differences between Linux operating system and Windows operating system which it was operated by commands on Linux and operated by user interface on Windows, but the core code is similar, using a functional decomposition of the form of different functions, each function has a corresponding module. The software which uses object-oriented programming combined with the factory model and the prototype model. Both of the two design patterns make the software design more scalability and reusability.
Keywords/Search Tags:Editor, Language Syntax, Source Code Converting, Design Patterns
PDF Full Text Request
Related items