Beiträge von chuck

    i have a problem with bands i generate programmatically:

    wpsupermerge.SetSourceDest(wprichtext.RTFData,nil);
    wprichtext.Clear;
    wprichtext.AsString := 'chuck';
    WPRichText.RTFData.Cursor.MoveTo(WPRichText.FirstPar);
    g := wpsupermerge.AddGroup(wpatPosition);
    g.Name := 'MAIN';
    wprichtext.RTFData.Cursor.moveto(g.childpar);
    bh := wpsupermerge.AddBand(wpmHeader);
    bd := wpsupermerge.AddBand(wpmData);
    bf := wpsupermerge.AddBand(wpmFooter);

    on screen everything looks fine, but when i try to save it, the stream(file) das not contain information about the bands (\wpmergepar.....)

    when inserting bands manually, everything works

    any idea what to do about it

    chuck

    I want to use the the new office 2007 Style office-p0ager and related controls from TMS with WP.

    What is the most elegant way to couple the controls (font-name,....) to the edit?
    Setting values from the controls is quitze straightforward, same with the actions i think, but the opposite way is is not that clear.
    WHich event might be used to set set fontname in the control according to the cursor pos

    Chuck

    Thanks for your answer,

    but your solution will print on the server i suppose.
    What i need is to prepare a pdf, which is thanks to your nice
    wptools,wpfd very convienient, but then i have to print them
    know in our new app from an ASP.NET page to the client printer.

    Chuck

    As i understand right, the link should be a simple filepath like

    "c:\temp\xxx.css" not the official "file://c:\temp\xxx.css"

    I tried that, it seems to do something, but nevertheless the output looks quite different from ie.

    Would you like the files to check?

    thomas (chuck) holdt, MORE