Menu

Add many styles to one xf_t variable

Help
2017-07-31
2017-07-31
  • Michał Pawłowski

    xf_t * setStyleFont(workbook * wb)
    {
        font_t * font = wb->font("Verdana");
        font->SetColor(COLOR_CODE_RED);
    
        return wb->xformat(font);
    }
    

    How can I add more styles, and return it, as one variable?

    Thanks.
    Mike.

     

    Last edit: Michał Pawłowski 2017-07-31
  • David Hoerl

    David Hoerl - 2017-07-31

    Suggest you look at the test files - I'm pretty sure this is covered there. Many examples sprinkled here and there. Other than that read the source - I just don't know offhand.

     

Log in to post a comment.