Show PDF popup based on viewer's zoom value ?

Before I  spend too long googling this, I was wondering if anyone knew of any tools, or had  a general approach to recommend, to cause a popup to appear in a  (FrameMaker-sourced) PDF if the viewer has the zoom set to less than  100%?  And ideally, the popup would appear only when certain pages were viewed and then automatically disappear when the page is changed.
(I have a  bunch of flowcharts that all print fine from PDF, but that look rather fuzzy  when viewed at too small a zoom value.  So one idea is to have a popup appear  when the reader views the given pages at any zoom less than  100%.)
Thanks in advance!
-Monique

Hi Sebastian,
you are almost there. You can easily pass data like the profile name from ABAP to the web template by using a custom extension:
http://help.sap.com/saphelp_nw70/helpdata/en/47/a056340cfd3b8be10000000a421937/frameset.htm
Regards,
Marc
SAP NetWeaver RIG

Similar Messages

  • I did download the new version of adobe but a massage showed all the time (Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser)

    i did download the new version of adobe but a massage showed all the time (Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser)

    You downloaded Adobe... what? Adobe has tons of applications.
    Which Adobe product did you download?
    Clinton

  • I have a task, that is i want to retrive the details from active directory based on name and i want show that details into grid view.

    Hi All,
    I have a task, that is i want to retrive the details from active directory based on name and i want show that details into grid view.
    Can any one help how to start.
    Thanks in advance!

    Hi AnilKarthik,
    You can get user details by name using DirectoryService namespace. Then you can create a DataTable to restore the information and then bind to the SharePoint GridView.
    Here are some deatiled code demos for your reference:
    how to get userdetails from Active Directory based on username using asp.net:
    http://www.aspdotnet-suresh.com/2011/03/how-to-get-userdetails-from-active.html
    How to get User Data from the Active Directory:
    http://www.codeproject.com/Articles/6778/How-to-get-User-Data-from-the-Active-Directory
    Using SPGridView to bound to list data in SharePoint:
    http://nishantrana.me/2009/03/23/using-spgridview-to-bound-to-list-data-in-sharepoint/
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Issues showing PDF files in web-browser (Windows 7 x64, 32-bit version of AdobeReader X)

    I'm not sure if this is the right way to share my experience, but at least I know Google will discover this thread eventually and maybe someone else will find what I have been looking for the past 3 hours
    I'm deploying the 32-bit based AdobeReader X (http://www.adobe.com/support/downloads/detail.jsp?ftpID=4950) to Windows7 32-bit and 64-bit based machines. This is a MSI deployement done through our Active Directory. Everything goes well - no errors. Except for the x64-based machines having trouble showing PDF-files in the web-browser.
    I used Adobe Customization Wizard X to customize our MSI installation - this showed out to be the solution once again.
    Common for the installation on Windows7 32-/64-bit were that the value in the registry database for HKCR\Software\Adobe\Acrobat\Exe (Default) was set to "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe". This is valid for the 32-bit installation as Program Files is situated in C:\Program Files, but since it's a 32-bit edition of AdobeReader that I'm installing on the 64-bit based system as well, it's installed in C:\Program Files (x86) and the reference in the registry database to "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" is therefore not valid - which explains why PDF files could not be displayed in the web browser. Changing the registry to "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" solved it. Now this is a manual solution which might be useful on 1-2 machines but on a bigger scale it's not the right way to do it.
    I could change it with a batch/vbs script but still this is only a solution of the symptom and not a solution to the core issue. I therefore focused on Adobe Customization Wizard X again.
    The problem was easily solved. I opened the MSI file, loaded the transform file that I've made previously. Went to Registry > HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe . I then changed the (Default) value from "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" to "[INSTALLDIR]Reader\AcroRd32.exe", generated the MST file and replaced my current one for distribution. Problem solved! :-) The entry in the registry now shows : "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" and PDF files are open without any issues.
    I hope someone can save a bit of time on this one.
    Best regards!
    Alex Mikkelsen

    I was able install and view the files in adobe reader 10.1.1 and in web browser window 7 64 bit machine.  But when I go to Edit-preferences-internet and  unchecking "display PDF in Browser" , I am not able to view the pdf files in ie 9 browser.  I have used this javscript to check for pdf version.
    Immediately after installing adobe--
    when I do adobe test in ie 9---https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html--  launches a test pdf file--Acro_Test.pdf
    After unchecking-- it stays in the  https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html instead of showing test pdf file--Acro_Test.pdf
    Tried to go back to "display PDF in Browser"--it is showing it is checked(eventhough I did not check it)
    and in ie
    it stays in the https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html instead of showing test pdf file--Acro_Test.pdf

  • Is it possible to create a rendition targeted for the web based content viewer?

    The way PDFs render in the web broswer is (presently) pretty bad.
    Can we create a rendition of a Folio which is specifically (and only) for the purpose of being viewed in the web based content viewer?
    Also can we leverage the downloading options in the Folio Producer to yield better results and less lags in rendering? I would like to suggest that Adobe adds some kind of indicator/status-bar which shows remiaing assets still being downloaded. For example, video overlays aren't immediately available.
    Despite these quirks, this new capability is huge and we really appreciate it!
    -Mark
    Mark Kunoff
    Informational Systems Specialist
    IU Communications
    Indiana University Public Affairs and Government Relations
    [email protected]

    It's too bad the selectable text will go away. This will also hamper the web-based views in terms of accessability, correct? - something very important to our stake holders.
    Does Adobe plan to bring these good points of the PDF format back in a future release?
    Thanks for your consistently fast replies Bob!
    -Mark

  • Popup based on lov selection

    hi i have a situation where i what a popup based on  lov selection,for example i have lov which got list of user role when i change user role i what popup which will have inputtext where i can type the reason what the user role has change,am in jdeveloper 11.1.1.6.0
    my lov is
    i did this but i don't see any popup when i make selection in my lov
    <af:selectOneChoice label="#{bindings.Roleaccesscode.label}"
                                    required="#{bindings.Roleaccesscode.hints.mandatory}"
                                    shortDesc="#{bindings.Roleaccesscode.hints.tooltip}"
                                    id="soc5" simple="true"
                                    contentStyle="width:140px;"
                                    partialTriggers="soc3"
                                    valueChangeListener="#{pageFlowScope.InternalUserBean.InternalTypeupd}"
                                    visible="true"
                                    value="#{pageFlowScope.InternalBean.selectType}"
                                    autoSubmit="true">
                  <af:forEach var="item"
                              items="#{pageFlowScope.InternalBean.childRolesupd}">
                    <af:selectItem value="#{item}" label="#{item}" id="tu7g"/>
                    <af:showPopupBehavior popupId="popupMessage"
                                          triggerType="action"/>
                  </af:forEach>
                </af:selectOneChoice>
    <af:popup id="popupMessage" contentDelivery="lazyUncached">
                  <af:dialog id="d109" type="ok">
                    <af:inputText value="#{bindings.RoleReason.inputValue}"
                                  label="#{bindings.RoleReason.hints.label}"
                                  required="#{bindings.RoleReason.hints.mandatory}"
                                  columns="50"
                                  maximumLength="#{bindings.RoleReason.hints.precision}"
                                  shortDesc="#{bindings.RoleReason.hints.tooltip}"
                                  id="it49" rows="15">
                      <f:validator binding="#{bindings.RoleReason.validator}"/>
                    </af:inputText>
                  </af:dialog>
                </af:popup>

    ok thanks,but now am geting this error
    <af:panelGroupLayout id="pgl4">
                <af:popup id="popupMessage" contentDelivery="lazyUncached"
                          binding="#{pageFlowScope.InternalBean.radioPopupLov}">
                  <af:dialog id="d109">
                    <af:inputText value="#{bindings.RoleReason.inputValue}"
                                  label="#{bindings.RoleReason.hints.label}"
                                  required="#{bindings.RoleReason.hints.mandatory}"
                                  columns="50"
                                  maximumLength="#{bindings.RoleReason.hints.precision}"
                                  shortDesc="#{bindings.RoleReason.hints.tooltip}"
                                  id="it49" rows="15">
                      <f:validator binding="#{bindings.RoleReason.validator}"/>
                    </af:inputText>
                  </af:dialog>
                </af:popup>
                <af:selectOneChoice label="#{bindings.Roleaccesscode.label}"
                                    required="#{bindings.Roleaccesscode.hints.mandatory}"
                                    shortDesc="#{bindings.Roleaccesscode.hints.tooltip}"
                                    id="soc5" simple="true"
                                    contentStyle="width:140px;"
                                    partialTriggers="soc3"
                                    valueChangeListener="#{pageFlowScope.InternalUserBean.activationChangedListenerLov}"
                                    visible="true"
                                    value="#{pageFlowScope.InternalBean.selectType}"
                                    autoSubmit="true">
                  <af:forEach var="item"
                              items="#{pageFlowScope.InternalBean.childRolesupd}">
                    <af:selectItem value="#{item}" label="#{item}" id="tu7g"/>
                  </af:forEach>
                </af:selectOneChoice>
                <af:outputText value="Role Changed: #{pageFlowScope.InternalBean.selectType}" id="ot31"
                               partialTriggers="d109"/>
              </af:panelGroupLayout>
    <af:popup id="popupMessage" contentDelivery="lazyUncached"
                          binding="#{pageFlowScope.InternalBean.radioPopupLov}">
                  <af:dialog id="d109">
                    <af:inputText value="#{bindings.RoleReason.inputValue}"
                                  label="#{bindings.RoleReason.hints.label}"
                                  required="#{bindings.RoleReason.hints.mandatory}"
                                  columns="50"
                                  maximumLength="#{bindings.RoleReason.hints.precision}"
                                  shortDesc="#{bindings.RoleReason.hints.tooltip}"
                                  id="it49" rows="15">
                      <f:validator binding="#{bindings.RoleReason.validator}"/>
                    </af:inputText>
                  </af:dialog>
                </af:popup>
    private ComponentReference radioPopupLov;
    public void activationChangedListenerLov(ValueChangeEvent valueChangeEvent) {
    // process updates to get the selected value inside the popup
    FacesContext contxt = FacesContext.getCurrentInstance();
    valueChangeEvent.getComponent().processUpdates(contxt);
    //show the popup
    RichPopup.PopupHints hint = new  RichPopup.PopupHints();
    getRadioPopupLov().show(hint);
    public void setRadioPopupLov(RichPopup radioPopupLov) {
    this.radioPopupLov = ComponentReference.newUIComponentReference(radioPopupLov);
    public RichPopup  getRadioPopupLov() {
    if  (radioPopupLov != null)
    return (RichPopup)radioPopupLov.getComponent();
    return null;
    but am geting this error
    javax.servlet.ServletException
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
        at view.InternalBean.activationChangedListenerLov(InternalBean.java:1918)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.el.parser.AstValue.invoke(Unknown Source)
        at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
        at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
        at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:214)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:430)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
        ... 48 more
    in this line  getRadioPopupLov().show(hint);

  • Creating a .pdf with different page views

    I'm tyring to create a .pdf with different page views.  For example as the viewer goes through the .pdf some pages I would like viewed as "single page view" and others "two page view".  Is this possible?   I'm working with Adobe Acrobate Pro.  Thanks for any suggestions.

    It's possible to use the Page Open actions to trigger a view mode change but it's messy - if the user tries to override them because they prefer to zoom in, etc. then they'll get very annoyed when things keep resetting.
    To create a Page Open action, open the thumbnails panel, right-click on a page, choose Page Properties, then the Actions tab. You can use the Execute a Menu Item tool to fire one of the view modes.

  • Why do images within a PDF look jagged when viewed in Acrobat Pro 10.1.6?

    Using a MacBook Pro running Mac OS version 10.7.5 with NVIDIA GeForce GT 650M 1024 MB graphics card. High-resolution source images look fine in other software, and embedded images in a PDF look fine when viewed on Google Drive, but curves and diagonal lines look jagged when viewed in Acrobat Pro 10.1.6. Checking smoothing options in Preferences only adjusts the position of the jagged edges; it neither enhances nor ameliorates them.
    I created a sample PDF to illustrate the problem I'm having. Created in illustrator, exported to PNG and converted to PDF. Here is a screenshot of the source PNG side-by-side with the PDF I created from it:
    Please note that when I preview the PDF in Finder, and when I view the PDF in Chrome using Google Drive, the image looks fine. Here's a link to the sample PDF:
    http://www.sendspace.com/file/77f5m6
    Any assistance is appreciated. Thanks!

    Unfortunately, as I mentioned in my original post, I've already tried toggling smoothing options. They don't make the jagged edges go away—they just change them slightly. In some cases, as with the sample file provided, it does help smooth the art out, but it never looks as good as it did going in, in a recent project, toggling smoothing options didn't affect the appearance of the image at all. Zoom does not appear to relieve the artifacting.
    A little clarification: this PDF was created from a flat PNG, but I have had this issue with PNGs and TIFFs as well, generated by both Photoshop and Illustrator. To reiterate, the PDFs display fine in other software—Finder preview looks great, and the same file viewed in my browser via Google Drive looks as intended as well. A colleague was able to replicate this issue in Acrobat on his Windows machine. This appears to be a rendering issue specific to Acrobat with regards to the files I use it to create.

  • Report shows no data in the Viewer

    Hello,
    i'm new to Crystal Reports and i have to develop a few Reports.
    I load the data with a stored procedure form a sql-server. This is working and i get all datas i need. But the Report Viewer doesn't show any data.
    I don't know why.
    If i do it over a select statement and not a stored procedure, the Report Viewer shows me each data set up to 9 times.
    I'm working with three tables.
    Here is the c# code i wrote.
    command = new SqlCommand();
    command.Connection = connection;
    command.CommandType = CommandType.StoredProcedure;
    SqlParameter myParam = new SqlParameter("@FormulareAuftragNr", SqlDbType.VarChar, 5);
    myParam.Value = AuftragNr;
    command.Parameters.Add(myParam);
    command.CommandText = "dbo.Abfrage_Arbeitsplan_Bericht";
    connection.Open();
    SqlDataAdapter dataAdapter = new SqlDataAdapter(command);
    ds = new DataSet("ABC");
    dataAdapter.Fill(ds, "dbo.Abfrage_Arbeitsplan_Bericht");
    druckarbeitsplan.SetDataSource(ds);
    CR Version : latest
    VS Version : 10.30319.1
    OS : Windows 7
    it is for an Windows App
    Johannes

    CR Version : latest
    That is not enough info. All my content below is based on the assumption that you are using CRVS2010 (V. 13.x)...
    The code does not show you loading an actual report(?). Also, I'm assuming that after:
    druckarbeitsplan.SetDataSource(ds);
    you have code to show the report in the viewer or you're printing  exporting the report?
    For datasets see [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533323335333433333332%7D.do] KB. Also, make sure you are using the full 4.0 framework, not the client framework.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How can I change the page size of a pdf so i can view it on my iphone more clearly?

    How can I change the page size of a pdf so i can view it on my iphone more clearly?

    I think there may be more to this question than you say.
    If your PDF page is say, 8 x 12 inches, and you found a way to scale it to 25%, changing it to 2 x 3 inch, shrinking everything on the page to quarter size - wouldn't it look exactly the same on the iPhone? It's just going to be the same as zooming.
    Or were you hoping for something more like in Word, where changing the page size keeps everything the same size and spreads it over more pages? That isn't something you can do.

  • Showing pdf in Fire fox giving problem

    Hi every body ,
    I have a problem related to PDF showing in the browser , It is working fine in the IE , but in the FF it is not showing .
    Here is my Backing bean code for fetching the PDF .
    The main backing bean name is myBean.
      public void showPDF() throws IOException  
              BufferedInputStream input = null; 
              BufferedOutputStream output = null; 
              InputStream inputStream =null;  
              FacesContext facesContext = FacesContext.getCurrentInstance(); 
              ExternalContext externalContext = facesContext.getExternalContext(); 
              HttpServletResponse response = (HttpServletResponse) externalContext.getResponse(); 
             try  
             //It is a simple POJO , it will return the pdf content 
                     PDF  pdf =  new PDF(); 
                 inputStream = pdf.getPDFContent(); 
                 input = new BufferedInputStream(inputStream, DEFAULT_BUFFER_SIZE); 
                 response.reset(); 
                 response.setContentType("application/pdf"); 
                 response.setHeader("Content-disposition", "inline; filename=\"" + pdf.getFileName() + "\""); 
                 output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE); 
                 byte[] buffer = new byte[DEFAULT_BUFFER_SIZE]; 
                 int length; 
                 while ((length = input.read(buffer)) > 0)  
                     output.write(buffer, 0, length); 
                 output.flush(); 
             }catch(Exception ex) 
                 ex.printStackTrace(); 
             finally { 
                output.close();  
                input.close();  
              facesContext.responseComplete(); 
         }  Here is my view JSF
    <h:commandLink  value="Show PDF" action="#{myBean.showPDF}" target="_blank" />  Thanks & regards,
    S

    The problem is
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 7em;
       float: right;
    Change the value back to left.
    The menu bar will now left align itself. To fix that we will go to the container, give it a width and float it to the right as follows.
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: 42em;
        float: right;
    Gramps

  • How to set up Internet Explorer 9 to show pdf in Adobe Reader instead of web browser

    Hi,
    I'm using Windows 7 (64-bit), Internet Explorer 9 and Adobe Reader IX (v.11.0.00).
    I would like to set up Internet Explorer 9 to show pdf-files in Adobe Reader program windows instead of viewing pdf-files within the web browser. Adobe Reader IX doesn't have the setting "Display pdf-files in browser" any longer, earlier versions of Adobe reader did have that setting.

    Read this:
    http://forums.adobe.com/thread/1082459

  • Can you have a PDF fit on the viewer's screen automatically when exporting from InDesign CS4?

    Can you have a PDF fit on the viewer's screen automatically when exporting from InDesign CS4?

    If you were to upgrade to InDesign CS5 or CS5.5 and if you exported as Adobe PDF (Interactive), you could set the View settings for Page Layout and Zoom.
    While, as Jongware points out, its possible for individual users to override that option (Preferences > Page Display > Default Layout and Zoom), the number who will actually do that is actually very tiny.

  • PDF popup, in FireFox, without being prompted

    Hello, I am using Windows XP Pro, SP3, fully patched and updated. My Adobe Reader is version 9.5.0. I am currently using FireFox 3.6.25, but this problem has been affecting my computer for the last year and a half, and happens with newer versions of FireFox, up to and including version 8. I downloaded a PDF file of an air compressor users manual and saved a copy to a folder on my desktop (where I store all of my PDF files). 
    Now, whenever my FireFox browser is up and running, this PDF file will pop up every three hours, or so. It will initially pop up about ten minutes after the browser is started, and then about three hours after I close the reader program. It, neither the file, nor Adobe Reader, asks for permission to run, the PDF file, just comes up fully formed and running in Reader.
    I have search in my Reader preferences/options/setting and can’t find any setting, control, action, button or choice that allows me to stop this pop up behavior. I can move the file to another location on my “c” drive, move it to another hard drive altogether, or even rename it, all to no avail, the popup behavior remains.
    Is this a Adobe “problem”, or setting, a FireFox problem (as it only happens when the FireFox browser is running), or something else I am not aware off? Thanks for any help, in advance!!

    Hello Ankit, and thanks for help:
    This behavior only happens with this one PDF, no others, and I have hundreds saved to the same folder.
    Speak of the devil, as I was typing the first sentence of this email, it popped up. My FireFox browser is set to start when I boot my computer, and that happened about ten minutes ago.
    I rarely use IE and never use any other browser. When I do use IE it is only for those websites that still don't function properly with FireFox, and I generally get there via a FireFox add-on that opens a version of IE within the FireFox browser. Also on rare occasions, I will open IE directly to view my daughters school grades, again because that website doesn't handle FireFox properly. In any case, whenever I use IE, I only keep that tab or browser running for a very short period of time, just long enough to capture my data needs, generally less than five minutes, then shut it down,........ But, I don't recall this PDF behavior ever happening with the IE usage.
    Here are the PDF's Document Properties:
    Under the Description tab:
      Description:
        1.. File : Tecumseh_replacement_parts-7.pdf
        2.. Title: parts book.indd
        3.. Author: (blank)
        4.. Subject: (blank)
        5.. Keywords: (blank)
        6.. Created: 4/19/2005 9:00:26 AM
        7.. Modified: 10/31/2005 8:52:35 AM
        8.. Application: Adobe InDesign CS (3.0.1)
      Advanced:
        1.. PDF Producer: Adobe Library 6.0
        2.. PDF Version: 1.3 (Acrobat 4.x)
        3.. Location: C:\Documents and Settings\.....Temp\
        4.. FIle Size: 2.18 MB
        5.. Page Size: 8.50 x 11.00 in
        6.. Tagged PDF: Yes
        7.. Number of Pages: 50
        8.. Fast Web View: Yes
    Under the Security tab:
      Document Security
        1.. Security Method: No Security
        2.. Can be Opened by: All versions of Acrobat
      Document Restrictions Summary:
      (everything is allowed except Document Assembly, Commenting, Signing, and Creation of Template Page)
    Under the Fonts Tab: .......
    Under the Advanced tab:
      PDF Settings:
        1.. Base URL: (blank)
        2.. Search Index: (blank)
        3.. Trapped: No (greyed out)
      Print Dialog Presets: (all greyed out)
        1.. Page Scaling: Default
        2.. Duplex Mode: Simplex
        3.. Paper Source by Page Size: No
        4.. Print Page Range: (blank)
        5.. Number of Copies: (dropped down box)
      Reading Options:
        1.. Binding: Left Edge
        2.. Language: (blank)
    Tell me about, and how to do it:
    If I understand your request, it means remotely accessing my computer's drives to observe the PDF's behavior, program settings and preferences, registery settings, etc. I am not comfortable doing that, as my computer has a large amount of proprietary business information and personal financial information. If there is information I can pass on to you manually, or if I can contact you when the behavior happens, that would be OK.
    Thanks again for your help.
    dgruber
    From: Ankit_Jain
      To: dgruber06
      Sent: Tuesday, January 31, 2012 9:23 AM
      Subject: PDF popup, in FireFox, without being prompted
            Re: PDF popup, in FireFox, without being prompted
            created by Ankit_Jain in Adobe Reader - View the full discussion

  • Displaying task in timeline webpart based on view from task list

    I have added one custom column in task list called category and created different view based on different values of category.
    when I display a view and select show timeline, it display all the task and does not filter the task based on view. Is there any possbilty to achieve this?

    Hi Ashish, if you click to modify the view, scroll down to "Style." You'll see the different styles in there, and below those, you'll see "Show timeline above the view." Select that box and the timeline will be included with your view.
    cameron rautmann

Maybe you are looking for

  • Apple infrared remote not working

    Just a few days ago I updated Keynote, my time scale is a little hazy but I know recently, like last week, I used my appl infrared remote to control Keynote. I was able to press play and advance slides. This was a great thing, I remember doing and th

  • HOW CAN WE GET SKYPE TO ALLOW RECEIVED SMS?

    hey yall friends, moderators, and hopefully someone from the actual skype company. what is the deal? why are we not able to receive sms texts (except from people with smartphones who can do mobile to landline text to voice features)? can we somehow c

  • Importance of the Sort key?

    Hi SAP Gurus, I have posted g/l transaction (gl with out sort key), In open item report assignment no only missing. Just clarify what is the importance of sort key & assignment no? In sort key I am finding different no (i.e 001,012,018) can any body

  • Access to fields of a form through IAC

    Hello everyone! I created with Adobe LiveCycle Designer ES2 (included with Adobe Acrobat X Pro) an example form with several fields. After that I wanted to access the fields through the Acrobat SDK's Interapplication Communication (IAC) capability by

  • PIR consumption at different plant

    Hello dear gurus, Here's a tough one; I have a situation (quite common) where there's a supply chain with one manufacturing plant and a number (like 4) of distribution plants. (CPG) Normaly in SAP in such a situation you need to maintain PIRs for eac