Jay said:
Jay Freedman wrote:
Philip Herlihy wrote:
Like a lot of "experienced" Word users, I've probably only scratched
the surface. Need this to work with 2003 and 2007.
I have a printed form which I've scanned and sharpened in PhotoShop.
I've set this as the background to a new Word document (which I'll
save as a template if it works!). So far, so good.
[snip]
Phil
Instead of frames, make a table and size its columns and rows so that
each field
has a cell to itself. This is one of the few reasonable uses of the
"table
drawing" tools (on the Tables toolbar in 2003 or the Table Tools >
Design tab of
the ribbon in 2007).
With the whole table selected, turn off the table borders. Also set
AutoFit to
Fixed Column Width, and in the Table Properties > Rows dialog set each
row to an
Exact measurement to prevent entries in the fields from expanding the
cells and
moving the following fields.
Thanks - I'd never have thought of that! Will this work even if the
underlying scanned image is irregular in layout? I want the user to be
able to tab between fields easily, and have the typed text appear on the
various "dotted lines".
Phil
It depends on just how irregular the layout is. There's no requirement
that
every table cell contain a form field; some of them can be just
'spacers'. You
can torture a table's cell measurements quite a bit before it rebels. <g>
For
the most part you should be able to get what you need by splitting or
merging
cells and dragging their borders.
The one thing you don't want to do is make the table float (by dragging
the
table itself or by setting the table's wrapping in the Table Properties
dialog
to Around) -- that will just get you back to the random placement waltz.
If you
accidentally float the table, open the Table Properties dialog and reset
the
wrapping to None.
Once the form document is protected for forms entry, the tab and
Shift+tab keys
will go from field to field (ignoring empty table cells, because they're
protected) from left to right and then down to the next row. If you need
to
change that order, see
http://www.word.mvps.org/FAQs/TblsFldsFms/SetTabOrder.htm, but be aware
that it
requires a macro, which can be a problem if you're distributing the form
to
other computers.
--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.
Thanks, Jay - you've hit on the issue that was concerning me: how to skip
"spacer" fields. That does seem a viable approach, although I would need
to use the macros to follow the irregular logic of the form's workflow.
It is a pretty irregular form (when you try to envisage it as a table) -
the fields are just dotted lines placed wherever the questions happened to
end (although I've seen worse). I think it would be a great deal of work
to get a table structure to fit. That made the idea of using frames more
attractive initially, although your phrase "random placement waltz"
perfectly captures what was going on!
I did persist last night with experiments with an elderly Acrobat (Pro)
and the latest version of Serif's PagePlus, and the latter has given good
results for this form. I could open the PDF (from the scanner) directly,
and I can create and adjust fields exactly as I need them, and set
properties (e.g. borders, transparency) easily. The resulting form
behaves beautifully and intuitively, but the downside is that the
information can't be saved as an editable package if users have only
Acrobat Reader (they all have Word).
I'm still wondering if frames (or something equivalent) might still be the
best option for this form. What's the trick to avoid the "waltz"?
I must say I've learned to respect and appreciate enormously the corps of
MVPs, and I'm very grateful for your help!
Phil