WPCubed Product Support

Remove CS tagfor blank line.

When pasting text into the WPRTFText a blank line may show up as
<div cs=25 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>

Is there option to not have the "cs=25"? I am runing into some problems later on in some processing.
Preferred result--<div wpsty=[[IndentLeft:0;IndentRight:0;]]></div>

Otherwise I guess I can just parse thru the text.

Stephen

#1 ♥ 0
2.5k Views 2 users read 1 min
support

Hi,

The cs value is the default character attribute for the paragraph. This integer value is stored in par.LoadedCharAttr. You can reset this value in the BeforeInitializeParagraph event. You can also use par.ClearCharAttr to reset all character attributes of the complete text in a paragraph.

Julian

#2 ♥ 0
This category is archived. No new posts are possible.