Re: line spacing coming in from text pasted from pdf or .doc

2016-03-30 Thread J. Landman Gay
On 3/30/2016 2:06 PM, Dr. Hawkins wrote: Is there some way to find/parse what style info has been set on the field? Or documentation or a list of what these properties can be? The styledText property, maybe? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: line spacing coming in from text pasted from pdf or .doc

2016-03-30 Thread tbodine
If you go the html parsing route, this blog article may prove useful: http://www.websighthangouts.com/how-to-paste-from-microsoft-word/ I found pasted text from Word carried the invisible characters linefeed (numToChar 33) and null (numToChar 0). Tom Bodine -- View this message in context: h

Re: line spacing coming in from text pasted from pdf or .doc

2016-03-30 Thread Phil Davis
You could see if the unwanted style info appears in the htmlText ot the styledText, and delete it from there I suppose. Sounds messy. Phil On 3/30/16 12:06 PM, Dr. Hawkins wrote: On Wed, Mar 30, 2016 at 10:52 AM, Phil Davis wrote: It sounds like you want the pasted text to leave behind an

Re: line spacing coming in from text pasted from pdf or .doc

2016-03-30 Thread Dr. Hawkins
On Wed, Mar 30, 2016 at 10:52 AM, Phil Davis wrote: > > It sounds like you want the pasted text to leave behind any source > document-based properties and use those of the field you're pasting into. > Right? > Not quite. I want to keep font, italic, bold,size, and the like, which I'm able to pr

Re: line spacing coming in from text pasted from pdf or .doc

2016-03-30 Thread Phil Davis
Hi Richard, It sounds like you want the pasted text to leave behind any source document-based properties and use those of the field you're pasting into. Right? During the paste, have you tried putting the clipboardData["text"] into a variable, then putting the variable into the field? (Or se