Dear Albert,<br><br>Thanks for detail comments, we will work on it and send the updated one as guided by you.<br>Also will find the possibility of a new command line option to pdftohtml as suggested by you.<br><br>With regards<br>
Leena C<br> <br><br><div class="gmail_quote">On Thu, Jun 17, 2010 at 4:14 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org">aacid@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
A Dimecres, 16 de juny de 2010, omkar va escriure:<br>
<div class="im">> Dear Albert,<br>
><br>
> Please find the corrected patch for "accessibility of pdf document " and<br>
> give your feedback.<br>
<br>
</div>Hi, some comments:<br>
* The comments like<br>
// One more parameter(int j) is added in the getCSStyle function by CDAC<br>
developer Team<br>
need to be removed, if each line had near it who coded it, the code will be<br>
twice as big and much more unreadable<br>
* The spacing of your patches could be better, that is<br>
GooString* HtmlFontAccu::getCSStyle(int i, GooString* content ,int j){<br>
should be<br>
+GooString* HtmlFontAccu::getCSStyle(int i, GooString* content, int j){<br>
but that's nothing huge, i can fix it<br>
* You are leaking (i.e. not deleting) jStr in both HtmlFontAccu::getCSStyle<br>
and HtmlFontAccu::CSStyle<br>
* I see that the new HtmlPage::complexHtml and the old HtmlPage::dumpComplex<br>
are very simple, i if you reused the code instead of copying it<br>
* This introduces a behavioural change that is unaccetable, i understand you<br>
want pdftohtml to produce a different (in your opinion better) output, for<br>
that you'll have to introduce a new comandline option to pdftohtml (something<br>
like --singlehtml) or something like that<br>
<br>
Thanks for your work :-)<br>
<font color="#888888"><br>
Albert<br>
</font><div><div></div><div class="h5"><br>
><br>
> Thanks & regards<br>
> Onkar<br>
> (for CDAC Accessibility Team)<br>
><br>
> On Wed, Jun 16, 2010 at 3:48 AM, Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> wrote:<br>
> > A Dimarts, 15 de juny de 2010, leena chourey va escriure:<br>
> > > Dear developers,<br>
> > ><br>
> > > The poppler patch is attached related with "accessibility of pdf<br>
> ><br>
> > document",<br>
> ><br>
> > > please check it and give your feedback.<br>
> ><br>
> > Hi, some comments:<br>
> > * when i apply your patch the code doesn't compile<br>
> ><br>
> > /home/tsdgeos/devel/poppler/utils/HtmlFonts.cc: In member function<br>
> > ‘GooString*<br>
> > HtmlFontAccu::CSStyle(int, int)’:<br>
> > /home/tsdgeos/devel/poppler/utils/HtmlFonts.cc:359: error: ‘jstr’ was not<br>
> > declared in this scope<br>
> ><br>
> > After fixing that, the code does not compile again<br>
> ><br>
> > /home/tsdgeos/devel/poppler/utils/HtmlOutputDev.cc: In member function<br>
> > ‘void<br>
> > HtmlPage::dumpAsXML(FILE*, int)’:<br>
> > /home/tsdgeos/devel/poppler/utils/HtmlOutputDev.cc:753: error: no<br>
> > matching function for call to ‘HtmlFontAccu::getCSStyle(int&,<br>
> > GooString*&)’ /home/tsdgeos/devel/poppler/utils/HtmlFonts.h:93: note:<br>
> > candidates are: GooString* HtmlFontAccu::getCSStyle(int, int,<br>
> > GooString*)<br>
> > /home/tsdgeos/devel/poppler/utils/HtmlOutputDev.cc: In member function<br>
> > ‘void<br>
> > HtmlPage::dumpComplex(FILE*, int)’:<br>
> > /home/tsdgeos/devel/poppler/utils/HtmlOutputDev.cc:837: error: no<br>
> > matching function for call to ‘HtmlFontAccu::getCSStyle(int&,<br>
> > GooString*&)’ /home/tsdgeos/devel/poppler/utils/HtmlFonts.h:93: note:<br>
> > candidates are: GooString* HtmlFontAccu::getCSStyle(int, int,<br>
> > GooString*)<br>
> ><br>
> ><br>
> > So i'd appreciate a patch that builds, after that we can start speaking<br>
> > about<br>
> > the functionality/code quailty, etc.<br>
> ><br>
> > Albert<br>
> ><br>
> > > On Mon, Jun 14, 2010 at 12:44 PM, leena chourey <<a href="mailto:leenagour@gmail.com">leenagour@gmail.com</a>><br>
> ><br>
> > wrote:<br>
> > > > Dear Albert,<br>
> > > ><br>
> > > > Thanks for responding.<br>
> > > > The poppler patch related with our changes will be submitted soon to<br>
> > > > poppler developers for feedback.<br>
> > > ><br>
> > > > with regards<br>
> > > > Leena<br>
> > > ><br>
> > > > On Mon, Jun 14, 2010 at 3:02 AM, Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
> ><br>
> > wrote:<br>
> > > >> A Divendres, 11 de juny de 2010, leena chourey va escriure:<br>
> > > >> > Dear all,<br>
> > > >> ><br>
> > > >> > This is in continuation to our last communication related with<br>
> > > >> > *Accessibility of Pdf document.* As discussed last time, we have<br>
> > > >> > now completed the first prototype version of the same and we are<br>
> > > >> > making<br>
> ><br>
> > it<br>
> ><br>
> > > >> > available for your testing and valuable comments/feedback. As<br>
> > > >> > mentioned last time, we convert the PDF file into HTML format and<br>
> > > >> > open the same automatically in Firefox.<br>
> > > >> ><br>
> > > >> > Enclosed with this email is the ReadMe file which explains the<br>
> > > >> > steps to download, install and run this enhancement. Please try<br>
> > > >> > out the same and give us your valuable feedback.<br>
> > > >> ><br>
> > > >> ><br>
> > > >> > We have tested it at our end by different teams and have found<br>
> > > >> > that<br>
> ><br>
> > it<br>
> ><br>
> > > >> > works well in most cases. Some places where we feel work is<br>
> > > >> > required are<br>
> > > >> ><br>
> > > >> > as follows:<br>
> > > >> > - Sometimes Orca in not able to read header and footer of page<br>
> > > >> > - Some character combinations are displayed as garbage like<br>
> > > >> > 'ft',<br>
> > > >><br>
> > > >> 'tt'<br>
> > > >><br>
> > > >> > - Content in table format is spoken by orca but it does not say<br>
> ><br>
> > the<br>
> ><br>
> > > >> row<br>
> > > >><br>
> > > >> > and column reference. Means a user can not find out that orca<br>
> > > >> > is<br>
> > > >><br>
> > > >> reading<br>
> > > >><br>
> > > >> > table content. (as orca does table reading in openoffice<br>
> > > >> > writer)<br>
> > > >> ><br>
> > > >> > We are working on these. Waiting to hear more from all.<br>
> > > >><br>
> > > >> Quick question, do you have any patches on top of the poppler you<br>
> > > >> use?<br>
> > > >><br>
> > > >> Albert<br>
> > > >><br>
> > > >> > With regards<br>
> > > >> > Leena C<br>
> > > >><br>
> > > >> _______________________________________________<br>
> > > >> poppler mailing list<br>
> > > >> <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> > > >> <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
> > > ><br>
> > > > --<br>
> > > > Leena C<br>
> > ><br>
> > > Thanks & Regards<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Leena C<br>