Copy paste from MSWord results in GPF.
December 27, 2004 12:00 AM
When I copy from MSWord 2003 into a text block in Lectora, the app more often from not dies. I am using Windows XP with the latest service packs. I also just updated Lectora to the latest SP from your site. I tried to copy the technical details from the resulting MS error message, but it was not selectable text. Please let me know what to do in order to get you the info needed to fix this.When I copy from MSWord 2003 into a text block in Lectora, the app more often from not dies. I am using Windows XP with the latest service packs. I also just updated Lectora to the latest SP from your site. I tried to copy the technical details from the resulting MS error message, but it was not selectable text. Please let me know what to do in order to get you the info needed to fix this.
Discussion (4)
Do you have a Word document that you could email me that exhibits the problem? If so, I can see that the issue gets resolved. The long and short is that Word uses a lot of crap in their RTF implementation that we typically skip over in importing, but they may have overflowed one of our internal buffers if they have used another yet undiscovered RTF extension that we didn't handle.Tim V
The actual problem has to do with embedded footnotesin the Word Document ... they are huge ... over 1K andthe existing text engine doesn't strip them out. If youpaste to Wordpad first ... or heck, just use WordPad to open the file and copy and paste from there, you will be fine.Tim V
The first thing I would do is try to figure out which application is actually causing the error. Try copying the text from Word into Notepad. Then copy the text from Notepad into Lectora. Does Lectora still crash? If it does crash then you definitly have a problem with Lectora app, if it doesn't crash, then the problem probably has something to do with the formatted text from Word. Whenever I copy text out of Word for any other application, I always paste it into Notepad first to strip out any formatting that may exist. The best way to illustrate what I am saying is if you paste Word text into an html program and look at the source code, you will see that Word carries alot of formatting along with the text which isn't a good thing. It can really mess up style sheets. I hope I didn't confuse the issue.The first thing I would do is try to figure out which application is actually causing the error. Try copying the text from Word into Notepad. Then copy the text from Notepad into Lectora. Does Lectora still crash? If it does crash then you definitly have a problem with Lectora app, if it doesn't crash, then the problem probably has something to do with the formatted text from Word. Whenever I copy text out of Word for any other application, I always paste it into Notepad first to strip out any formatting that may exist. The best way to illustrate what I am saying is if you paste Word text into an html program and look at the source code, you will see that Word carries alot of formatting along with the text which isn't a good thing. It can really mess up style sheets. I hope I didn't confuse the issue.
No confusion and yes, I already have isolated this as an MS Word issue. Copy paste from Word to Notepad to Lectora works fine, as does WordPad. Its just MS Word. Word does bring everything but the Kitchen sink over and as such, sucks. Microsoft bashing aside, there should be a fix for this.No confusion and yes, I already have isolated this as an MS Word issue. Copy paste from Word to Notepad to Lectora works fine, as does WordPad. Its just MS Word. Word does bring everything but the Kitchen sink over and as such, sucks. Microsoft bashing aside, there should be a fix for this.
Discussions have been disabled for this post