• Re: Schdluded Task: How call (with OLE) "com.sun.star.ServiceManager"

    From Raimundo Machado de Morais Neto@21:1/5 to All on Wed Mar 30 07:42:18 2022
    Em sexta-feira, 2 de novembro de 2007 às 02:36:26 UTC-2, jorge....@gmail.com escreveu:
    Not work. Program only call Calc of openoffice if have session
    normal, but not in Scheduled Task.

    The problem is:
    oServiceManager := TOleAuto():New("com.sun.star.ServiceManager")
    Not work in Scheduled Task.

    Thanks
    On 26 oct, 23:34, "N:dlzc D:aol T:com \(dlzc\)" <dl...@cox.net> wrote:
    Dear jogabar:

    "jogabar" <jorge.gar...@gmail.com> wrote in message

    news:1193451285....@57g2000hsv.googlegroups.com...





    Provided by Klas Engwall, December 2006 on the old news server:
    <QUOTE>
    Go tohttp://api.openoffice.org/and look for the link to the
    Developer's Guide almost at the top of the page. It is a 25 MB
    pdf. There you can also find an SDK, a code snippet base and
    various other
    helpful things.
    <END QUOTE>

    Bom dia,

    se eu quisesse que a pagina ficasse em LANDSCAPE

    faria como??


    oPageStyle := oServiceManager:Bridge_Struct("com.sun.star.text.PagePrintSettings")
    oPageStyle:isLandscape := .T.

    Funciona assim???

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)