• Offizieller Beitrag

    Hi,

    That shortcut is not implemented but it is fairly easy to save/apply a set of properties.

    You would use the WPSS ("WP Style Sheet") for this, i.e.

    LastCopiedStyle := ActiveParagraph.AGetWPSS(false, true, true)

    ActiveParagraph.ASetWPSS(LastCopiedStyle )

    The WPSS strings are also supported by the TWPAttrInterface, i.e. SelectecedTextAttr!

    Julian

  • Hi

    I was unfortunately not succesfull with this.
    I don't use styles.

    I want to copy the format (like Fontname, Fontstyle)
    at the cursor position and paste it later, either
    to the current selected text or the active paragraph
    (if there is no selection).


    Thanks

    • Offizieller Beitrag

    I did not mean to use styles.

    This code will implement Shift+Ctrl+C and V to copy and paste character and paragraph attributes.

    I hope this helps,