<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 12/18/2011 09:33 PM, Panks wrote:
<blockquote
cite="mid:CAKi+3nq0y5CrHv1YciRFJ1gn2PN6Xttb2cdgGy-VembyToHwVg@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<span>Hello everyone,
<div>This is Pankaj, I am a second year CS student at Indian
Institute of Technology, Madras.</div>
<div>I am interested in contributing to Calligra.</div>
<div><br>
</div>
<div>
While going through last year (2011) gsoc idea page I found
these ideas interesting:</div>
<div>Project: PDF-Import and/or PDF-Export AND Integrate with
Akonadi for Calligra Words</div>
<div>and Project: PSD File import/export Support for Calligra
Krita</div>
<div><br>
</div>
</span><span>I would like to work upon one or more(depends on
time) of these ideas.</span>
<div><span>But since I am new to KDE, I would like someone to
mentor/help me along with the project.</span><span>
<div> So, can someone please help me along with? </div>
<div> <br>
</div>
</span><span>
<div>Credentials: I have knowledge of C++ and Qt.</div>
<div><br>
</div>
</span></div>
</blockquote>
<br>
and hello <span>Pankaj,<br>
<br>
I would be willing to mentor you on getting a PDF-Import filter
for Calligra Words done. I am available in our irc-channel
#calligra (on <a class="moz-txt-link-freetext" href="irc://irc.freenode.net/calligra">irc://irc.freenode.net/calligra</a> - use e.g. the
"Konversation" application to connect to IRC) as "sebsauer".<br>
<br>
First steps would be;<br>
1. Build Calligra yourself from the sources. See
<a class="moz-txt-link-freetext" href="http://community.kde.org/Calligra/Building">http://community.kde.org/Calligra/Building</a><br>
2. Get a KDE git-account to commit work you do. See
<a class="moz-txt-link-freetext" href="http://techbase.kde.org/Contribute/Get_a_Contributor_Account">http://techbase.kde.org/Contribute/Get_a_Contributor_Account</a><br>
3. Get familar with the area where the work will happen. That is
the filter-framework. We are going to write a filter-plugin that
reads PDF-files using the poppler library and then generating
OpenDocument ODF. The filter-framework will take care of all the
things around including passing the resulting ODT-file on to
Calligra Words so it's loaded+displayed and the user can
edit+save.<br>
<br>
For point 3 you may like to have a look at;<br>
* in our sources at the Text-file importer located at
calligra/filters/words/ascii/AsciiImport.cpp to have an idea how a
filter looks like.<br>
* at the poppler-library. For that install libpoppler (if not
already installed cause it's a pretty standard-library used by
applications like Okular to display PDF-files). There look at the
header-files to have an idea how the API looks like.<br>
<br>
Once those initial steps are done we would create an initial
filter skeleton for the PDF-import filter. We could basically copy
the AsciiFilter linked above over and 1) change the CMakeLists.txt
to link against libpoppler and 2) change the desktop file so we
take PDF-files as input and not text-files like the text-filter
does and 3) start to use the libpoppler-API to evaluate the
PDF-document.<br>
<br>
So much for the start :-)<br>
</span><br>
</body>
</html>