Dear Albert,<br><br>Thanks for your response.<br><br>As discussed in the last mail, we have modified the patch so that:<br><ul><li>There is no behavioural change in pdftohtml -c <filename> means it produces exactly the same output it did before. </li>
<li>Defined new option as pdftohtml -s <filename> to generate a single html file corresponding to a pdf file.</li></ul>Please check and give your feedback if any further change is required.<br><br>With best regard<br>
Leena C<br><br><div class="gmail_quote">On Wed, Jun 23, 2010 at 1:19 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">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 Dimarts, 22 de juny de 2010, leena chourey va escriure:<br>
<div>> Dear Albert,<br>
><br>
> Thanks for giving detail comment to patch.<br>
> Please check updates given inline:<br>
<br>
</div>Please do not forget to CC the poppler mailing list.<br>
<div><div></div><div><br>
><br>
> On Thu, Jun 17, 2010 at 4:14 AM, Albert Astals Cid <<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>> wrote:<br>
> > A Dimecres, 16 de juny de 2010, omkar va escriure:<br>
> > > Dear Albert,<br>
> > ><br>
> > > Please find the corrected patch for "accessibility of pdf document "<br>
> > > and give your feedback.<br>
> ><br>
> > Hi, some comments:<br>
> > * The comments like<br>
> > // One more parameter(int j) is added in the getCSStyle function by CDAC<br>
> ><br>
> > developer Team<br>
> ><br>
> > need to be removed, if each line had near it who coded it, the code<br>
> > will<br>
> ><br>
> > be<br>
> > twice as big and much more unreadable<br>
><br>
> Done, deleted all unwanted comments<br>
><br>
> > * The spacing of your patches could be better, that is<br>
> ><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>
><br>
> Updated accordingly.<br>
><br>
> > * You are leaking (i.e. not deleting) jStr in both<br>
> ><br>
> > HtmlFontAccu::getCSStyle<br>
> > and HtmlFontAccu::CSStyle<br>
><br>
> Deleted jStr<br>
><br>
> > * I see that the new HtmlPage::complexHtml and the old<br>
> ><br>
> > HtmlPage::dumpComplex<br>
> > are very simple, i if you reused the code instead of copying it<br>
> ><br>
> > * This introduces a behavioural change that is unaccetable, i understand<br>
> ><br>
> > you<br>
> > want pdftohtml to produce a different (in your opinion better) output,<br>
> > for that you'll have to introduce a new comandline option to pdftohtml<br>
> > (something<br>
> > like --singlehtml) or something like that<br>
><br>
> For last 2 point we want some clarification.<br>
> As you said behavioural change is unacceptable and also suggested to<br>
> introduce a new command line option to generate single html. So if we do as<br>
> following, will it be acceptable?<br>
><br>
> - *Existing is:*<br>
> Command line option: pdftohtml -c <filename><br>
> Function called:<br>
><br>
><br>
> dumpComplex<br>
> ()<br>
> {<br>
> Read from input file<br>
> Write into file to Generates pagewise html format<br>
> }<br>
><br>
><br>
> - *Proposed changes:*<br>
> New Command line option : pdftohtml -s <filename> //Checked,<br>
> nothing is already defined for -s (pdftohtml -c <filename><br>
> will exists as it is)<br>
><br>
><br>
> - Function called:<br>
><br>
> dumpSingle() //new function similar to<br>
> dumpComplex {<br>
> Read from input file<br>
> Write into file to append single html format<br>
> }<br>
><br>
> - A function to “Read from input file” can be defined and call it in<br>
> both dumpComplex() and dumpSingle(), So that code duplication can be<br>
> removed (for second last point of your mail).<br>
> - And with -s option (for --single Html) behavioural change will be<br>
> defined separately. (-c will not be affected)<br>
<br>
</div></div>To be clear, pdftohtml -c should produce exactly the same output it did before<br>
your patch, pdftohtml -s you can output your version.<br>
<br>
So yes, i think i kind of agree with your proposal.<br>
<font color="#888888"><br>
Albert<br>
</font><div><div></div><div><br>
<br>
><br>
><br>
> For your opinion<br>
><br>
> With Regards<br>
> Leena C & Onkar P<br>
> (for CDAC Accessibility Team)<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Leena C<br>