Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: Pop-up windows fitting their contents - how?
Conf: (P-PDF) Developers, Msg: 55774
From: gfowler
Date: 5/29/2002 05:14 PM

Greetings!

I am new here, but I am developing a CD-ROM
using Acrobat 4.05a (we don't need any of the new
features from 5.0 for this project). Generally, this
project will accompany a book on cultural literacy
for advanced learners of Russian. The structure is
a single large .pdf file containing the full text of the
book, enriched with a couple thousand links to
pop-up graphics, sound files, and a few other
items. We are working on the Mac, but the end
result has to work on both Mac and Windows. We
have a cross-platform problem, which I will
describe below. I sincerely hope someone here
can help me!

The issue is that on the Mac side, the pop-up
graphics work as we intend. They are defined to
open "Fit Visible" and "Resize Window to Initial
page", and that means that they open at the top left
corner of the screen, extending until they fill the
screen either vertically or horizontally. This leaves
the main .pdf file visible behind the pop-up graphic,
which is what we want, so the user can click back
in the original text window to go there (if s/he
doesn't want to close the graphic, for some
reason).

Anyway, this works on the Mac side, but on the
Windows side it doesn't. Instead of opening a lean
window the size and shape of the graphic, it
instead opens full-screen, with gray padding to fill
the screen. This prevents you from moving back to
the original file by clicking, though of course the
Window menu still works. Anyway, we don't like it.

At first we thought this was simply some kind of
bug. Then we ran across an explanation at the
Adobe Support Knowledgebase:

http://www.adobe.com/support/techdocs/1b 26a.ht
m

Resize Windows To Initial Page Option Doesn't
Work When Acrobat 4.0 Is Maximized
Issue

When opening a PDF file with Resize Windows To
Initial Page selected in its Open Info dialog box,
your Adobe Acrobat 4.0 for Windows application
does not resize the window to fit the file's first
page.

Solution

Unmaximize the Acrobat 4.0 application window
(i.e., click the Restore button in the upper right
corner).

Additional Information

Selecting Resize Windows To Initial Page in a PDF
file's Open Info dialog box instructs Acrobat to
resize its window to fit the size of the file's first
page. The Acrobat 4.0 application window does not
resize when it is maximized, however, because
Windows applications are usually designed to
remain maximized until you unmaximize them.

[Back to gfowler's question] So what we would like
to do is to find a solution which would achieve the
effect that we have on the Mac side: the graphics
pop up in a lean window sized to fit the graphic
instead of a padded window to fill the screen. We
can imagine two or three possible ways to do this:

1) some sort of OS-level scripting like AppleScript
on the Mac side, which would be attached to
(what?) and would automatically resize windows to
fit the contents upon pop-up. Doubtful but logically
possible.

2) some workaround inside Acrobat, perhaps
through Javascripting. Doubtful, because if this
was built into Acrobat, surely it would have been
mentioned in that support document quoted above.

3) some kind of plug-in which might achieve the
desired effect, perhaps with development on
Windows also working on the Mac. We could do it
that way, if it would work.

Sorry for such a long posting! if anyone has any
tips or suggestions or workarounds to achieve the
effect we want, I'm all ears!

Thanks in advance.

George Fowler
gfowler@slavica.com
gfowler@mac.com


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.