Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert Frames to Text Boxes Programitacally

157 views
Skip to first unread message

Rashid Khan

unread,
Jan 13, 2002, 2:03:49 PM1/13/02
to
Hi All

I am using Office XP.

I have scanned a long document where each page has some text in the margins
also.

All the text in the margins have come up in frames. I want to convert all
these frames to text box. At present I am doing each and every frame
manually to text box. As I have noticed that text boxes are easy to
manipulate rather than frames.

Any help would be appreciated

Rashid Khan

Suzanne S. Barnhill

unread,
Jan 13, 2002, 2:53:39 PM1/13/02
to
Frames offer many advantages over text boxes, so you might want to look
before you leap. For example, Word cannot see any text in text boxes for the
purpose of cross-references, TOC, TOF, etc.

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA

"Rashid Khan" <prkh...@hotmail.com> wrote in message
news:evT2FUGnBHA.1948@tkmsftngp03...

Steve Wylie

unread,
Jan 13, 2002, 5:26:59 PM1/13/02
to
Hi Suzanne

I have seen you advocating Frames over Text Boxes before. Can you tell me
what the advantages are of using Frames? Or perhaps you can point me to an
appropriate web link.

Steve Wylie

Suzanne S. Barnhill

unread,
Jan 13, 2002, 8:08:54 PM1/13/02
to
For a list of the occasions when you should use frames instead of text
boxes, see "WD2000: General Information About Floating Objects [Q268713]" at
http://support.microsoft.com/support/kb/articles/q268/7/13.asp or "WD97:
General Information about Floating Objects [Q167738]" at
http://support.microsoft.com/support/kb/articles/q167/7/38.asp.

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA

"Steve Wylie" <ste...@btinternet.com> wrote in message
news:eh8D4EInBHA.1620@tkmsftngp02...

Rashid Khan

unread,
Jan 18, 2002, 12:42:54 PM1/18/02
to
Hello Suzanne,
Thanks for your advice.

Can u then please guide me as to how to go about this problem.

The document scanned is about 140+ pages. It has some explanatory comments
on certain paragraphs on nearly every page. The comment appears on the left
side on even pages and on the right side for odd pages.

When I try to bring the frame by dragging it near the text then it pushes
the text inside. I tried by setting the property of the frame to 'Around'
but that also did not help. So I converted it to text box and set the
wrapping property to 'In front of text' and managed to get the job going.
But I am not satisfied as I have to manually align the text boxes. Now if
you suggest that I should not leap over to converting to frames then kindly
guide me in this matter.

Many thanks for your time.

Rashid
"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message
news:OAmRJ4GnBHA.2464@tkmsftngp03...

Suzanne S. Barnhill

unread,
Jan 18, 2002, 3:56:13 PM1/18/02
to
I'm not sure I understand your question. You can put the frames in the
margin (provided the margin is large enough). In Format Frame, you can set
the position as "Outside" and the "Distance from text" as appropriate. I
assume you do want to wrap the document text around these frames?

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA

"Rashid Khan" <prkh...@hotmail.com> wrote in message

news:uYBC3eEoBHA.2112@tkmsftngp07...

Rashid Khan

unread,
Jan 19, 2002, 2:33:11 PM1/19/02
to
Hi Suzanne,

Sorry if you could not understand my problem.

You are right that I do not want to wrap the document text around the
frames.

I tried your suggestion by setting the position of the frame as "Outside".
But then again the problem seems to persist.

If you say then I would email u a copy of the file to have a look at it.

Thanks once again.

Rashid
"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message

news:OX0OSNGoBHA.2196@tkmsftngp07...

Suzanne S. Barnhill

unread,
Jan 19, 2002, 5:18:06 PM1/19/02
to
If you don't want to wrap text around the frame, then you can set it to "Top
and Bottom," but in that case there's no particular reason to use a frame at
all; you could just use an outdented paragraph (except that you wouldn't be
able to use the "Outside" setting).

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA

"Rashid Khan" <prkh...@hotmail.com> wrote in message

news:e#47#ASoBHA.2504@tkmsftngp07...

Rashid Khan

unread,
Jan 20, 2002, 12:55:34 PM1/20/02
to
Hi Suzanne,
My problem does not seem to be as easy as you think. In my file the text in
the margin (frame) has to be against a particular para. By setting the
frame to Top and Bottom as u have suggested would move it away from the
respective paragraphs.

Then another problem which I am facing is that the text in margin has to be
according to even or odd pages. i.e the final output would be in a form of
a book printed back to back and therefore the matter in the frame has to be
always on the left side.

Can I email u a copy?

Thanks once again for your time.

Rashid Khan


"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message

news:eOLQQpToBHA.1528@tkmsftngp03...

Suzanne S. Barnhill

unread,
Jan 20, 2002, 1:54:50 PM1/20/02
to
If you set the frame's horizontal position as "Outside" relative to page and
its vertical position as 0" relative to paragraph (with wrapping set to
"Around"), this should accomplish what you want. Adjust the distance between
the frame and the document text using the "Distance from text" setting in
Format Frame.

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA

"Rashid Khan" <prkh...@hotmail.com> wrote in message

news:u2b1VudoBHA.956@tkmsftngp05...

Rashid Khan

unread,
Jan 21, 2002, 1:38:11 PM1/21/02
to
Hi Suzanne,

Thanks for your prompt reply. I would try your suggestions. But what about
the problem of odd and even pages? Do I have to give section breaks for
each page? Then other problem would be to get all the matter in the frames
to come accordingly on even and odd pages. And it would have to be done
manually for each frame I suppose.

What do u suggest.

Thanks

Rashid
"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message

news:ewpSaQeoBHA.980@tkmsftngp03...

Suzanne S. Barnhill

unread,
Jan 21, 2002, 9:42:15 PM1/21/02
to
If you set the frame's horizontal position to "Outside," it will be in the
outside margin of any page (left for even, right for odd).

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA

"Rashid Khan" <prkh...@hotmail.com> wrote in message

news:#IHG3qqoBHA.2528@tkmsftngp04...

Rashid Khan

unread,
Jan 22, 2002, 1:22:52 PM1/22/02
to
Hi Suzanne
I have tried your suggestion and it seem to sort the problem to a
certain extent. But now how to get about changing all the frames to
the property u have suggested. Is there any global find and replace
with regards to the property so that all the frames have the

horizontal position as "Outside" relative to page and its vertical
position as 0" relative to paragraph.

Thanks for your suggestion
Rashid Khan
"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message news:<OL8qyIvoBHA.1528@tkmsftngp03>...

Suzanne S. Barnhill

unread,
Jan 22, 2002, 2:38:52 PM1/22/02
to
If you define a style that includes the frame and then apply that style to
all the text in the frames, they will all be formatted appropriately. That's
one of the reasons for using a frame instead of a text box, the fact that it
can be part of a style definition, so that inserting the frame becomes a
matter of just applying the style.

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA

"Rashid Khan" <prkh...@hotmail.com> wrote in message

news:8541e744.02012...@posting.google.com...

Rashid Khan

unread,
Jan 24, 2002, 1:03:47 PM1/24/02
to
Hi Suzanne,
I am lost as how to define the style. Can u guide with the appropriate
steps.

Also let me know that how that style would be applied to about 100+ frames
in the document.


Thanks once again

Rashid
"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message

news:#pnlY#3oBHA.2316@tkmsftngp02...

Suzanne S. Barnhill

unread,
Jan 25, 2002, 1:03:24 PM1/25/02
to
When you have one frame formatted as you wish, go to Format | Style | New
and type in a name for the style. Then click the Apply button. Then select
each other frame you want to apply the style to and press F4 (repeat).

Actually, backtracking a bit, I see you're using Word 2002, so you may be
able to select several frames at once. Also, getting to Format Style is a
bit different. Display the Styles and Formatting pane, select your frame,
and click the New Style button, which will take you directly to the dialog
where you type in a name for the style. Unfortunately, you don't get an
Apply button, so you'll have to OK out. Then select another frame and choose
your new style from the Styles dropdown list. After that you can use F4 to
apply it to the rest of the frames.

--
Suzanne S. Barnhill
Microsoft Word MVP
Words into Type
Fairhope, AL USA

"Rashid Khan" <prkh...@hotmail.com> wrote in message

news:OFQr1FQpBHA.1716@tkmsftngp02...

0 new messages