siento molestaros con esta tan absurda y simple duda, pero no he encontrado material como para resolverla, por desgracia como todos bien sabeis no hay mucho mundo escrito sobre open office
lo que quiero realizar es tan simple como, al ejecutar la aplicación que automáticamente me abra una consulta y la maximice a full screen, tan sencillo como eso, pero no tengo el codigo necesario para ello, se agradecería mucho vuestra ayuda
un saludo
Macro base
-
- Mensajes: 261
- Registrado: Lun Dic 01, 2008 7:59 am
- Ubicación: Pereira, Colombia
Re: Macro base
Me interesé un poco por su caso y busqué en API: MODULE STAR, y en SEARCH "FULL SCREEN". Es un foro de OOo pero en inglés y encontré un artículo que espero le sirva de ayuda para su necesidad o para que continue buscando. Entre lineas escribí mi traducción.
Date: Thu, 21 Sep 2006 13:27:16 +0200
From: Bart Aimar <b_aimar@fastwebnet.it>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Subject: [api-dev] Zooming ti given range in Calc (with macro)
Niklas Nebel ha scritto:
> Bart Aimar wrote:
> Bart aimar escribió
>> I need to make full the screen (i.e. OO CAlc window) with a given range.
>> Necesito la Pantalla Completa (ej. OOo ventana de calc) con rango dado
>> In other word, I need to zooming (with macro) in manner that a given
>> de otra manera, necesito acercar (con macro) de forma tal que el rango dado
>> range fill the OO window.
>> llene la ventana de OOo
>> Nota debería ser: llene la pantalla
>
> Select the range in the view, and then set the property "ZoomType" to
> Seleeccione el rango en la vista, y entonces use la propiedad “ZoomTipe” a
> "OPTIMAL":
>
> oView.select(oRange)
> oView.ZoomType = com.sun.star.view.DocumentZoomType.OPTIMAL
Thank you Niklas for the excellent solution!
Te agradezco Nicolas por la excelente solución!
I have replaced 165 rows of tremolous flicker whith 6 rows of efficient
code!
He reemplazado 165 lineas de extremo trabajo con 6 lineas de eficiente código
)
thanks ++
Bart
Date: Thu, 21 Sep 2006 13:27:16 +0200
From: Bart Aimar <b_aimar@fastwebnet.it>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Subject: [api-dev] Zooming ti given range in Calc (with macro)
Niklas Nebel ha scritto:
> Bart Aimar wrote:
> Bart aimar escribió
>> I need to make full the screen (i.e. OO CAlc window) with a given range.
>> Necesito la Pantalla Completa (ej. OOo ventana de calc) con rango dado
>> In other word, I need to zooming (with macro) in manner that a given
>> de otra manera, necesito acercar (con macro) de forma tal que el rango dado
>> range fill the OO window.
>> llene la ventana de OOo
>> Nota debería ser: llene la pantalla
>
> Select the range in the view, and then set the property "ZoomType" to
> Seleeccione el rango en la vista, y entonces use la propiedad “ZoomTipe” a
> "OPTIMAL":
>
> oView.select(oRange)
> oView.ZoomType = com.sun.star.view.DocumentZoomType.OPTIMAL
Thank you Niklas for the excellent solution!
Te agradezco Nicolas por la excelente solución!
I have replaced 165 rows of tremolous flicker whith 6 rows of efficient
code!
He reemplazado 165 lineas de extremo trabajo con 6 lineas de eficiente código
)
thanks ++
Bart
Néstor
S,O. Ubuntu 15 AOO_4.0.1
S,O. Ubuntu 15 AOO_4.0.1