Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing to a Word document - paragraphs
Message
De
09/12/2011 09:02:33
 
 
À
09/12/2011 08:46:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Divers
Thread ID:
01530519
Message ID:
01530725
Vues:
41
>>Tamar
>>
>>Tables are doing the same thing - Word reads chr(13) (which is either the enter or shift+enter) as a new paragraph start. Any type of paragraphs.keeptogether command flies right out the window at that point.
>
>There's a Word setting that says start the row on a new page if it won't fit on this one, or something like that.
>
>Tamar

the problem is in the format of each Question/Responses set. Word doesn't recognize they are together because of the Chr(13) or Chr(10) LF character. To my knowledge, without doing some jumping through hoops character count/build each full line based on spacing (and gods help me if they decide to change the font or something like that), there's no way to build these sets without using a LF character. So it ends up looking like:

1. Question (LF)
a) Response (LF)
b) Response (LF)
c) Response (LF)
d) Response (LF)


Word views every (LF) as a new paragraph and even though I tell Word to keep paragraphs together, it's a moot command because Word views each line as its own paragraph. Hence the frustration.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform