Click here to Skip to main content
16,020,447 members

Comments by LukmanulHakeem.T (Top 1 by date)

LukmanulHakeem.T 24-Apr-16 2:56am View    
when I am getting content from the normal jsp text area its displaying in the word document generated(using XWPF) and in the pdf(using iText).
But when I am replacing the normal text area in the jsp with rich text area using <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>, then the generating document displaying some content like


<p><!-- [if gte mso 9]><xml> <o:officedocumentsettings> <o:relyonvml> <o:allowpng> </xml><![endif]--></p> <p><!-- [if gte mso 9]><xml> <w:worddocument> <w:view>Normal <w:zoom>0 <w:trackmoves> <w:trackformatting> <w:punctuationkerning> <w:validateagainstschemas> <w:saveifxmlinvalid>false <w:ignoremixedcontent>false <w:alwaysshowplaceholdertext>false <w:donotpromoteqf> <w:lidthemeother>EN-US <w:lidthemeasian>X-NONE <w:lidthemecomplexscript>AR-SA <w:compatibility> <w:breakwrappedtables> <w:snaptogridincell> <w:wraptextwithpunct> <w:useasianbreakrules> <w:dontgrowautofit> <w:splitpgbreakandparamark> <w:enableopentypekerning> <w:dontflipmirrorindents> <w:overridetablestylehps> <w:usefelayout> <m:mathpr> <m:mathfont m:val="Cambria Math"> <m:brkbin m:val="before"> <m:brkbinsub m:val="--"> <m:smallfrac m:val="off"> <m:dispdef> <m:lmargin m:val="0"> <m:rmargin m:val="0"> <m:defjc m:val="centerGroup"> <m:wrapindent m:val="1440"> <m:intlim m:val="subSup"> <m:narylim m:val="undOvr"> </xml><![endif]--><!-- [if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="false" defsemihidden="false" defqformat="false" defpriority="99" latentstylecount="371"> <w:lsdexception locked="false" priority="0" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" semihidden="true" unhidewhenused="true" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" semihidden="true" unhidewhenused="true" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" semihidden="true" unhidewhenused="true" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" semihidden="true" unhidewhenused="true" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" semihidden="true" unhidewhenused="true" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" semihidden="true" unhidewhenused="true" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" semihidden="true" unhidewhenused="true" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" semihidden="true" unhidewhenused="true" qformat="true" name="heading 9"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 1"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 2"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 3"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 4"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 5"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 6"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 7"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 8"> <w:lsdexception locked="false" semihidden="true" unhidewhenused="true" name="index 9">