[Okular-devel] Review Request: table selection tool - semi-automatic dividers

Jiri Baum jiri at baum.com.au
Fri Oct 14 03:25:38 UTC 2011



> On Oct. 12, 2011, 2:56 p.m., Albert Astals Cid wrote:
> > core/textpage.h, line 167
> > <http://git.reviewboard.kde.org/r/102788/diff/1/?file=37924#file37924line167>
> >
> >     Same, you should document here that the ownership is transferred to the caller and it is the caller that has to free the memory

Ah, and also make sure that ownership is in fact transferred to the caller and doesn't remain partially with the TextPage. Done.


> On Oct. 12, 2011, 2:56 p.m., Albert Astals Cid wrote:
> > ui/pageview.cpp, line 2502
> > <http://git.reviewboard.kde.org/r/102788/diff/1/?file=37927#file37927line2502>
> >
> >     Use foreach here

Ah, here and everywhere else that I use this construct.


- Jiri


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102788/#review7261
-----------------------------------------------------------


On Oct. 6, 2011, 3:41 a.m., Jiri Baum wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102788/
> -----------------------------------------------------------
> 
> (Updated Oct. 6, 2011, 3:41 a.m.)
> 
> 
> Review request for Okular.
> 
> 
> Description
> -------
> 
> Automatic row and column dividers for the table selection tool, as per the bug description.
> 
> The table selection tool as per bug #279859 requires the user to manually indicate all the column and row dividers. However, in many situations it's trivial for the tool to detect the rows and columns automatically. It can't get it right every time, but it can get it right often and some of the remaining times it can at least get close. As long as the automatically-detected column and row dividers are easy to clear, they will save more time than they will cost.
> 
> Dividers are placed in any place where they will not intersect any letter and the gap is not zero-width. A special case is made for selections spanning multiple pages to avoid placing dividers that cannot be seen (instead of a divider in the gap between pages, two dividers are placed, one each side).
> 
> 
> This addresses bug 283440.
>     http://bugs.kde.org/show_bug.cgi?id=283440
> 
> 
> Diffs
> -----
> 
>   core/page.h 67bcf97 
>   core/page.cpp eaab64e 
>   core/textpage.h 2bdc09d 
>   core/textpage.cpp 7096e90 
>   ui/pageview.h cd88b99 
>   ui/pageview.cpp 25da571 
> 
> Diff: http://git.reviewboard.kde.org/r/102788/diff/diff
> 
> 
> Testing
> -------
> 
> Works for me...
> 
> 
> Thanks,
> 
> Jiri Baum
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20111014/f0cb495a/attachment-0001.html>


More information about the Okular-devel mailing list