Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing a Word doc with styles
Message
From
07/09/2006 17:43:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/09/2006 17:20:05
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01151911
Message ID:
01152112
Views:
34
>>>Actually, I do mean Sections in the way Word uses the term. I've managed to pull out the first paragraph of each Section, but it comes along with a hard return at the end. Is there any way to say "give me the whole paragraph except for the last word"?
>>
>>It's probably easiest to bring it to VFP with the return and then strip that out from the VFP side, using LEFT() and LEN().
>>
>>Tamar
>
>Now that I can display a list of sections, I want the user to be able to choose which section(s) to print or preview. I figured out how to print specific sections, but is there a way to preview only certain sections? Or is there way to hide/delete the sections I don't want in the preview? Or, at the very least, can I position the preview to show a specific section?

Start a new word document (.documents.add) and paste the section into it - then make it visible. Though I don't exactly know how to make one document visible and the other one not.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform