#1
|
|||
|
|||
Bookmark vertical location seems slightly off for some paragraphs
I have a template with a list of items in the form of paragraphs using 8pt Arial and vertically spaced at 6pt, much like a bulleted list, but NOT a bulleted list. At the beginning of each paragraph is a bookmark, for which I calculate the horizontal position, vertical position and the pagenumber, which are stored in arrays.
Then, via some VBA code, the template is populated with a series of docvariables and output as a PDF. Next, some embedded javascript takes over that opens the PDF and, using the arrays mentioned earlier, adds checkboxes to each bookmark location. I understand that Word does forms and checkboxes and all that, but there is good reason why I'm doing things this way. The problem is, on the second page three (3) of the checkboxes are slightly off in the vertical direction, probably no more than 2 or 3 points. This isn't the end of the world but it makes the form look slightly unprofessional and I'd just like to fix it. I believe I have checked all the formatting settings in the Word template with respect to line spacing, etc., and everything seems OK. All of the bookmark locations are calculated using the same code so I can't see that as being the issue. Does anyone have any ideas why certain bookmarks would be different vertically than others? Thanks. |
#2
|
||||
|
||||
Without actually seeing the problem document, it can be difficult for anyone to diagnose the issue. Can you attach a document to a post with some representative data (delete anything sensitive)? You do this via the paperclip symbol on the 'Go Advanced' tab.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Thank you Macropod:
The forum doesn't appear to allow the upload of ".dotx" files, so I attached a document file instead. Probably won't matter. I colored the offending template lines in red, obviously, and removed my company letterhead. Nothing else very sensitive here. I also attached the resulting PDF. I'll be glad to post the code if it will help. Thanks again. |
#4
|
||||
|
||||
To the extent you're relying on calculated offsets, it appears your paragraph with the string:
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
I will go back and see what I can to get the style right. I really appreciate the insight.
Thank you. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 win7x32 Archive location/backup location question | michael.monaco | Outlook | 0 | 11-19-2012 02:07 PM |
VBA to copy bookmark to a new location | kent | Word VBA | 5 | 06-14-2012 02:18 PM |
Charts shift slightly when clicked on ..? | JoeSamo | PowerPoint | 3 | 02-06-2012 10:26 AM |
Vertical | climberman | Word | 2 | 12-29-2009 09:53 AM |
Vertical justification | wmws | Word | 0 | 03-25-2007 03:19 AM |