REQ: Add 'Fit-width' or 'Fit-visible' view mode, in which the zoom level is automatically set based on the width of the _current_ page.

Currently, the default zoom level when viewing a page of a PDF file is automatically calculated based on the width of the "widest" page of the document. This means that, if the document contains one page that is wider than the others or is in landscape orientation, then the default zoom, when viewing all the other narrower pages, is set in a way so that the page does not use the full width of the screen. This results in very poor experience, because the zoom level and the visible area of the page have to be constantly adjusted for each page. The latest update (at the time of writing) has added some extra view modes, but not the much needed 'Fit width' or 'Fit visible'.
Personally, I can find no reason valid enough to justify the lack of such a view mode. Automatically setting the zoom level based on the width of the current page so as to take advantage of the full width of the screen should be a must have feature for mobile devices, if not the default behavior. The current default behavior regarding the zoom level is pretty much useless, even on 8"/10" screens. There should be a view mode in which the full width of the screen is always used to display the document.
Examples of documents for which the Adobe Reader for Android provides a poor reading experience are:
documents which contain some of their pages in landscape orientation.
publications which, apart from the main content, also contain the full front and back cover in a single page (usually first page which is much wider than the content pages) or any other extra pages like cards or application forms (that are meant to be printed) which usually use an A4/Letter page size etc.
documents which have been cropped by external utilities or scripts so as to eliminate unneeded white margins (in some cases not all pages have the same width).
Please consider fixing the default behavior in future releases of the Reader for Android or add a 'Fit width' or 'Fit visible' view mode.
Thank you in advance.
Message was edited by: George Notaras
Improved descriptions of example documents.

To add to this, if you prefer you can separate your JavaScript from your JSF pages.
Add a folder (I named mine 'js') to your application's ViewController project's public_html folder.
Via JDeveloper, create a new JavaScript file inside your newly created folder and place your JavaScript functions inside it.
You can then 'load' the .js file using the method Shantala described, with the addition of an added 'source' property to the af:reference tag.
(This can also be a URI reference to a JavaScript file hosted on a web server)
<f:facet name="metaContainer">
  <af:resource source="/js/myJsFile.js" type="javascript"/>
</f:facet>The benefits of this 'split' are cleaner JSF page source and also code-highlighting and formatting within the .js file making finding and fixing bugs in your JavaScript much easier.
It appears however, that when using <af:resource> to load scripts, once the page has been submitted even once, the JavaScript is no longer available to the page. Which isn't very useful.
A solution is to use <trh:script>.
Add xmlns:trh="http://myfaces.apache.org/trinidad/html" to your <jsp:root> tag and install the library.
then in place of the above code use:
<f:facet name="metaContainer">
  <trh:script id="script1" source="/js/myJsFile.js"/>
</f:facet>Now after a page submit the JavaScript still functions.
Edited by: Matthew Carrigy on 12/08/2009 10:39

Similar Messages

  • How do I set the zoom level to automatically Fit to Window?

    As I open new pages, or access links, the zoom level always reverts to 100%. How do I get it to automatically set to "Fit to Window" ?

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Acrobat X Standard Bookmarks - How do I make the Zoom Level action default to "Fit Page" when combining to one pdf?

    Acrobat X Standard Bookmarks - How do I make the Zoom Level action default to "Fit Page"?
    When I combine multiple pdf files into a single binder, Acrobat creates a bookmark for each file.  In the properties for each bookmark, there is an action created to go to the page in the document and has the zoom level at "fit width".  Question is, how do I change this apparent default zoom level to "fit page" when Acrobat creates the bookmarks when combining the pdf files?

    Is there a way to do it in one step instead of individually on each bookmark?  This gets VERY cumbersome when I have upwards of a hundred bookmarks to change.

  • The "add to devices" button in "albums" view mode

    When I browse albums in iTunes in the "albums" view mode (cover art in grid format) and click on an album, the album is highlighted and an arrow appears to the far right of the highlighted album's title. This opens a menu which includes an "add to" button, when clicked it gives the option for m to add the album to my iphone. When I do this nothing happens. What is the purpose of this?
    I manually manage my music and I use the option to only sync checked artists/albums/songs. This works OK, the sync is oddly sluggish and I've had some instances where the iphone would randomly delete all my music but I guess that's another matter. There is no way to "check" an album in "albums" view mode so I was wondering if the "add to device" option would do the same thing but apparently not.
    Can anyone explain what this is for?

    Hi,
    I am not sure about whether you can able to add the button in Mail form but for your requirement you can certainly add URL to your mail form which will nevigate user to Log-in page of your webshop.
    Regards,
    Dipesh.

  • I have installed the Nosquint add-on andhave set it up to the zoom levels I desire. Why, whenever I go from tab to tab, I lose my settings? and page every new page on a site as well? annoyed as heck!

    I have to mouse over the icon every time I leave a site, or tab, or browse different pages within a site. I have tried all the options to fix this, and do not know what to do. Or is this just the way this works. This is tedious at best.

    * Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Automatically start Firefox in a private browsing session"
    You can also check:
    * http://kb.mozillazine.org/Preferences_not_saved

  • What add on lets you automatically set tabs to go from one the next using the F8 key?

    I am looking to use tabbed browsing and be able to automatically have tabs go from one to the next using the F 8 key
    == doesn't apply ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.30618; Media Center PC 5.0; SLCC1)

    Tab Mix Plus: https://addons.mozilla.org/firefox/addon/1122

  • Can I lock in a zoom level (e.g. Page View) so it won't change?

    I'm wondering if there is a way to prevent Adobe Reader from changing my zoom level.  I prefer to read with the zoom level set to Fit Page.  Every time I click on a bookmark to jump to another page in the document, the zoom level changes to Fit Width (I think).  This is extremely annoying because I have to keep changing the view back to Fit Page.  In preferences I have put the default zoom to Fit Page, but that only determines how it comes up initially.  When I click on a bookmark it changes again.
    I don't understand why the zoom changes when you click a bookmark at all.  Why would I want the zoom to change on me?
    FYI, I'm using Reader XI (11.0.08).
    Thanks for any help/suggestions.

    Thanks CtDave.  I don't have anything besides the free reader, so I did some further research on the web and found a solution that is pretty "brute force", but is an option for others that only have the free reader.  Here is a link to the full description:
    http://superuser.com/questions/306803/zooming-size-of-pdf-files-and-bookmarks
    Here is the basics:  You can use a text editor and edit the PDF file.  Once in the text editor you can search for /FitH or /Fit (there surely are other codes, but those are the only ones I know of).  These are codes that tell Acrobat what kind of zoom level to apply to the destination of a jump.  So the bookmarks should all have these.  Simply do a search and replace with /XYZ.  The /XYZ code tells Acrobat to leave the zoom level as it already is.
    It might sound a bit weird, but I tried it on multiple files I was having trouble with and it worked great.  Of course, my suggestion would be to make backup copy of the file before doing this in case something goes wrong.
    Thanks.

  • Safari on rMBP has 200% zoom level by default when viewing standalone images.

    I have a MacBook Air 13" Mid 2010 and recently purchased a MacBook Pro with Retina Display 15" Mid 2012. I have updated Safari to 6.0 on both machines, but here comes the problem when I use Safari to view a standalone image on my rMBP.
    Normally when I view a standalone image on Safari, the zoom level is 100% which means I see the actual pixeles of the image. Once you open an image in a new tab or a new window, if the dimensions of the image is bigger than the window, let's say 5000x4000, the dimensions of the image will be adjusted to fit within the window. And then the cursor becomes a tiny circle with the "+" sign inside (sorry for my poor description, I hope you can get it) which is the zoom icon, by clicking the image you zoom to the actual pixels of the image which shows 100% of the image.
    However this works on my MBA but it doesn't on my rMBP as the zoom level is 200% by default. The following web pages are the ones where I found to have the same problem and they have better explanations:
    http://notes.jayrobinson.org/post/25599469833/the-images-above-show-safari-5-2-w ith-page-zoom-on
    https://twitter.com/jayrobinson/status/214443964516937729
    Sorry for the long post, but I just wonder if there is a way to fix the problem or if Apple can do it?

    I've seen this reported before -- sometimes PSE needs to have the zoom set to even multiples of 25%.  You can try searching Adobe's site to see if anyone has found a solution.
    Ken

  • Hierarchy Viewer: Setting default zoom level and levelFetchSize

    I have couple of questions on Hierarchy Viewer:
    (1) Is it possible to set the zoom level to say 50% by default when the HV is rendered first time. By default the nodes are rendered at 100%, but I would like to render them at 50% by default - and on hover show the 100%. Is this doable ? User can then decide to zoom to 100% if desired.
    (2) Is it possible to change the levelFetchSize based on zoom level ? For example if the zoom level is 100%, levelFetchSize could be 4 but at 50%, it would be increased to 8 (since more real estate is available) ?

    It seems like the DVT by default zooms to fit the available real estate. But is it possible to set a fixed zoom level (say 75%) even if the node does have 100% zoom level. We would like to show the 100% zoom level only on hover to the node. But by default, wanted to to set the viewer to always show 75% or 50% zoom level.

  • View offending records in audit viewer for set-based mappings

    i have mappings which is configured to load data from Oracle9i external tables into Fact tables.
    i am using set-based loading with reject limit set to 0. Whenever there's an offending record from the external table, the whole mapping will fail with message 'Fatal error or maximum error exceeded'. This is exactly how i want it.
    now, when i check the mapping process in audit viewer, i expect to see which record caused this process to abort. instead, i only see the same message stated above (which is not very helpful in identify source of the problem, right ?)
    i believe this is due to the mapping being set-based. unfortunately i can't use row-based as i do not want ANY record loaded into the fact table even if there is 1 offending record. In row-based mode, it seems to auto-commit after a certain number of records (bfor any errorneous records are encountered). i have attempted to set the 'commit block size' to something big value (eg. 50,000) but it still seems to commit after say every 2000 records ...
    any suggestions ?
    thanks

    Since you need set based code in order to avoid commits, it is difficult to trap record level errors - the set based procedure will run to the end or encounter an error and all you will get is a generic SQL error code and message. The commit frequency should work - I am not aware of any problems in this area. Can you give more details about this?
    It might also be possible to filter correct records by using a splitter and set it in such a way that correct records get loaded into the production table, while incorrect are 'parked' into a temporary table for review. Another possibility, if you need complex data cleansing prior to loading, would be to use an intermediate staging table and then use the row based mode on it, before transferring the correct records from this staging table to the appropriate production table. This last solution will slow down your process because it introduces an additional step, but might give you the loading flexibility you need.
    Regards:
    Igor

  • 70D Live View Mode Not Working

    All of a sudden Live View Mode doesn't work on my 70D.  Setting is enabled.  Pictures show on my screen for a few seconds after it's taken, but screen is black while taking pictures even when shutter release button pressed down half way.  Any ideas on why this might be happening?

    Is exposure stimulation turn on/off? does the photo taken look dark? You can try to reset it to factory default.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

  • Cropping to View or Cropping to Zoom Level

    Just wondering if this is already an option and I just can't find it... I work with very large images, and having a television background, I am always looking for the Wide/Medium/Tight shots - for example, getting three different shots from the originals. When I am zooming in to make corrections or retouch, I find myself saying "Now THAT would make a GREAT image cropped exactly where it is". Instead of dragging out the Crop Tool and risk the image "moving" from the exact zoom level or view I have it at, is there a way to "CROP TO VIEW" or "CROP TO ZOOM LEVEL" with just one click that I am missing, or should this go to the Photoship Wish List? Thanks, all!

    As far as I can tell that’s currently not possible, so unless someone else has more insight here you might want to post in the Feature Request Forum.
    While the zoom-level is accessible for Scripting purposes the image’s position in the window is not (to the best of my knowledge).

  • CS5 - Crop to View or Crop to Zoom Level?

    Just wondering if this is already an option and I just can't find it... I work with very large images, and having a television background, I am always looking for the Wide/Medium/Tight shots - for example, getting three different shots from the originals. When I am zooming in to make corrections or retouch, I find myself saying "Now THAT would make a GREAT image cropped exactly where it is". Instead of dragging out the Crop Tool and risk the image "moving" from the exact zoom level or view I have it at, is there a way to "CROP TO VIEW" or "CROP TO ZOOM LEVEL" with just one click that I am missing, or should this go to the Photoship Wish List? Thanks, all!

    As far as I can tell that’s currently not possible, so unless someone else has more insight here you might want to post in the Feature Request Forum.
    While the zoom-level is accessible for Scripting purposes the image’s position in the window is not (to the best of my knowledge).

  • Cannot adjust page width to fit to screen size on some PCs with IE

    Hello friends, I am using APEX 4.0 and IE9 on different Windows 7 PCs . The page will go way off the screen to the right on one PC, and fits nicely inside the screen on another PC. This problem does not occur in Firefox on any PC. I have used Firebug to try to isolate the template or css settings. Using Theme_4, I have a breadcrumb region and 4 reports regions. One of the reports regions is in column 1 and 3 regions are in column 2. Display point is Page Template Body (3. Items above region content) for all the reports regions. The CSS is #themes/theme_4/css/theme_4_0.css. The template is One Level Tabs (Right Sidebar/Table Based). I tried various width="" using px and % under Edit Page Template-Definition-Body (see below). I tried style="width:800px" within the <div> tags. I have tried various other changes to theme_4_0.css and apex_4_0.css with no visible change to the page width on the obstinate PCs. I reset IE setting and deleted all personal settings on both PCs with no changes to either one, one fits on the screen and the other does not. The issue is that most of our users use IE so most of them will have to live with using the horizontal scroll bar to see the regions in column 2, unless we switch them all to Firefox (not a bad option, except that option works for our users only, we have no control over external browsers). I have tried suggestions from many discussion threads, as this problem has bothered us for quite some time. I know this is an IE problem, but any help is appreciated. Thank you.
    "|" represents screen size and "-" is the regions/content for the "bad" PCs.
    |----------|----------
    The "good" PCs look like this:
    |----------|
    Peter
    <div id="body">
    <table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <td class="tbl-main" width="100%">#REGION_POSITION_02##BOX_BODY#</td>
    <td class="tbl-sidebar">#REGION_POSITION_03#</td>
    </tr>
    </tbody>
    </table>
    </div>

    BD...
    I think your concerns are very reasonable. But I want to sort of refocus things a little bit for you here... it's not really a PC vs Mac issue... Rather, it's specifically an Internet Explorer issue. And you might say that this is synonymous...still 98% of the world uses IE, and you would be correct. Hopefully when the final version of IE7 comes out, it will finally embrace some of the modern day OPEN web standards without trying to make too many standards of its own (this is Microsoft, though).
    Anyways, in the meantime, I guess we all try to make the best of it. It's very easy to conclude that iWeb is not a viable tool for you, as long as you have something else to "fall back" on. With my limited knowledge of all things HTML, I have no such luxury. Instead, I have put up a notice on my site for IE users only that the site might not look its best on IE....this notice also encourages IE users to use FireFox, which is very much like Safari and will in 99% of cases display your iWeb pages just like you expect. You can see how I've done this here (but you have to surf from IE)... http://blog.dirtdoog.com
    I think many people in the PC world understand the limitations of IE. Certainly many don't, but you have to consider your likely audience, I guess. I believe that your website content is king. If your content is compelling enough to your intended audience, they will jump through hoops to see it in its full glory....but you have to make them aware of the problem. That's why I have chosen to take the path that I have taken.
    Let me know what you think.

  • Widening page width to fit more data

    Hi,
    I am running Crystal 11.0 and I am having  problem fitting all of my data on to the report. I have 48 data elements I would like to see. I have set the printer to 11x17 and have selected landscape yet it does not provide enough space. Any ideas would be appreciated and I would like to keep the data a row format. Not vertical.
    Thanks

    Hi David,
    You can make a wider report by creating virtual pages. Virtual pages are the extra pages to the right of the main page that get created to accommodate cross-tabs that are wider than a single page. By inserting a cross-tab in a report then suppressing it, you can create a report that is multiple pages wide.
    Insert and Suppress a Cross-Tab
    1. On the 'Insert' menu, click 'Cross-Tab'.
    2. In the Cross-Tab Expert, click any field and move it into the 'Columns' box, and click any field and move it into the 'Summarized Fields' box. Do not move any fields into the 'Rows' box.
    3. Click the 'Customize Style' tab and select the following check boxes:
    " Suppress Empty Rows
    " Suppress Empty Columns
    " Suppress Row Grand Totals
    " Suppress Column Grand Totals
    4. Click the 'OK' button and then insert the cross-tab into the Report Header section.
    5. On the 'Report' menu, click 'Format Sections'. Click 'Report Header' and select the 'Underlay Following Sections' check box.
    When you run the report you will not see the cross-tab, but you will be able to scroll to the right and see multiple virtual pages.
    ====================
    NOTES:
    " As there are no rows to the Cross-Tab, it does not carry on to Page 2 and the virtual pages do not appear past the first page.
    " To increase or decrease the number of virtual pages do one of the following:
    Limit the number of records for the field in the 'Column' box of the 'Cross-Tab Expert' using the 'Select Expert'.
    Change the width of the 'Column' field in the Cross-Tab by moving the edges of the field.
    ====================
    How to Insert Fields on Virtual Pages
    You cannot drag-and-drop a field onto a virtual page, you can only do so on the main page. To get a field to appear on a virtual page:
    1. Insert the field on the main page.
    2. Click the 'Preview' tab.
    3. Drag the right edge of the field to the right, onto the virtual page.
    4. Drag the left edge of the field to the right, onto the virtual page.
    Or  easier is to change the printer page orientation to landscape. If you need it even bigger install a printer that can handle large paper sizes. Plotters can get up to 42 inches or more.
    Cross tabs can be limiting depending on what you want to do but they can also be of great use if it fits your model.
    Regards,
    Shweta

Maybe you are looking for