Results 1 to 12 of 12
  1. #1
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Portland, Maine, USA
    Posts
    296
    Thanks
    0
    Thanked 0 Times in 0 Posts

    'Block Protect' (Word 2000/XP)

    In the last few months I have been helping a few different companies switch from Word Perfect to Word. There are of course the expected grumbling of no reveal codes, etc. etc.

    However, one thing I have heard from a number of people for which I have not figured out an answer is how to do the same thing as Word Perfect's block protect. With this they can select lines in or across paragraphs and protect this block from breaking across pages.

    Here is the the scenario where it is a problem. There is a pretty long paragraph in or near the end of a page and the user wants part of that paragraph to not be separated from the next couple of paragraphs - such as a closing for a letter.

    I have attached an example of what I mean. In this example, I do not want the signature block to be on a page by itself. When I do keep with next on the long paragraph and the signature block, the whole thing goes to the next page and leaves a big blank space on the first page.

    Is there a way keep just the last couple of lines of a paragraph with the next paragraph?
    Attached Files Attached Files

  2. #2
    2 Star Lounger
    Join Date
    May 2001
    Location
    Wichita, Kansas, USA
    Posts
    177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Block Protect' (Word 2000/XP)

    Darryl -- I'm playing with this file of yours a bit, and see your problem. The only thing I've found so far that works is putting my insertion point at whatever point in that last graph (say, a couple lines up from the end) and manually putting in a page break.

    I guess if this was my document, I would adjust the margins when a paragraph is that close to fitting on one page. But I know you are trying to help others, who may not have that flexibility.

    I will keep working with it and we will see what we can come up with
    Tracy

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Block Protect' (Word 2000/XP)

    Hi Daryl:
    I am not aware of anything that will always keep a certain portion of one paragraph with the next paragraph. I suppose you could put the last lines of one paragraph, together with the next short paragraph, in a one row borderless table row. Set the table properties to untick "allow row to break across pages".

    For the type of problem that you're trying to correct, Word has a few solutions, the most common of which are to adjust the font size or margins. To make it easier for users, you could use the "shrink to fit" option that you will see in Print Preview.

    Another thing that you can do is use styles. I noticed that you manually formatted the closing & signature block to have space above & below. Certainly, the signature doesn't need to have space below. i.e. you can reduce the amount of times that you need to make an adjustment for the last page by setting up styles properly.

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: 'Block Protect' (Word 2000/XP)

    I tried putting bookmarks at the start and end of a "Block Protect" area and then using an IF field to insert a page break if they were on different pages as in

    <pre> { IF { PAGEREF Startblock }<>{ PAGEREF Endblock } " *PageBreak* " " " }
    </pre>


    Much to my amusement this toggled the Page Break on and off each time I did an update fields!

    Another good idea bites the dust.

    StuartR

  5. #5
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Portland, Maine, USA
    Posts
    296
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Block Protect' (Word 2000/XP)

    When I create templates for users, I judiciously use styles. I just threw this example together quickly and would not normally have space after in the signature. This just carried through from the text in the document.

    As for shrink to fit, a lot of my clients are law firms and for some documents, changing the font size or changing margins is not an option.

    I am looking for a way to accomplish this so that users don't have to do a lot of playing with a document to have it look like they want. Whether changing fonts, margins, inserting tables, manual page breaks, etc., this is extra work that I was hoping to avoid. Plus, these changes can have other ramifications when editing later or even just elsewhere in the document.

  6. #6
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Block Protect' (Word 2000/XP)

    Hi Stuart:
    I don't know. I tried your idea (which I think is very clever) & it worked. I put a bookmark called startblock at the beginning of a line near the end of the long paragraph. Then I put a bookmark called endblock at the very end of the document. I used this field:

    { If { pageref startblock } <> { pageref endblock } "" "
    <pagebreak>" }

    where <pagebreak> is a real page break (Ctrl+Enter). You have to update the field, but it worked. <img src=/S/bravo.gif border=0 alt=bravo width=16 height=30>

  7. #7
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: 'Block Protect' (Word 2000/XP)

    Phil,

    Did you try updating the field a second or third time?

    After the page break has been inserted the two bookmarks are on the same page, so updating the field removes the page break again. It toggles with each update field!

    This is a pity <img src=/S/sad.gif border=0 alt=sad width=15 height=15> because we could easily have written a Macro to insert these and I would have been able to use it myself.

    StuartR

  8. #8
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Block Protect' (Word 2000/XP)

    Hi Stuart:
    You're right. I spoke to soon. (I still think it was clever.) I'm still wondering if there's a way. I'm sure a macro could check & see if the bookmarks were on the same page, update the field, & then lock it...nah, you couldn't update it if you later edited the document. That's the problem with the "table" row solution I posted above, too. It's not flexible enough. Back to the drawing board.

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Block Protect' (Word 2000/XP)

    Hi Again:
    Well, I came across these suggestions from Suzanne Barnhill. They seem to include a number of possibilities...unfortunately, none of them automatic. But maybe you'll find one of these ideas best.

  10. #10
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: 'Block Protect' (Word 2000/XP)

    I think we could do this with a Macro that manipulated bookmarks.

    Select the "Block Protect" area and run Macro1
    This inserts a Blockn bookmark whose range is the entire selection. Using the next available integer n.

    Macro2 runs whenever you save or print the document.
    For each bookmark of the form Blockn, it checks whether there is a page break immediately before Blockn.Start and if there is it deletes it, it then checks whether Blockn.Start and Blockn.end are on the same page and if not it inserts the page break.

    Anybody got time to write it?

    StuartR

  11. #11
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: 'Block Protect' (Word 2000/XP)

    Although there is a superficial attraction to a "set it and forget it" feature like Block Protect, as a practical matter, the position of the signature block only matters when a document is final and ready to sign. At that point, calling up Print Preview to check whether a page break is needed is not a big deal. All legal documents get printed and reviewed so many times that there will almost never be a case where a document accidentally goes out with the wrong pagination (unless you use a different printer driver, like print-to-fax, but that's another nightmare).

    After reviewing the proposals in this thread, there does not appear to be a highly flexible way to do what you are looking for. Either you end up locking in the page break in advance, or you end up evaluating the situation programmatically at the last minute (no easier or more foolproof than print preview and manual break), or you encapsulate the last two lines of the last paragraph in a device such as a frame or table cell (or even a separate paragraph in a style which appears to be a continuation of the previous one) which does not allow revisions to the first portion of the paragraph to flow properly.

    On this one, I would give up.

  12. #12
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Portland, Maine, USA
    Posts
    296
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Block Protect' (Word 2000/XP)

    I had pretty much given up. My post here was a last ditch effort.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •