Das ändert leider nichts, die Dinger befinden sich immer noch im dem Base64-Part von <txtobj><!-- XXXXX --></txtobj>
Beiträge von Xatosch
-
-
Ich nutze kein TDBWPRichText, sondern ohne DB...
Nach dem SaveToFile, sind die Styles wie gesagt im WPT-File noch drin und nach dem Öffnen wieder da...
-
Hallo,
habe gerade festgestellt das in jeder TextBox die im WPT-Format gespeichert wird, sich die kompletten RTF-Variablen erneut befinden :-\
Das bläht das Dokument unnötig auf und diese werden doch im Dokument ganz oben gespeichert? Ich in meinem Dokument über 60 Variablen die ich in der TextBox unter userprops wiederfinden...
Wie kann man das unterdrücken?
Mfg, Kai Brendel
-
-
Hallo,
wofür ist dann wpObjPaintContents im ContinueMode gut? Wenn nicht um den Content zu unterdrücken?
-
Hallo,
ich füge mit obj := rtf.TextObjects.InsertTextBox eine TextBox hinzu.
Mit obj.Extra.Values['NoPrint'] = 'True' merke ich mir das diese nicht gedruckt werden soll...In rtf.OnTextObjectPaint kann ich mittels ContinueMode = [] auch alles soweit unterdrücken, nur wpObjPaintContents wird trotzdem ausgeführt, das heisst Rahmen und so bleiben weg, der Text in der Box wird aber trotzdem dargestellt...
Wie kann ich die Ausgabe komplett unterdrücken?
Mfg, Kai Brendel
-
Moin,
ich erzeuge mittels ParStyles.AddStyle('MYSTYLE') einen neuen Style, geht auch gut und kann verwendet werden...
Aber wie kann ich diesen Style wieder löschen? ParStyles.Delete() bringt immer "ungültiges element" und wenn ich per ParStyles.Clear ALLE lösche, sind nach dem Speichern und wieder Öffnen alles Styles wieder da!?!?
Im WPT-File stehen die auch trotzdem drin!
Mfg, Kai Brendel
-
Zitat von wpsupport
They should not be used in footers, in headers they are ok and can be moved down on the page.
Now I'm a little bit confused :roll: In an other thread you wrote textboxes in footers are ok and fully functional :?: :?: :?: :?:
ZitatIn my test I can have text boxes in footers, too.
Welche Aussage ist jetzt richtig?
-
Hello,
please take a look at this image:
[Blockierte Grafik: http://pixandmore.com/framepos.png]
http://pixandmore.com/framepos.pngThe upper object has a border wpFrameFine, the lower object none, so you are painting a blue default frame while the object is selected, but this frame has not the correct position!
Mfg, Kai Brendel
-
Hello,
default components have the event OnContextPopup, which is helpful to popup a DevEx menu for example, instead the standard popup menu.
Can you implement a OnObjectContextPopup but with an additional parameter: the clicked object...
You are doing something like this in TWPCustomRtfEdit.DoContextPopup for images, but i have no chance to act on TextBoxes! You can give the CurrentTextObjectUnderMouse to the event...
Regards, Kai Brendel
-
Hello,
for headers:
your update works, in first tests, but not for footers....[Blockierte Grafik: http://pixandmore.com/footer.png]
hmmm, image is in preview mode visible, not in the post???In both ways, the WPT-File is saved and loaded corretly, but the textbox is for footers not accessible!
PS: The same for images...
Mfg, Kai Brendel
-
Hello,
when I insert a text in the header, the content is not displayed:Codertf.ActiveText := rtf.HeaderFooter.Get(wpIsHeader, wpraOnFirstPage); obj := rtf.TextObjects.InsertTextBox(1000, 1000, block); obj.Mode := [wpobjDrawAsText]; block.RtfText.AsString := 'Hello World';
If I save the document, the <txtobj> is stored under
<element kind="Header" Range="OnFirstPage">If I use
rtf.ActiveText := rtf.BodyText;
its workingMfg, Kai Brendel