<div dir="ltr"><div><div>I'm aware about Textpage algorithms that regardless of the generator, makes text selection work properly in column layout.<br></div>I'm not asking it for okular, I'm asking for personal use, as I was trying out Poppler, I made a small app that currently can open pdf files, while I was working on the text selection in column layout, I thought that if all the libs generate text in the correct order then there is no need for coding the algorithm to arrange text. In future I'm planning to add support for other formats, so I need to know if the algorithm is needed.<br>
<br></div>Jaydeep<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 29, 2012 at 11:22 PM, 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El Dissabte, 29 de desembre de 2012, a les 22:56:12, Jaydeep Solanki va<br>
escriure:<br>
<div><div class="h5">> As you might be knowing that Poppler::Page::textList() generates text in<br>
> the correct order (i.e. left to right). Now poppler not only generates it<br>
> in the correct order but it also considers the layout, for example in a two<br>
> column document, it follows the column layout while indexing the text.<br>
> [image: Inline image 2]<br>
><br>
> just of example consider the image above, see the selection, poppler<br>
> doesn't generate textList() in that order, it generates the textList() as<br>
> shown in the below image,<br>
><br>
> [image: Inline image 3]<br>
> So my question is do all the libraries that the generators of okular use,<br>
> generate text in the proper order considering the layout ?<br>
<br>
</div></div>That doesn't matter, Textpage algorithms "should" correctly arrange text in<br>
columns (as correctly as the algorithm in there works).<br>
<br>
Have you found any particular problem?<br>
<br>
Albert<br>
_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
</blockquote></div><br></div>