Mike,

So I'm browsing Defaults.pm and see something quite interesting ...

    # --------------------------------------------------- #
    # MIME-Viewer for online to html converter
    # --------------------------------------------------- #
    # (e. g. xlhtml (xls2html), http://chicago.sourceforge.net/xlhtml/)
#    $Self->{'MIME-Viewer'}->{'application/excel'} = 'xlhtml';
    # MIME-Viewer for online to html converter
    # (e. g. wv (word2html), http://wvware.sourceforge.net/)
#    $Self->{'MIME-Viewer'}->{'application/msword'} = 'wvWare';
    # (e. g. pdftohtml (pdf2html), http://pdftohtml.sourceforge.net/)
#    $Self->{'MIME-Viewer'}->{'application/pdf'} = 'pdftohtml -stdout -i';
    # (e. g. xml2html (xml2html))
#    $Self->{'MIME-Viewer'}->{'text/xml'} = $Self->{Home}.'/scripts/tools/
xml2html.pl';

What could it be?
added to Config.pm
$Self->{'MIME-Viewer'}->{'application/pdf'} = 'pdftohtml -stdout -i';

then

apt-get install poppler-utils

and checked a linked pdf. There's an interesting little monitor icon there.
click - rendered.

Thought that might be of interest to you.

On Mon, Jul 16, 2012 at 10:52 AM, Michiel Beijen
<[email protected]>wrote:

> It should just open in a popup. PDF.js renders multi-pages perfectly
> fine, it is just a nice way of not needing to start Adobe Reader or
> Document Viewer to read a PDF.
> See for example: http://mozilla.github.com/pdf.js/web/viewer.html
> --
> Mike
>
> On Sun, Jul 15, 2012 at 11:59 PM, Gerald Young <[email protected]> wrote:
> > Michiel, What is in your mind regarding the rendering viewing portal for
> a
> > pdf? (How do you want the interface to be for a multi-page pdf?) Lightbox
> > ish? inline like scribd? replace current page? New window?
> >
> > On Sun, Jul 15, 2012 at 3:07 PM, Michiel Beijen <
> [email protected]>
> > wrote:
> >>
> >> Hi!
> >>
> >> On Sat, Jul 14, 2012 at 2:21 AM, Gerald Young <[email protected]>
> wrote:
> >> > Slightly out of the ordinary thing, but I had fun with it ...
> >> > How to add Lightbox2 to OTRS so when you click on an image attachment,
> >> > it
> >> > does that popover effect.
> >> > http://forums.otterhub.org/viewtopic.php?f=60&t=16302
> >>
> >> Nice. I had the idea of doing the same but than with PDF.js <
> >> https://github.com/mozilla/pdf.js > so you can show PDF attachments
> >> inside the browser, provided you have a decent browser. Would be
> >> awesome, but did not get to it; if you feel like it, would be great!
> >> -
> >> Mike
> >> ---------------------------------------------------------------------
> >> OTRS mailing list: otrs - Webpage: http://otrs.org/
> >> Archive: http://lists.otrs.org/pipermail/otrs
> >> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> >
> >
> >
> > ---------------------------------------------------------------------
> > OTRS mailing list: otrs - Webpage: http://otrs.org/
> > Archive: http://lists.otrs.org/pipermail/otrs
> > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to