Copy link to clipboard
Copied
I have created a document with many complex charts. It would be great if you clicked on them and they enlarged 3 or 4 times to a set viewing size, or in a pop-up window.
Is this possible?
Ian
1 Correct answer
you can do it in acrobat pro (but your client could not see this effects with other applications).
you could this, for example, with two buttons (set property: mouse enter > show other button, mouse out > hide other buttom)
Copy link to clipboard
Copied
What application did you create the document with?
Copy link to clipboard
Copied
InDesign CC2018
Copy link to clipboard
Copied
Hi ian,
for working in complex details of any of your charts or only seeing your PDF is in a higher zoom percentage you could do a second window of the same document with a different zoom level.
However, if you are working in a multi page document it's not easy to navigate to the right spread and to zoom in to the right area.
For this I wrote a script in ExtendScript (JavaScript). Code is below where you can edit the zoom percentage at the beginning of the active code.
If you are done in the new layout window just close it and go on.
/**
* @@@BUILDINFO@@@ addNewLayoutWindow-zoomToSelection.jsx !Version! Thu Jul 19 2018 11:50:58 GMT+0200
*/
/*
Script by Uwe Laubender
Posted at:
Zoom-in within PDF
IScott Jul 19, 2018
https://forums.adobe.com/message/10510394#10510394
*/
/*
Script opens new layout window.
Sets the active spread of the window to the one of the original one.
Selects the same objects in that window.
Zooms to a specified value defined at the beginning of the code.
*/
( function()
{
// Edit the zoom percentage here:
var zoom = 400 ;
if( app.documents.length == 0 ){ return };
if( app.selection.length == 0 ){ return };
var doc = app.documents[0];
var sel = app.selection;
var spread = doc.layoutWindows[0].activeSpread;
// New Window for "string"
app.scriptMenuActions.itemByID(258).invoke();
doc.layoutWindows[0].activeSpread = spread;
doc.layoutWindows[0].selection = sel;
doc.layoutWindows[0].zoomPercentage = zoom;
}() )
How to work with ExtendScript code and how to install scripts:
Indiscripts :: Indiscripts for Dummies
Note: You can add a keyboard shortcut to the installed script.
FWIW: One could add an interface to the code where the zoom percentage value can be typed in.
Regards,
Uwe
Copy link to clipboard
Copied
What I have done in the past is add extra pages to end of my file with the graphics enlarged. When you click on a graphic on page 4 it jumps to page 62 where the graphic fills the screen. Then click anywhere on page 62 and you are returned to page 4.
Copy link to clipboard
Copied
Thanks FM. Tried this and it works well. Might be the only answer. Would be great if there was a way hide all the extra pages from view.
I'm sure in the last version of Acrobat Pro, you could link to a selected area of your page, and this would fill the screen.
Copy link to clipboard
Copied
Hi Ian,
did you try my script?
Regards,
Uwe
Copy link to clipboard
Copied
IScott wrote
I have created a document with many complex charts. It would be great if you clicked on them and they enlarged 3 or 4 times to a set viewing size, or in a pop-up window.
Is this possible?
Are you assuming that the application that people will use to view your PDF with does not have any zoom capabilities, at all?
I have at least 5 different applications that can view PDFs, and as far as I am aware, all can do that. It's kind of a basic function, for any PDF viewer.
Copy link to clipboard
Copied
you can do it in acrobat pro (but your client could not see this effects with other applications).
you could this, for example, with two buttons (set property: mouse enter > show other button, mouse out > hide other buttom)
Copy link to clipboard
Copied
Thanks Vladan and Jongware,
obviously I had the false impression that zooming the graphic should be doable in InDesign while in layout phase.
So it's with PDF export.
Regards,
Uwe
Copy link to clipboard
Copied
You can include an InDesign layer of a page with the chart at the desired zoom, then turn that layer off, export to a PDF, including acrobat layers. In Acrobat, create an invisible button on top of the small chart, set the button to show/hide the layer with the enlarged chart. You will need to view the PDF with Acrobat or Reader to use the buttons and layers.

