WPCubed Product Support

WPRichText rendering errors in content related to punctuation, extra spaces or missing spaces, bullets, etc.

Hi,

We are maintaining delphi desktop application which uses most of the wptools components displaying and printing but we are some issue like:

  • no space
  • extra space
  • punctuation error - comma instead of period, etc.
  • page break error - break after section header instead of before
  • bullets not rendering as bullets and instead as punctuation or other

We get content(documents) from different application they are fine in XML and RTF formats.

We have custom delphi application which converts from XML to WPT format and stores in database. Here also content looks good.

Our main application then loads the required document when required and displayed using WPRichText, MailMerge etc.

Here, the above mentioned issues are coming.

Please let us know if there is any solution.

Examples:

You is shown as Y ou

electrical is shown with el ectrical

Thanks,

Vijaya

#1 ♥ 0
6.8k Views 2 users read 2 min
wpsupport

Please contact support via e-mail with more information, such as used version, license, example data.

Please check if the data you save into database is correct. Often this is not the case. Please use streams to load and save, not strings.

#2 ♥ 0

Hi,

Tried to load the wpt format as stream but there is no change.

Following code changes:

  1. Loading from database into string.
  2. Converting string into memory stream using "StringToMemoryStream"
  3. Then loading into wprichtext - wprichtext.LoadFromStream(mstream);

Let me know if i need to follow any other method.

Thanks,

Vijaya

#3 ♥ 0
wpsupport

I found your mail - I was not in office when you sent it. It includes some PNG file but no WPT file to try out. Also license information is missing. Can you please resend.

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