Questo spazio verrá prevalentemente utilizzato per condividere alcune informazioni e piccoli programmi che mi piace sviluppare nel tempo libero. L'argomento principale sono i sistemi operativi posix compliant tipo GNU/Linux. Spero che quello che trovate vi sia utile come lo é per me.
Read in English

servicemenu-pdf for KDE4

Finally I finish porting of konq-pdf.

I renamed again because I want a compatibility name with other servicemenus for kde4.

I rewrite all from scratch but I lost many languages (only pdfnup menu is ok).
I dismissed two servicemenus (rotate, join or add) because now they are in pdftk servicemenu too.
I have added some tools (rotate left, rotate right, overturn, stamp whit other document).

I changed completly structure of all servicemenus and now they are 2 files for every base-software (pdftk, pdfnup, …).
I now can insert many control point in script. This I made in the next time.

The translation is now more simply. Now you have messages in your language in a group of variables. Simply.

PS. I asked to Mr. Linus Torvalds for insert this servicemenus in the kernel. Yes, it’s true. :-D

Description:

1) pdftk service menu:

- Join selected PDF (alphabetic order)
- Add another pdf to selected file
- Rotate        <- NEW
left        <- NEW
right        <- NEW
overturn    <- NEW
- Extract pages
- Extraxt all even pages
- Extract all odd pages
- Burst PDF pages
- Repair
- Watermark pages of a PDF file
- Stamp            <- NEW
- Lock (give master password, give user password, select permissions)
- Unlock (with master password)
- Attach arbitrary file (not PDF only, but documents audio image movie too)
(For now, you can view attached files with Acrobat Reader only)
- Extract all attached files (one or more)
(Acrobat Reader not required for this)
(These are only useful when you  want  to  edit  PDF code  in  a  text editor like vim or emacs)
- Uncompress PDF files (Remove PDF page stream compression)
- Compress PDF files (Restore page stream compression)
- Document information

Depend only on pdftk (http://www.accesspdf.com/pdftk) and kde.

2) pdfjam service menu (pdfnup):

- 2 pages per sheet
- 4 pages per sheet
- 6 pages per sheet
- 8 pages per sheet
- Custom pages per sheet
(It’s possible to choose if you want framed or no-framed)

Depend only on pdfjam (http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/) and kde.

3) poppler-utils service menu (pdfimages, pdftohtml,pdftoppm, pdftotext):

- Convert an PDF document to HTML page
conver to all pages or selected range only
exchange .pdf links with .html
ignore images
generate no frames
force hidden text extraction
do not merge paragraphs
override document DRM settings
- Convert an PDF document to one or more images
- Extract images from PDF documents
- Convert PDF document to text

Depend only on poppler-utils.

Home installation:
- place the desktop files in ~/.kde/share/kde4/services/ServiceMenus
- place the scripts sh files in a directory in your path (I have ~/bin)

System-wide installation (for *ubuntu):
- place the desktop files in /usr/share/kde4/services/ServiceMenus/
- place the scripts sh files in /usr/bin/ or /usr/local/bin/

Screenshots

screenshot of pdftk servicemenu

screenshot of pdftk servicemenu

screenshot of pdftotext servicemenu

screenshot of pdftotext servicemenu

screenshot of pdfnup servicemenu

screenshot of pdfnup servicemenu

Download

servicemenu-pdf 0.1 (tar.gz)
service-menu-pdf 0.1 (deb)

Enjoy

Filed under:KDE Service Menus

Leave a Reply