Beiträge von toki

    Hi Julian,

    a table row continues on nextpage and nextnext page.

    1) if I set WPAT_ParKeep=1 to this table row, the border on next page is not painted.

    2) Sometimes it is painted twice or painted over an other table row. This is unreadable.

    Please hepl!

    toki

    Hallo Julian,

    seit neuestem wird die Breite von Bildern in Tabellenzellen nicht richtig berechnet, wenn diese Zellen indentleft oder indentright haben.
    Sie stehen nach rechts über.

    WPTools V 6.07
    Bild = wmf

    Gruß

    Hi Julian,

    Use your Wordpad5-Demo
    Insert a table (2 rows, 2 columns)
    cursor into first cell
    place a tab at 1,5 and 7,5
    press ctrl+tab -->> ok, th cursor moves to the first tab
    press ctrl+tab -->> the cursor does not move to the next tab

    and now something interesting:
    press 4 times space
    press ctrl+tab -->> the cursor moves to the next tab

    the same happens if you load a rtf-File with tabs in table-cells

    delphi 2010, wptools 6.06

    toki

    Hallo Julian,

    folgendes Problem:

    Code
    Text#9      Text nach Tab (Softbreak #10)                  2. Zeile (Softbreak #10)                  3. Zeile

    aber so sollte es sein:

    Code
    Text#9      Text nach Tab (Softbreak #10)               2. Zeile (Softbreak #10)               3. Zeile


    2. und 3. Zeile sind um PaddingLeft nach rechts verschoben

    Ich habe an folgender Stelle eine Korrektur vorgenommen:
    WPRTEDefs
    Zeile 45393:

    Code
    else LastLineData.txoff := (
                                xoff - x + 
                                    {paddl +} indentleft);

    also "paddl" auskommentiert. Ist die Korrektur an dieser stelle korrekt?

    Gruß toki

    Hi Julian,

    Code
    procedure TWPOImage.PaintEx(toCanvas: TCanvas; BoundCanvas: TRect;  ParentTxtObj: TWPTextObj; PaintMode: TWPTextObjectPaintModes;  xres, yres: Integer);  begin    FPaintOptions := [wpPaintObj_AutoScreenOptimation];    if not Transparent then include(FPaintOptions,wpPaintObj_AutoAntialias);    inherited PaintEx(toCanvas,BoundCanvas,ParentTxtObj,PaintMode,xres, yres);  end;
    Code
    FPaintOptions := [wpPaintObj_AutoScreenOptimation];

    does not work with WMF-Images.

    Greetings Toki

    Hi Julian,

    in the topic from Jul 12, 2007 "Properties of paragraph within table" you wrote:

    Zitat

    Hi,


    In WPTools 5 this is impossible since the objects are identical. WPTools 6 will use a special mode which use the cell paragraph as the outer box with all paragraphs beeing the children.

    WPTools 5 is RTF centred and so stores the text directly in the cells, this makes programming usually simpler and reduces the memory consumption.

    Julian

    I have analysid the table-structure of Version 5 and 6. Nothing has changed. The first paragraph in a cell is the cell-paragraph !with text! and the others are subparagraphs of the first. This is very strange and very complicate to understand and for programming too. There isn't no "outer box" as cell-paragraph. See in your code how complicate it is to handle paragraphs in a cell and the cell-paragraph him-self.

    A very important reason for me to get Version 6 was even this new structure: table/row/cell/all paragraphs.

    Have I something misunderstood? Are there switchis, wich I don't know?

    Greetings ToKi

    Im Inhaltsverzeichnis kommt es mitunter vor, dass ein Eintrag über mehrere Zeilen lang ist.
    Das würde dann so aussehen:

    Das ist ein kurzer Eintrag.............................................2

    Das ist ein Eintrag über mehre Zeilen weil er sehr lang
    ist und dann dabei quasi die Seitenzahl verschluckt das
    sieht nicht so gut aus..................................................3


    Schöner wäre:

    Das ist ein kurzer Eintrag.............................................2

    Das ist ein Eintrag über mehre Zeilen weil
    er sehr lang ist und dann dabei quasi die
    Seitenzahl verschluckt das sieht nicht so
    gut aus .......................................................................3

    In Word kann man das erreichen, in dem man indentright auf z.B. 3cm setzt und einen Rechts-Tabstop rechts von indentright plaziert.

    Gibt es eine Möglichkeit dies auch in WPTools umzusetzen - ohne Tabellen?

    Hallo Julian,

    wie ich in diesem Forum gelernt habe, muss "wpcoPasteHTMLWhenAvailable" eingeschaltet sein, um die URL eines Bildes zu erhalten.

    Dann jedoch sind die Texte mit Umlauten nicht mehr zu gebrauchen, die jedoch mit ausgeschaltetem "wpcoPasteHTMLWhenAvailable" ganz normal aussehen.

    Was tun?
    Welches ist der richtige Weg, um brauchbare Resultate zu erhalten wenigstens mit dem IE?

    Gruß
    toki

    Eine Tabelle mit Kopfzeile enthält eine oder mehrere Tabellen.

    Leider wird die Kopfzeile nur auf der ersten Seite angezeigt.
    WPTools5 Version 5.36

    Hier ein kleines reproduzierbares Beispiel:


    Was mache ich falsch bzw. was kann ich tun.

    Here I added some code to get the right things.

    There are a lot of functions making the same or should make the same, but do not do it.

    Irgendwie sehe ich keinen roten Faden. Viele Sachen kann man so oder so machen. Am Ende sollte dann das gleiche rauskommen. Tut es oft, manchmal aber eben nicht. Dann biste am Suchen und Gucken.
    Bei so vielen Funktionen sollte ein "empfohlener Weg" beschrieben werden. Den kann ich nicht finden.

    Viele Grüße