in reply to Re: Save As option in Win32::OLE
in thread Save As option in Win32::OLE

Please open word docuemnt and type one para with 5 lines of text. Save as ".txt" plain text file it will ask some options. click in Flie conversion option". if you choose these options then it will convert the text as per word format. Now your five line docuemnt converts to five lines of text. each line seperated by enter marks. otherwise as per docuemnt it will come as single line complete para.
Hope you understand now.

Replies are listed 'Best First'.
Re^3: Save As option in Win32::OLE
by Corion (Patriarch) on Jun 17, 2009 at 08:01 UTC

    How does your answer relate to what the definition or value of wdFormatDOSTextLineBreaks is? You use it in your code but you don't show where it comes from.

      try what i explained then you can able to understand. i just upload what i have used. if u don't understand please try in http://everything2.com/title/Perl%2520OLE for more explanation.

        I'm not sure you understand my question. Why do you use the word wdFormatDOSTextLineBreaks in your code?

        If you didn't show us your complete code, but only a small snippet, why do you think we can diagnose your problem from that small snippet? If you are blindly trying to run some code you found somewhere on the internet, we will likely be unable to assist you further.

        If your question is actually about why Microsoft Word behaves differently than your code, maybe you will have to change your code to work properly? You have not shown the example where the manual output and the output of the program create different output, and where the output is exactly different.