1. #11
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
    SunboX has a spectacular aura about SunboX has a spectacular aura about

      1  

    Default


    Quote Originally Posted by SunboX View Post
    Should be possible. I will take a look at this. Maybe next weekend.
    It´s possible and I´m working on it. But it´s not ready to use by now:
    https://github.com/SunboX/st2_pdf_panel

    Preview:
    http://sunbox.github.com/st2_pdf_panel/demo/

    greetings Sunny
    Water is coffee with javascript turned off.

  2. #12
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,310
    Vote Rating
    138
    ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light ssamayoa is a glorious beacon of light

      0  

    Default


    Holly cow!

    It happens that I'm starting a new project which may need PDF browsing capabilities.

    I will do some testing and let you know.

    Keep the good work!
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #13
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
    SunboX has a spectacular aura about SunboX has a spectacular aura about

      1  

    Default


    Quote Originally Posted by xcomm View Post
    Looks nice Sunny.
    Can this also be ported to Sencha Touch 2? Or is there another way to get it working on Sencha Touch 2

    Kind regards
    Ok, it´s done. A PDF Viewer Panel for the Sencha Touch 2 Framework:
    http://www.sencha.com/forum/showthre...761#post877761

    greetings Sunny
    Water is coffee with javascript turned off.

  4. #14
    Sencha User
    Join Date
    Mar 2008
    Posts
    51
    Vote Rating
    2
    art.dev.ext is on a distinguished road

      0  

    Default


    Nice job Sunbox !
    This is great !
    I'm wondering why http://sunbox.github.com/ext_ux_pdf_panel/demo/ does not stop loading page ? The cursor and tab icon are staying in waiting mode...

    The second point is that Browser search does not work with your Panel... try CTRL-F or Menu->Search with Chrome and your words get highlighted in PDF.js demo, not in ext_ux_pdf_panel.
    Is there any workaround ?

    Thank you
    R@ge

  5. #15
    Sencha User
    Join Date
    Sep 2012
    Posts
    14
    Vote Rating
    0
    dadaking is on a distinguished road

      0  

    Default


    Hello,

    I try to use your pdf viewer. I try to give him an array of byte, but I not found any exemple which show how do that.

    Can you explain me how I can do?

    There is my panel.pdf :
    Code:
    var pdfPanel = Ext.create('Ext.ux.panel.PDF', {
        id: 'pdfFrame',
        title: bundle.getMsg('Central.Pdf.Title'),
        bodyStyle:'padding:5px 5px 5px 5px',
        flex: 1,
        loadingMessage: bundle.getMsg('Central.Pdf.Waiting')
    })
    I try to feed him when I click in an tree panel.

    Thanks for your answers.

  6. #16
    Sencha User
    Join Date
    Jan 2008
    Location
    Los Angeles
    Posts
    149
    Vote Rating
    1
    radtad is on a distinguished road

      0  

    Default


    Does this only work with PDF text? Or does this also work with embedded images within the PDF as well?

  7. #17
    Sencha User
    Join Date
    Sep 2012
    Posts
    14
    Vote Rating
    0
    dadaking is on a distinguished road

      0  

    Default


    Hello,

    I managed to feed my PDF panel with an array of byte. But now, I have a problem with IE7 and IE8. My page don't render! there is the error in IE8:

    Code:
    SCRIPT5009: 'HTMLElement' is undefined 
    compatibility.js, line 283 character 3
    SCRIPT1003: Expected ':' 
    pdf.js, line 118 character 9
    SCRIPT5009: 'PDFJS' is undefined 
    PDF.js, line 222 character 9
    And the errors in IE7:

    Code:
    SCRIPT445: Object doesn't support this action 
    compatibility.js, line 95 character 5
    SCRIPT1003: Expected ':' 
    pdf.js, line 118 character 9
    SCRIPT5009: 'PDFJS' is undefined 
    PDF.js, line 222 character 9
    Have you any idea for this problem?

    Thanks for answers!

  8. #18
    Sencha User
    Join Date
    Feb 2012
    Location
    Paris
    Posts
    111
    Vote Rating
    1
    Tchinkatchuk is on a distinguished road

      0  

    Default


    Well done mate !!

  9. #19
    Sencha User talha06's Avatar
    Join Date
    Jul 2009
    Location
    Turkey
    Posts
    303
    Vote Rating
    0
    talha06 is on a distinguished road

      0  

    Default


    Wonderful work, thanks again sunboX.

    I'd like to ask is it possible to add print functionality to this great extension?
    This will be amazing.
    With regards,
    T
    "People will never forget how you made them feel."
    linkedin.com/in/talhakabakus

  10. #20
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Vote Rating
    2
    okello is on a distinguished road

      0  

    Default PDF Viewer Panel does not work with locked PDF

    PDF Viewer Panel does not work with locked PDF


    Hi guys,

    I've been using this viewer and it's great. However, it doesn't seem to be able to display locked PDF files. Any idea on how I can overcome this limitation?

    Thanks in advance.
    Last edited by okello; 16 Jan 2013 at 11:12 AM. Reason: spelling mistake