Beiträge von wpsupport
-
-
-
Performant ist das allerdings nicht besonders. Ich denke wirklich es macht mehr Sinn solche komplizierten Sachen hier entwickeln zu lassen.
-
Da gibt es ein Problem wenn nach der Tabelle nichts steht. Ansonsten ok.
-
*** WPTools 8.11 - 28.2.2019 ***
+ now bands and groups can be hidden with par.Hidden := not par.Hidden
- fixes problem that when loading tables from RTF somtimes the background was black
+ wpHideReporterBands in FormatOptionsEx2 to reduce bands in wpreporter to a one point line
* scrolling now moves the scrollbars also when editor does not have the focus.
*** WPTools 8.10.1' - 10.1.2019 ***
- fix small issue in Delphi 10.3 package
-
Nein, da die Editoren entsprechen eingerichtet werden müssen. Da spielen mehrere Komponenten zusammen. Ist eine spezielle Anforderung, die nicht in das Forum passt.
-
Die Verwendung in der Art ist so nicht vorgesehen! Man kann nicht ein Tabellenobjekt einfach so aus einem String laden. Man könnte vielleicht Inhalte von Zellen oder eben einen Text welcher eine Tabelle enthält, aber Table.LoadFromString geht nicht und vermutlich sind danach die Datenstrukturen defekt.
Wie vermutlich bekannt, kann ein Text mit LoadFromString einfach eingefügt werden. CPPosition := MaxIt geht an das Ende und dann wieder wie Schritt 1.
Sie können sich gerne per e-mail an den Support wenden. Wir machen auch Auftragsentwicklung für spezielle Problemlösungen:
Eine Lösung für o.g. Problem sehe ich in der Ausgliederung eines Tabellenabsatzes aus Text 1 und Wieder eingliederung in den Ziel Text B.
-
The latest edition improves the baseline handling. But in general type3 can be slightly different to other font modes.
I recommend to place characters using the baseline positioning mode, not the top offset mode which is default by windows.
-
Instead of this
WPRichText.SelectionAsString := wprichtext2.AsString;
I would use a memory stream. You have conversions to strings here which can have unwanted effects and loss in performance.
When you do
TextObject.LoadObjFromStream('jpg',Graphic); //
you can also modify the ObjModes to make the image character dependent or you can change the wrap mode.
Of course the event will be only called for linked images which do not embed data. Usually they are used by RTF or HTML code.
-
No, this is not possible.
I think it could be possible to have a special "header row" which is printed using this layout. Maybe WPTools 9.
-
You provided not enough input to answer the question. So you didn't say in which format the text was loaded. Further more it is important to check the properties used by the image.
-
Felder kann man schützen in property ProtectedProp
ansonsten muss kann man mit CPMoveBack den Cursor versetzen um ihn dann natürlich wieder mit CPMoveNext zurückzusetzen.
CPMoveBack gibt false zurück, wenn das versetzen nicht möglich war, dann natürlich keinen weiteren code ausführen.
-
You can do that - I assume the problem is caused because of the existence of the event - it changes the internal behaviour.
-
I understand, however there is another property or event involved. InsertPoint.Hidden always removed the start and end point.
Do you call ReformatAll?
-
1) No bug here - the Source property is not used by the fields. Not all properties of the text objects are preserved since the use for RTF varies.
2) How do you hide insert pointes? InsertPointAttr.Hidden?
The OnTextObjectGetText event overrides the behavior - there you can also adjust the width.
-
Bitte wenden Sie sich an den support per e-mail. Ein hotfix ist möglich.
-
The WPSpell is source code based. It should work with new delphi editions.
-
A new wPDF4DemoSetup.exe has been posted today.
A new demo of WPSpell is not available, yet.
-
Hi,
I would use fields for #3, wpobjMergeFields. You can even process that text inside the OnMailMergeGetText event. (But any paired object can be used for mail merge, thats a specialty of wptools which is rarely recognized)
if you need the fields somewhere else, you can use wpobjTextProtection. But note that they are not saved or loaded in RTF format.
-
Das hatten wir schon mal, das WPRichtext darf nicht komplett leer sein, sonst funktioniert TextObjects.Insert.
WPRichtext.CheckHasBody
stellt sicher, dass das RichText nicht komplett leer ist und der cursor in den Body gesetzt ist. Wenn das RichText komplett leer ist, dann ist noch nicht mal ein leerer Absatz drin.