----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/111410/#review41759 -----------------------------------------------------------
generators/poppler/generator_pdf.cpp <http://git.reviewboard.kde.org/r/111410/#comment30484> for reading ease i'd appreciate if this was two lines. generators/poppler/generator_pdf.cpp <http://git.reviewboard.kde.org/r/111410/#comment30485> Does this give you the right info for files opened in http::/ ? generators/poppler/generator_pdf.cpp <http://git.reviewboard.kde.org/r/111410/#comment30486> This needs to be made async, this will potentiall freeze the UI for a while depending on what we ask pdftocairo to do. That obviously means you can't return a bool, but should probably return something like a KJob. Yes, i know the old export doesn't do that, but the fact that we did it wrong before is not an excuse for doing it wrong now :-) - Albert Astals Cid On Aug. 27, 2013, 8:11 p.m., Thomas Fischer wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/111410/ > ----------------------------------------------------------- > > (Updated Aug. 27, 2013, 8:11 p.m.) > > > Review request for Okular. > > > Repository: okular > > > Description > ------- > > This patch implements the feature request of bug 321350: if a PDF file is > viewed, the selection tool offers the new extraction method "vector" which > allows to save to a file (PDF, SVG, EPS, PostScript). The crop operation is > performed by calling "pdftocairo" with matching arguments. The resulting file > contains the original PDF file's content without rendering it to a pixmap. > > I am not sure if calling an external program is an acceptable solution for > this problem. However, it is tested if the program is available before > showing the new option. Alternatively, the code of pdftocairo (as part of > poppler) would had to be copied and integrated into Okular increasing the > solution's complexity. I am not aware of a similar solution available using > poppler-qt4 only. Maybe using a QPrinter printing to PDF would have been an > alternative, but again this seemed to be too complex. > > > Diffs > ----- > > core/document.h fe296e0 > core/document.cpp 3af92c8 > core/generator.h a5a971b > core/generator.cpp 41beb92 > generators/poppler/generator_pdf.h 5d5853a > generators/poppler/generator_pdf.cpp 1a44523 > ui/pageview.cpp 0d6c567 > > Diff: http://git.reviewboard.kde.org/r/111410/diff/ > > > Testing > ------- > > > Thanks, > > Thomas Fischer > >
_______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel