Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2014, 01:40 PM
MaxInCO MaxInCO is offline Bookmark vertical location seems slightly off for some paragraphs Windows 7 64bit Bookmark vertical location seems slightly off for some paragraphs Office 2010 64bit
Novice
Bookmark vertical location seems slightly off for some paragraphs
 
Join Date: Dec 2013
Location: Denver
Posts: 9
MaxInCO is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 02-21-2014, 02:04 PM
macropod's Avatar
macropod macropod is offline Bookmark vertical location seems slightly off for some paragraphs Windows 7 32bit Bookmark vertical location seems slightly off for some paragraphs Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 02-21-2014, 02:28 PM
MaxInCO MaxInCO is offline Bookmark vertical location seems slightly off for some paragraphs Windows 7 64bit Bookmark vertical location seems slightly off for some paragraphs Office 2010 64bit
Novice
Bookmark vertical location seems slightly off for some paragraphs
 
Join Date: Dec 2013
Location: Denver
Posts: 9
MaxInCO is on a distinguished road
Default

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.
Attached Files
File Type: pdf Pmt Checklist Constr.pdf (213.7 KB, 7 views)
File Type: docx Document1.docx (37.7 KB, 9 views)
Reply With Quote
  #4  
Old 02-21-2014, 03:07 PM
macropod's Avatar
macropod macropod is offline Bookmark vertical location seems slightly off for some paragraphs Windows 7 32bit Bookmark vertical location seems slightly off for some paragraphs Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

To the extent you're relying on calculated offsets, it appears your paragraph with the string:
Quote:
DO NOT send to the FC CMT. Facilities Project Manager retains as-built drawings
doesn't conform to it's Style definition, and that's increasing the point spacing between it and the paragraph that follows, by 7.2 points. Curiously, if I tell Word to update the UB2 Style definition to match that paragraph's break (or the others in red), the problem goes away, but not if I do the same on some of the other paragraphs with the same Style and apparent paragraph formatting.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 02-21-2014, 03:12 PM
MaxInCO MaxInCO is offline Bookmark vertical location seems slightly off for some paragraphs Windows 7 64bit Bookmark vertical location seems slightly off for some paragraphs Office 2010 64bit
Novice
Bookmark vertical location seems slightly off for some paragraphs
 
Join Date: Dec 2013
Location: Denver
Posts: 9
MaxInCO is on a distinguished road
Default

I will go back and see what I can to get the style right. I really appreciate the insight.

Thank you.
Reply With Quote
Reply



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
Bookmark vertical location seems slightly off for some paragraphs 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

Other Forums: Access Forums

All times are GMT -7. The time now is 04:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft