Hi,
can You send me a sample?
Hi,
can You send me a sample?
Hi,
unless "eaten" by any menu shortcuts, the
Ctrl+A
Ctrl+C
Ctrl+V
Ctrl+X
combinations are implemented hardcoded in the KeyDown/KeyPress events.
Julian
Hi,
in standard setup I see no flickering at all. The "application server mode", available in WPTools 6 can introduce flickering though.
Do You see such flickering in one of the demos, too?
Julian
The feature is called "Keep" (Don't break a paragraph) and "KeepN" (Keep-Next, dont breka up this paragraph and the next)
The flag can be added to a TParagraph (WPAT_ParKeep, WPAT_ParKeepN) but not to tables.
WPRichText1.FormatOptions :=
WPRichText1.FormatOptions - [wpfIgnoreKeepN];
WPRichText1.ActivePar.ASet(WPAT_ParKeepN, 1);
It can be enabled/disabled in the property FormatOptions
Hi,
the new demo is online now. I hope it works with it.
Kind Regards,
Julian Ziersch
Hi,
You can use the function PrintPageOnCanvas to print on the canvas of a TBitmap object. But it would be better to create a PDF.
Julian
Hi,
this is a usual problem. This is why the graphics object uses the DIB function StretchDIBits and not StretchDraw. (See unit WPObj_Image)
The WPPrintTiledBackground is optimized for screen and does not use the DIB function. Also see https://www.wpcubed.com/forum/viewtopic.php?p=5917
StretchDraw should work ok if the image is 24 bit. wPDF BTW has no problem with StrecthDraw - it does the palette conversion some printers have so much trouble with.
Julian
Hi,
this looks like a problem with the reformat routine which tried to combine the line object with the dot characters. You can avoid it by closing your text with a space.
Julian
Hi,
I can reproduce this problem - it will be fixed.
Julian
I an different post I noted this new code
if (soSaveOldPNNumbering in FStoreOptions)
{$IFDEF SIMPLE_AS_OLDPN}
or ((NumberStyle.Group = 0) //V5.20.7a
and (not (ParStyle is TParagraph) //V5.20.8b - Word does not allow those styles in cells!
or (TParagraph(ParStyle).Cell=nil))) then
{$ENDIF}
then
so, yes, you can $define SIMPLE_AS_OLDPN in WPINC.INC or, in your case not define it.
Hi,
Type 1 fonts are replaced by TTF fonts - this causes wrong width calculations.
Julian
Hi,
no, this is not possible. It is also not planned.
Julian
Thanks for the mail - I sent the link - please check your SPAM filter if you do not get it.
Hallo,
>>Letzte Woche haben wir einige weiteren Tests mit unserer Software gemacht, da wir nun endgültig native PDF Ausgabe einbauen wollen.
In unserer Graphik-Engine arbeiten wir ausschließlich mit GDI+. Wir arbeiten viel mit rotierten Bilder und RichText. <<Das>>*ARGB Bilder werden nicht unterstützt, sprich keine Transparenz. Will ich ein GIF oder PDF mittels GDI+ rotiert ausgeben, so wird der transparente Bereich weiß ausgegeben. <<Das>>*Rotierte Bilder sind mit einem weißen Rand umgeben. Überlagen sich Bilder sieht man diesen Rand.
*Bilder werden gedithert.
*Will man GDI+ eine MetaFile rotiert ausgaben, so funktioniert das nur bedingt. Text im MetaFile wird gerendert, rotiert und dann ausgegeben.
Also keine Text-Outlines im Endergebnis. Die Funktionen TranslateTransform. RotateTransform, DrawIamge(Metafile) (alles GDI+) funktionieren in Verbindung mit wPDF nicht einwandfrei. <<Sie>>*Gibt es Lösungen für diese Probleme
Transparenz bisher nein, rotation ja
>>*Wird wPDF aktiv weiterentwickelt und kann man in der näheren Zukunft mit einer neuen Version rechnen, die evtl. einige der obigen Probleme löst. <<wPDF>>*Kann man den Quellcode lizensieren, wenn ja ist dieser in Delphi. Gestattet eine Lizensierung des Quellcodes eigenes Bugfixes und Workarounds? <<
Ja, Quellcode kann dazu bestellt werden für EURO 1200 (+ MwSt)
Betse Grüsse,
Julian Ziersch
Hallo,
bin mir nich ganz sicher. Wird der feldname von der datenbank die von DP1 erreichbar ist denn verwendet. Dann ist es richtig dass done auf true gestellt wird.
Grüsse,
Julian Ziersch
Hallo,
ich werde das problem nachbauen. Evtl ein fehler im action code.
Hallo,
Ich denke es liegt vielmerhr am textalign. SetTextAlign(Canvas.Handl, 0) sollte dies problem beheben.
Der mapmode wird die grösse des textes beeinflussen. Sie müssen die höhe (Canvas.Font.Height) entsprechend der zeichen auflösung berechnen. Diese ist in WPRichText.Memo.CurrentXPixelsPerInch (normalerweise ist dies 600)
Viele Grüsse,
Julian Ziersch
Hi,
The TWPRTFDataCollection (WPRichText.HeaderFooter object) defines this procedure:
procedure CallForSelectedText(
Sender: TObject; Options: TWPCallForSelectedTextOptions;
ParCallback: TWPParCallback; CharAttCallback: TWPCharAttrCallback;
CharCallBack: TWPCharCallback; TextObjCallback: TWPTextObjectCallback;
spar: TParagraph = nil; epar: TParagraph = nil;
spos: Integer = 0; epos: Integer = 0);
You can use the TextObjCallback (set all others to nil) to get all selected objects and check if the ObjType = wpobjHyperlink and read the URL from TxtObj.Source
see here: https://www.wpcubed.com/manuals/wptool…electedText.htm
Julian
Hi,
Yes, it is in V5.20.6
Julian
Hi,
the easiest would be to use the numbering standard wptools action and attach a shortcut key to it.
See manual: Use Actions
Julian