<div><br></div>
<br><br><div class="gmail_quote">On Mon, Dec 26, 2011 at 2:32 PM, Sebastian Sauer <span dir="ltr"><<a href="mailto:mail@dipe.org">mail@dipe.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 12/26/2011 07:42 AM, Panks wrote:
</div><blockquote type="cite"><div class="im">
<div>Sorry for late reply, College reopening next week so have few
assignments to deal with in this week.</div></div>
Hello Sebastian :-)
<div class="im"><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>
</div></blockquote>
<br>
Seems I am not anle to see it in our git-repository... did you do
those;<div class="im"><br>
<br>
git checkout master -b filter-words-pdfimport-panks<br></div>
git commit -a<br>
git push<br>
<br>
steps and did it succeed?<div class="im"><br>
<br>
<blockquote 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></div>
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/" target="_blank">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>
</div>
</blockquote></div><br><div><br></div><div>Hello,</div><div><br></div><div><div>I pulled the poppler in /filters/words/pdfimport/poppler</div><div>and created files pdfoutputdev.h and pdfoutputdev.cpp in /filters/words/pdfimport/poppler/utils</div>
<div>but while pushing in to kde git I got this error</div><div><a href="http://paste.kde.org/178730/">http://paste.kde.org/178730/</a></div><div>I tried 'git commit --amend --reset-author' but still I am getting the same error.</div>
<div><br></div><div>What is causing problem here?</div><div><i><br></i></div><div><i><br></i></div><div><font color="#339999" face="georgia, serif">Pankaj</font></div><div><font face="georgia, serif"><font color="#339999">UG Student </font><b><font color="#3333ff">|</font></b><font color="#339999"> </font></font><span style="color:rgb(51,153,153);font-family:georgia,serif">Dept. of Computer Science and Engineering</span></div>
<div><span style="color:rgb(51,153,153);font-family:georgia,serif">IIT Madras, Chennai, India</span></div></div>