Beiträge von wpsupport
-
-
-
Please visit
Spellcheck VCL for WPTools (wpcubed.com)
to download the spell dictionaries.
Currently there are no new dictionaries available but the new compiler of WPSpell V2 can compile a word list in a couple of minutes (instead hours). If you know a source for free word lists, please let me know and I can do the compilation.
-
Hi,
WPDF3 and WPDF4 uses the same technology to capture the graphic data. So both defines are turned on.
On a server environment the use of WPRichText :TWPRichText is not recommended since TWPRichText contains references to UI elements. The correct components is TWPCustomRTFEdit. Do not include unit WPCTRRich.
To make the process threadsave it is also required to have one TWPToolEnvironment object per thread:
Code
Alles anzeigenpdf := TWPPDFExport.Create(nil); Enviroment := TWPToolsEnviroment.Create(nil); Enviroment.Assign(GlobalWPToolsCustomEnviroment); wp := TWPCustomRtfEdit.CreateDynamic; wp.Memo.SetEnvironment(Enviroment); try pdf.Source := wp; ... finally Enviroment.Free; pdf.Free; wp.Free; end;
The problem with the Image could be caused by GDI+.
You can deactivate the use of GDI+ by adding {$DEFINE NOGDIPLUS} to WPINC.INC. See the effect of this in unit WPObj_Image.pas.
-
In the delivery mail there are the strings "name" and "code".
Both value have to be passed to the global function WPDF_Start(name,code).
After that the engine is licensed and will not show the message. This valid for wPDF Standard and wPDF Plus or Server.
wPDF PLUS installs the DCU files for most Delphi editions.
Please add the compiler conditional WPDFPLUS to your project to make sure it pulls in the DCU file. If it does not filnd the files, please add the path (for the correct delphi edition = DX14 for Delphi 10.4) to the library path.
You find the library path when you go to the IDE, Tools/Options and there under Language/Delphi.
-
You see to use the wrong control. wPDFControl is for .NET languages mainly. There is an OCX included which can be used with legacy projects written in VB.
wPDF is a native VCL and there is also a demo.
-
You need to contact me by mail: support @ wptools.de
wPDF Server can be purchased as upgrade to wPDF Standard
And it works with WPTools 7, too.
-
For ISAPI we have the "Server" edition (and - license) . It includes the DCU files so you do not need to link to a DLL.
-
WPViewPDF 3 is really old and there are a lot of changes. I serviced that also for years.
You can test V4 - the demo is practically not restricted.
But here it seems so that you somehow unload the PDF while one is still printing.
Did you lock your load logic until the print command has been returned? This can be implemented easily with a booleen variable.
Checking the code in COMPDF_Print V4 sends messages to the calling window, this are
MSGPDF_PRINTSTART = 110; // Param = page count in the printing cue (not the total page count)
MSGPDF_PRINTPAGE = 111; // for each page, LParam = page number in document (see MSGPDF_PRINTPAGEPROGRESS)
MSGPDF_PRINTEND = 112; // done, LParam=0
MSGPDF_PRINTPAGEPROGRESS= 116; // Message to set prograsspar. param=position, max=param of MSGPDF_PRINTSTART
-
Hyperlinks in PDF are annotations, simple rectangles located on a page but not inside the rendered content.
So if you need to have a special text attribute for your text you need to assign it when you print it.
To create the active area, the hyperlink, you need to use this api - in .dotnet
public void Hyperlink(int x, int y, int w, int h, String BookMark)
or
public void Hyperlink(Rectangle Rect, String BookMark)
To create a weblink the bookmark must start with "http://"
To create a link to a certain file it must be start with "Launch://"
-
Please make sure the print spooler is activated in this case.
I actually cannot think why pages should be mixed up.
-
Just to avoid confusion, this is the about wPDFControl for .NET - not wPDF.
It can have several reasons:
a) a 64 bit problem
b) Out of resources
If possible please send finished metafiles to the wPDFControl Engine.
The wrapper also just creates a metafile:
Code
Alles anzeigenvoid NeedGraphic() { if(aMetafile==null) { aMetafile = new Metafile(Reference, PageRect, MetafileFrameUnit.Pixel, EmfType.EmfOnly, "Created by wPDF for .NET - www.PDFCONTROL.com"); aCanvas = Graphics.FromImage(aMetafile); aCanvas.Clear(Color.White); aCanvasUsed = true; // new //NO!!! aCanvasUsed = false; } }
and send it later to the engine in CloseCanvas using DrawMetafileEx.
Code
Alles anzeigenIntPtr MetaReference = new IntPtr(); MetaReference =aMetafile.GetHenhmetafile(); // WPPDF_MetaIsDOTNETEMF = 21; wPDFWrap.SetIProp(pdf_env,21,1); wPDFWrap.DrawMetafile(pdf_env,MetaReference, 0,0,PageRect.Width,PageRect.Height, xres, yres); wPDFWrap.SetIProp(pdf_env,21,0); wWindowsWrap.DeleteEnhMetaFile(MetaReference); aCanvasUsed = false; aMetafile.Dispose(); aMetafile = null;
Do you use native drawing code which uses the Graphics of wPDFControl?
That could cause a resource leak.
-
There is a flag which has influence to the spacing in the table
wpNoMinimumCellPadding in FormatOptions
ZitatBut if I set the linespacing e.g. multiple 1.5 then the result is the cell is 1.5x higher than the image.
I see, since the height of the image influences the line height this is somehow logical.
ZitatHow can I fit the cell height to the image in a paragraph with modified linespacing?
Do you need row Height?
You can do this in the editor when you drag the row line under the image and also press the CTRL key.
WPAT_BoxMinHeight = 107; // ALso used for -minimum- RowHeight !
WPAT_BoxMaxHeight = 109; // ALso used for -absolute- RowHeight !
-
1. V3 was mostly a rewrite.
2. Sorry, that feature is not in V4 either
-
That V3 is 2 years too old but this functionality has been not implemented.
You can provide a list of page numbers to the Print command.
-
wPDF internally uses GDI EMFs, not GDI+ EMFs.
So the text should be printed with ExtTextOut.
-
No, sorry. If hyperlinks do not help you I have no idea how to implement this.
-
Please check which version of V3 you use, it was out for a long time.
-
Wenn die voreingestellte Seitengrösse im PDF im Drucker treiber besagten Fehler triggert, dann kann die option STRETCH noch helfen.
STRETCH =3
soll auf das ein gelegte Papier skalieren.
-
Disable panning is actually the purpose of wpDisableTouch.
Did you notice the change in the behavior when moving objects?
WPTools temporarily disables panning when an object has been selected with the finger since the gestures have some kind of X and Y constraint which causes the not-so-nice image movement sawn before.