[DUG] MS Word replacement text
Kyley Harris
Kyley at harrissoftware.com
Mon Jun 15 15:46:07 NZST 2009
in version word 97-2003 it is just #13.. new version is some encoded XML
structure that you cant read.
On Mon, Jun 15, 2009 at 3:35 PM, Kyley Harris <Kyley at harrissoftware.com>wrote:
> I would open a word document with a Hex editor, and see how they terminate
> a line.. its normally rich text.. so /n or some other command is more likely
> than an actual CRLF..
>
>
> On Mon, Jun 15, 2009 at 3:25 PM, Jason Coley <
> Jason at software-solutions.co.nz> wrote:
>
>> Have you tried using just #10 (or is it just #13)
>>
>>
>>
>> Jason
>>
>>
>>
>> *From:* delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
>> *On Behalf Of *Dave O'Brien
>> *Sent:* Monday, 15 June 2009 1:54 p.m.
>> *To:* Jason
>> *Subject:* [DUG] MS Word replacement text
>>
>>
>>
>> I’m working with Word templates, replacing markers with text. I’m having
>> trouble with new lines in the text, i.e. I want a new line, but the Word
>> document doesn’t want to play. I have tried #13#10, but this just puts two
>> spaces in the text.
>>
>>
>>
>> Is there another code I need to use to force a new line?
>>
>>
>>
>> Regards,
>>
>> Dave.
>>
>>
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at delphi.org.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
>> unsubscribe
>>
>
>
>
> --
> Kyley Harris
> Harris Software
> +64-21-671-821
>
--
Kyley Harris
Harris Software
+64-21-671-821
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090615/3fcdfe92/attachment.html
More information about the Delphi
mailing list