Merge Wingdings font

WPTools 8 is a complete word processing VCL for Delphi 5 up to Delphi and C++Builder. It integrates powerfull editing features such as footnotes, header and footers, tables and DocX import and export.
Anthony EIC
Posts: 13
Joined: Fri Jun 24, 2016 1:03 pm

Merge Wingdings font

Postby Anthony EIC » Tue Jan 10, 2017 3:42 pm

Hello,

I generate text with bullets.

I use this code :

Code: Select all

reTable->CurrAttr->NumberStyle = wp_bullet;
_reTable->SaveToStream(pFlux);
 


Then in an OnMailMergeGetText event :

Code: Select all

               
Contents->Options << mmIgnoreLoadedFonts;
Contents->LoadTextFromStream(pFlux);


My problem is very simple, I created a bullet, which implicitly uses the Wingdings font.
I use the mmIgnoreLoadedFonts option because I want it to ignore the font text.

But I want to keep my bullet!

Would it be possible to have a new option mmIgnoreLoadedFontsExcept or another solution to handle this type of case ?

Return to “WPTools 7 and 8 (VCL)”



Who is online

Users browsing this forum: No registered users and 1 guest