<!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/26/2011 07:42 AM, Panks wrote:
<blockquote
cite="mid:CAKi+3nqFH-SuO9yifa3V0t6bZUs0GjLey7-L787ogcd9ky1=nA@mail.gmail.com"
type="cite">
<div>Sorry for late reply, College reopening next week so have few
assignments to deal with in this week.</div>
Hello Sebastian :-)
<div>Anyway, I made that skeleton work, now it is showing pdf
files in 'Open Document' window and pushed it to kde git too.</div>
</blockquote>
<br>
Seems I am not anle to see it in our git-repository... did you do
those;<br>
<br>
git checkout master -b filter-words-pdfimport-panks<br>
git commit -a<br>
git push<br>
<br>
steps and did it succeed?<br>
<br>
<blockquote
cite="mid:CAKi+3nqFH-SuO9yifa3V0t6bZUs0GjLey7-L787ogcd9ky1=nA@mail.gmail.com"
type="cite">
<div>I went through that Outputdev file once roughly. Can you
please give me some hint on what should I hit upon/do next?</div>
</blockquote>
<br>
I think we need to have an own poppler OutputDev implementation in a
similar way like at <a
href="http://cgit.freedesktop.org/poppler/poppler/tree/utils/">http://cgit.freedesktop.org/poppler/poppler/tree/utils/HtmlOutputDev.cc</a>.
We first can add a skeleton for that that does nothing more but to
reimplement the beginString/endString/addChar methods and then write
them to ODF <p><span></span></p> in a
similar way the calligra/filters/words/ascii/AsciiImport.cpp does.<br>
<br>
For that we are maybe forced to get a complete copy of poppler into
e.g. calligra/filters/words/pdfimport/poppler/* when upstream
doesn't allow to link against the libpoppler-library. We will see.<br>
<br>
Then we would have the very basic thing already working; read the
strings and put them into a ODT so the plain-text becomes visible in
Words when our import-filter loads a PDF. As next step we could then
add simple formattings like font-style, bold/italic/underline/etc
and once that is done add the code to handle images.<br>
<br>
Please make sure that your current code is in our git so I can help
direct on the concrete code-base with getting this points named
above accomplished. Lot of thanks in advance :-)<br>
<br>
</body>
</html>