Refactory

This commit is contained in:
Mauricio Baeza 2022-08-11 22:33:41 -05:00
parent 19c9eba135
commit cf05ff1cf1
64 changed files with 14846 additions and 789 deletions

1
.gitignore vendored
View File

@ -3,4 +3,3 @@ __pycache__
build/
*.bk
*.lock

View File

@ -1,4 +1,4 @@
baseURL = 'https://doc.cuates.net'
baseURL = 'https://doc.cuates.net/easymacro'
languageCode = 'en-us'
title = "EasyMacro's documentation"
@ -31,7 +31,7 @@ defaultContentLanguageInSubdir= true
title = "Documentación para EasyMacro"
weight = 2
languageName = "Español"
landingPageURL = "/es"
landingPageURL = "/easymacro/es"
landingPageName = "<i class='fas fa-home'></i> Inicio"
[Languages.pt]

View File

@ -1,10 +1,10 @@
# Bienvenido a la documentación de easymacro!
## Documentación de easymacro!
#### Software Libre, no software gratis.
**easymacro** es una librería para desarrollar más fácilmente macros en LibreOffice con Python. Es una capa de abstracción entre la extensa y compleja API UNO de LibreOffice y tu código.
Probablemente, será más feliz si la usas :)
Probablemente, será más feliz si la usa :)
Puede utilizar **easymacro** con cualquier extensión o directamente en sus macros.

View File

@ -11,22 +11,27 @@ Clone el repositorio en su directorio de proyectos favorito.
git clone https://git.cuates.net/elmau/easymacro
```
y copie la librería dentro de la carpeta **pythonpath** en la carpeta de macros Python dentro de su perfil de usuario. Reemplace **USUARIO** por su usuario real.
Muévase al directorio
```
/home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/easymacro.py
cd easymacro/source
```
o use un vínculo duro. Reemplace **RUTA_ABSOLUTA** por la ruta absoluta donde se localice **easymacro.py** en su sistema de archivos y **USUARIO** por su nombre de usuario.
copie la carpeta `easymacro` a la carpeta **pythonpath** en la carpeta de macros Python dentro de su perfil de usuario. Reemplace **USUARIO** por su usuario real.
```
ln `RUTA_ABSOLUTA`/easymacro/source/easymacro.py /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/
/home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath
```
o use un vínculo simbólico. Reemplace **RUTA_ABSOLUTA** por la ruta absoluta donde se localice **easymacro** en su sistema de archivos y **USUARIO** por su nombre de usuario.
```
ln -s `RUTA_ABSOLUTA`/easymacro/source/easymacro /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/
```
## Probar
En su archivo de macros favorito, por ejemplo **mismacros.py**. Usa tu editor de texto plano o IDE favorito.
En su archivo de macros favorito, por ejemplo **mismacros.py**. Use su editor de texto plano o IDE favorito.
```
vim /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/mismacros.py
@ -46,7 +51,7 @@ Ejecute la macro **main** desde LibreOffice, si ve un cuadro de mensaje con info
![Test instalation](install_01.png)
Esta listo para desarrollar macros con **easymacro.py**.
Esta todo listo para empezar a desarrollar macros con **easymacro**.
!Feliz programación!

View File

@ -0,0 +1,184 @@
+++
title = "Herramientas para depurar"
weight = 2
+++
### INFO_DEBUG
Mostrar información de depuración en un cuadro de mensaje.
Si tiene cualquier problema en su código durante el desarrollo de sus macros, puede [abrir un ticket][1] de soporte en el sistema de ticket de este proyecto. Siempre copie la información de depuración mostrada en este mensaje.
```python
import easymacro as app
def info():
app.msgbox(app.INFO_DEBUG)
return
```
![Info debug](tools_01.png)
### debug
Mostrar información en la terminal.
```python
import easymacro as app
def test_debug():
msg = 'Verificar esta información...'
app.debug(msg)
return
```
```
11/08/2022 18:15:45 - DEBUG - Verificar esta información...
```
### info
Mostrar mensajes informativos en la terminal.
```python
import easymacro as app
def test_info():
msg = 'Iniciando proceso...'
app.info(msg)
return
```
```
11/08/2022 18:23:53 - INFO - Iniciando proceso...
```
### error
Mostrar mensajes de error en la terminal.
```python
import easymacro as app
def test_error():
msg = 'Error 505'
app.error(msg)
return
```
```
11/08/2022 18:27:34 - ERROR - Error 505
```
### save_log
Guardar registro en un archivo, automáticamente se agrega la fecha y hora.
```python
import easymacro as app
def test_save_log():
app.save_log('/home/mau/log.txt', 'PyUNO')
app.save_log('/home/mau/log.txt', 'Maldito Mundo')
return
```
```
cat ~/log.txt
2022-08-11 18:30:11 - 'PyUNO'
2022-08-11 18:30:11 - 'Maldito Mundo'
```
### msgbox
Mostrar cualquier información en un cuadro de mensaje.
```python
def message():
msg = 'Por favor, consume menos.'
app.msgbox(msg)
msg = ('uno', 2, 'tres')
app.msgbox(msg)
msg = {'nombre': 'Teresa'}
app.msgbox(msg)
app.msgbox(app)
return
```
### catch_exception
Capturar cualquier error que se produzca al ejecutar una macro.
```python
@app.catch_exception
def test_capturar_error():
r = 1 / 0
return
```
```
11/08/2022 18:44:36 - ERROR - test_capturar_error
Traceback (most recent call last):
File "/home/mau/.config/libreoffice/4/user/Scripts/python/pythonpath/easymacro/easytools.py", line 115, in func
return f(*args, **kwargs)
File "/home/mau/.config/libreoffice/4/user/Scripts/python/test.py", line 18, in test_capturar_error
r = 1 / 0
ZeroDivisionError: division by zero
```
{{% notice warning %}}
Usa este método solo en tiempo de desarrollo. No la uses en producción.
{{% /notice %}}
### mri
[MRI][2] es la mejor extensión para inspeccionar cualquier objeto UNO de LibreOffice. Necesita instalarla primero para poder llamarla.
```python
def inspeccionar_objeto():
obj = app.active
app.mri(obj)
return
```
### inspect
Inspeccionar un objeto.
```python
def inspeccionar_objeto():
doc = app.active
data = app.inspect(doc)
for p in data.properties:
app.debug(p)
for m in data.methods:
app.debug(m)
return
```
Vaciar en una hoja de calculo.
```python
def inspeccionar_objeto():
doc = app.active
app.inspect(doc, True)
return
```
[1]: https://git.cuates.net/elmau/easymacro/issues
[2]: https://github.com/hanya/MRI

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -4,20 +4,20 @@
<head>
<meta charset="utf-8"> <meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>404 Page not found</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<style>
:root #header + #content > #left > #rlblock_left {
@ -48,7 +48,7 @@
</p>
<p>Woops. Looks like this page doesn&#39;t exist ¯\_(ツ)_/¯.</p>
<p></p>
<p><a href='/'>Go to homepage</a></p>
<p><a href='/easymacro'>Go to homepage</a></p>
<p><img src='/images/gopher-404.jpg' style="width:50%" alt="Page not found!"></p>
</div>
</div>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Categories :: EasyMacro&#39;s documentation</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/categories/">
<body class="" data-url="/easymacro/categories/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net";
var baseurl = "https:\/\/doc.cuates.net\/easymacro";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/installation/" title="Installation" class="dd-item
<li data-nav-id="/easymacro/installation/" title="Installation" class="dd-item
">
<a href="/installation/">
<a href="/easymacro/installation/">
Installation
</a>
@ -164,12 +164,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/tools_debug/" title="Tools for debug" class="dd-item
<li data-nav-id="/easymacro/tools_debug/" title="Tools for debug" class="dd-item
">
<a href="/tools_debug/">
<a href="/easymacro/tools_debug/">
Tools for debug
</a>
@ -215,7 +215,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/categories/" selected>English</option>
<option id="en" value="https://doc.cuates.net/easymacro/categories/" selected>English</option>
@ -233,7 +233,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/categories/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/categories/">Español</option>
@ -251,7 +251,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/categories/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/categories/">Português</option>
@ -269,7 +269,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/categories/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/categories/">Français</option>
@ -329,7 +329,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/'></a> > Categories
<a href='/easymacro/'></a> > Categories
@ -448,7 +448,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/installation/" title="Installation" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/installation/" title="Installation" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -458,19 +458,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on EasyMacro&#39;s documentation</title>
<link>https://doc.cuates.net/categories/</link>
<link>https://doc.cuates.net/easymacro/categories/</link>
<description>Recent content in Categories on EasyMacro&#39;s documentation</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/categories/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://doc.cuates.net</title>
<link rel="canonical" href="https://doc.cuates.net">
<title>https://doc.cuates.net/easymacro</title>
<link rel="canonical" href="https://doc.cuates.net/easymacro">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://doc.cuates.net">
<meta http-equiv="refresh" content="0; url=https://doc.cuates.net/easymacro">
</head>
</html>

View File

@ -2,90 +2,90 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://doc.cuates.net/installation/</loc>
<loc>https://doc.cuates.net/easymacro/installation/</loc>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/installation/"
href="https://doc.cuates.net/easymacro/es/installation/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/installation/"
href="https://doc.cuates.net/easymacro/pt/installation/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/installation/"
href="https://doc.cuates.net/easymacro/installation/"
/>
</url><url>
<loc>https://doc.cuates.net/tools_debug/</loc>
<loc>https://doc.cuates.net/easymacro/tools_debug/</loc>
</url><url>
<loc>https://doc.cuates.net/</loc>
<loc>https://doc.cuates.net/easymacro/</loc>
<priority>0</priority>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/"
href="https://doc.cuates.net/easymacro/es/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/"
href="https://doc.cuates.net/easymacro/pt/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/"
href="https://doc.cuates.net/easymacro/fr/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/"
href="https://doc.cuates.net/easymacro/"
/>
</url><url>
<loc>https://doc.cuates.net/categories/</loc>
<loc>https://doc.cuates.net/easymacro/categories/</loc>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/categories/"
href="https://doc.cuates.net/easymacro/es/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/categories/"
href="https://doc.cuates.net/easymacro/pt/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/categories/"
href="https://doc.cuates.net/easymacro/fr/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/categories/"
href="https://doc.cuates.net/easymacro/categories/"
/>
</url><url>
<loc>https://doc.cuates.net/tags/</loc>
<loc>https://doc.cuates.net/easymacro/tags/</loc>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/tags/"
href="https://doc.cuates.net/easymacro/es/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/tags/"
href="https://doc.cuates.net/easymacro/pt/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/tags/"
href="https://doc.cuates.net/easymacro/fr/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/tags/"
href="https://doc.cuates.net/easymacro/tags/"
/>
</url>
</urlset>

View File

@ -4,20 +4,20 @@
<head>
<meta charset="utf-8"> <meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>404 Page not found</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<style>
:root #header + #content > #left > #rlblock_left {
@ -48,7 +48,7 @@
</p>
<p>Ups. Parece que la página no existe ¯\_(ツ)_/¯.</p>
<p></p>
<p><a href='/es'>Ir al inicio</a></p>
<p><a href='/easymacro/es'>Ir al inicio</a></p>
<p><img src='/images/gopher-404.jpg' style="width:50%" alt="Page not found!"></p>
</div>
</div>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Categories :: Documentación para EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/es/categories/">
<body class="" data-url="/easymacro/es/categories/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/es";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/es";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/es/installation/" title="Instalación" class="dd-item
<li data-nav-id="/easymacro/es/installation/" title="Instalación" class="dd-item
">
<a href="/es/installation/">
<a href="/easymacro/es/installation/">
Instalación
</a>
@ -191,7 +191,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/categories/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/categories/">English</option>
@ -209,7 +209,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/categories/" selected>Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/categories/" selected>Español</option>
@ -227,7 +227,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/categories/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/categories/">Português</option>
@ -245,7 +245,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/categories/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/categories/">Français</option>
@ -305,7 +305,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/es/'></a> > Categories
<a href='/easymacro/es/'></a> > Categories
@ -408,7 +408,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/es/installation/" title="Instalación" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/es/installation/" title="Instalación" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -418,19 +418,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Documentación para EasyMacro</title>
<link>https://doc.cuates.net/es/categories/</link>
<link>https://doc.cuates.net/easymacro/es/categories/</link>
<description>Recent content in Categories on Documentación para EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/es/categories/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/es/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title> :: Documentación para EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/es/">
<body class="" data-url="/easymacro/es/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/es";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/es";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/es/installation/" title="Instalación" class="dd-item
<li data-nav-id="/easymacro/es/installation/" title="Instalación" class="dd-item
">
<a href="/es/installation/">
<a href="/easymacro/es/installation/">
Instalación
</a>
@ -191,7 +191,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/">English</option>
@ -209,7 +209,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/" selected>Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/" selected>Español</option>
@ -227,7 +227,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/">Português</option>
@ -245,7 +245,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/">Français</option>
@ -296,10 +296,10 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
</span>
<h1 id="bienvenido-a-la-documentación-de-easymacro">Bienvenido a la documentación de easymacro!</h1>
<h2 id="documentación-de-easymacro">Documentación de easymacro!</h2>
<h4 id="software-libre-no-software-gratis">Software Libre, no software gratis.</h4>
<p><strong>easymacro</strong> es una biblioteca para desarrollar fácilmente macros en LibreOffice con Python. Es una capa de abstracción entre la extensa y compleja API UNO de LibreOffice y tu código.</p>
<p>Probablemente, serás más feliz si lo usas :)</p>
<p><strong>easymacro</strong> es una librería para desarrollar más fácilmente macros en LibreOffice con Python. Es una capa de abstracción entre la extensa y compleja API UNO de LibreOffice y tu código.</p>
<p>Probablemente, será más feliz si la usa :)</p>
<p>Puede utilizar <strong>easymacro</strong> con cualquier extensión o directamente en sus macros.</p>
<div class="notices note" ><p>Este proyecto esta en continuo desarrollo.</p>
@ -362,7 +362,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/es/installation/" title="Instalación" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/es/installation/" title="Instalación" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -372,19 +372,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -1,27 +1,27 @@
[
{
"uri": "https://doc.cuates.net/es/installation/",
"uri": "https://doc.cuates.net/easymacro/es/installation/",
"title": "Instalación",
"tags": [],
"description": "",
"content": "Clonar repositorio Clone el repositorio en su directorio de proyectos favorito.\ngit clone https://git.cuates.net/elmau/easymacro y copie la librería dentro de la carpeta pythonpath en la carpeta de macros Python dentro de su perfil de usuario. Reemplace USUARIO por su usuario real.\n/home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/easymacro.py o use un vínculo duro. Reemplace RUTA_ABSOLUTA por la ruta absoluta donde se localice easymacro.py en su sistema de archivos y USUARIO por su nombre de usuario.\nln `RUTA_ABSOLUTA`/easymacro/source/easymacro.py /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/ Probar En su archivo de macros favorito, por ejemplo mismacros.py. Usa tu editor de texto plano o IDE favorito.\nvim /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/mismacros.py Copie el siguiente código:\nimport easymacro as app def main(): app.msgbox(app.INFO_DEBUG) return Ejecute la macro main desde LibreOffice, si ve un cuadro de mensaje con información similar a la siguiente, !felicidades¡\nEsta listo para desarrollar macros con easymacro.py.\n!Feliz programación!\n"
"content": "Clonar repositorio Clone el repositorio en su directorio de proyectos favorito.\ngit clone https://git.cuates.net/elmau/easymacro Muévase al directorio\ncd easymacro/source copie la carpeta easymacro a la carpeta pythonpath en la carpeta de macros Python dentro de su perfil de usuario. Reemplace USUARIO por su usuario real.\n/home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath o use un vínculo simbólico. Reemplace RUTA_ABSOLUTA por la ruta absoluta donde se localice easymacro en su sistema de archivos y USUARIO por su nombre de usuario.\nln -s `RUTA_ABSOLUTA`/easymacro/source/easymacro /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/ Probar En su archivo de macros favorito, por ejemplo mismacros.py. Use su editor de texto plano o IDE favorito.\nvim /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/mismacros.py Copie el siguiente código:\nimport easymacro as app def main(): app.msgbox(app.INFO_DEBUG) return Ejecute la macro main desde LibreOffice, si ve un cuadro de mensaje con información similar a la siguiente, !felicidades¡\nEsta todo listo para empezar a desarrollar macros con easymacro.\n!Feliz programación!\n"
},
{
"uri": "https://doc.cuates.net/es/",
"uri": "https://doc.cuates.net/easymacro/es/",
"title": "",
"tags": [],
"description": "",
"content": "Bienvenido a la documentación de easymacro! Software Libre, no software gratis. easymacro es una biblioteca para desarrollar fácilmente macros en LibreOffice con Python. Es una capa de abstracción entre la extensa y compleja API UNO de LibreOffice y tu código.\nProbablemente, serás más feliz si lo usas :)\nPuede utilizar easymacro con cualquier extensión o directamente en sus macros.\nEste proyecto esta en continuo desarrollo.\n"
"content": "Documentación de easymacro! Software Libre, no software gratis. easymacro es una librería para desarrollar más fácilmente macros en LibreOffice con Python. Es una capa de abstracción entre la extensa y compleja API UNO de LibreOffice y tu código.\nProbablemente, será más feliz si la usa :)\nPuede utilizar easymacro con cualquier extensión o directamente en sus macros.\nEste proyecto esta en continuo desarrollo.\n"
},
{
"uri": "https://doc.cuates.net/es/categories/",
"uri": "https://doc.cuates.net/easymacro/es/categories/",
"title": "Categories",
"tags": [],
"description": "",
"content": ""
},
{
"uri": "https://doc.cuates.net/es/tags/",
"uri": "https://doc.cuates.net/easymacro/es/tags/",
"title": "Tags",
"tags": [],
"description": "",

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Documentación para EasyMacro</title>
<link>https://doc.cuates.net/es/</link>
<link>https://doc.cuates.net/easymacro/es/</link>
<description>Recent content on Documentación para EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/es/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/es/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Instalación :: Documentación para EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/es/installation/">
<body class="" data-url="/easymacro/es/installation/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/es";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/es";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/es/installation/" title="Instalación" class="dd-item
<li data-nav-id="/easymacro/es/installation/" title="Instalación" class="dd-item
active
">
<a href="/es/installation/">
<a href="/easymacro/es/installation/">
Instalación
</a>
@ -191,7 +191,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/installation/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/installation/">English</option>
@ -209,7 +209,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/installation/" selected>Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/installation/" selected>Español</option>
@ -227,7 +227,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/installation/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/installation/">Português</option>
@ -289,7 +289,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/es/'></a> > Instalación
<a href='/easymacro/es/'></a> > Instalación
@ -332,12 +332,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<h2 id="clonar-repositorio">Clonar repositorio</h2>
<p>Clone el repositorio en su directorio de proyectos favorito.</p>
<pre tabindex="0"><code>git clone https://git.cuates.net/elmau/easymacro
</code></pre><p>y copie la librería dentro de la carpeta <strong>pythonpath</strong> en la carpeta de macros Python dentro de su perfil de usuario. Reemplace <strong>USUARIO</strong> por su usuario real.</p>
<pre tabindex="0"><code>/home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/easymacro.py
</code></pre><p>o use un vínculo duro. Reemplace <strong>RUTA_ABSOLUTA</strong> por la ruta absoluta donde se localice <strong>easymacro.py</strong> en su sistema de archivos y <strong>USUARIO</strong> por su nombre de usuario.</p>
<pre tabindex="0"><code>ln `RUTA_ABSOLUTA`/easymacro/source/easymacro.py /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/
</code></pre><p>Muévase al directorio</p>
<pre tabindex="0"><code>cd easymacro/source
</code></pre><p>copie la carpeta <code>easymacro</code> a la carpeta <strong>pythonpath</strong> en la carpeta de macros Python dentro de su perfil de usuario. Reemplace <strong>USUARIO</strong> por su usuario real.</p>
<pre tabindex="0"><code>/home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath
</code></pre><p>o use un vínculo simbólico. Reemplace <strong>RUTA_ABSOLUTA</strong> por la ruta absoluta donde se localice <strong>easymacro</strong> en su sistema de archivos y <strong>USUARIO</strong> por su nombre de usuario.</p>
<pre tabindex="0"><code>ln -s `RUTA_ABSOLUTA`/easymacro/source/easymacro /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/
</code></pre><h2 id="probar">Probar</h2>
<p>En su archivo de macros favorito, por ejemplo <strong>mismacros.py</strong>. Usa tu editor de texto plano o IDE favorito.</p>
<p>En su archivo de macros favorito, por ejemplo <strong>mismacros.py</strong>. Use su editor de texto plano o IDE favorito.</p>
<pre tabindex="0"><code>vim /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/mismacros.py
</code></pre><p>Copie el siguiente código:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-python" data-lang="python"><span style="display:flex;"><span><span style="color:#f92672">import</span> easymacro <span style="color:#66d9ef">as</span> app
@ -347,7 +349,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span>
</span></span></code></pre></div><p>Ejecute la macro <strong>main</strong> desde LibreOffice, si ve un cuadro de mensaje con información similar a la siguiente, !felicidades¡</p>
<p><img src="install_01.png" alt="Test instalation"></p>
<p>Esta listo para desarrollar macros con <strong>easymacro.py</strong>.</p>
<p>Esta todo listo para empezar a desarrollar macros con <strong>easymacro</strong>.</p>
<p>!Feliz programación!</p>
@ -410,7 +412,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-prev" href="/es/" title=""> <i class="fa fa-chevron-left"></i></a>
<a class="nav nav-prev" href="/easymacro/es/" title=""> <i class="fa fa-chevron-left"></i></a>
@ -421,19 +423,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Instalación on Documentación para EasyMacro</title>
<link>https://doc.cuates.net/es/installation/</link>
<link>https://doc.cuates.net/easymacro/es/installation/</link>
<description>Recent content in Instalación on Documentación para EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/es/installation/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/es/installation/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -2,88 +2,88 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://doc.cuates.net/es/installation/</loc>
<loc>https://doc.cuates.net/easymacro/es/installation/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/installation/"
href="https://doc.cuates.net/easymacro/installation/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/installation/"
href="https://doc.cuates.net/easymacro/pt/installation/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/installation/"
href="https://doc.cuates.net/easymacro/es/installation/"
/>
</url><url>
<loc>https://doc.cuates.net/es/</loc>
<loc>https://doc.cuates.net/easymacro/es/</loc>
<priority>0</priority>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/"
href="https://doc.cuates.net/easymacro/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/"
href="https://doc.cuates.net/easymacro/pt/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/"
href="https://doc.cuates.net/easymacro/fr/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/"
href="https://doc.cuates.net/easymacro/es/"
/>
</url><url>
<loc>https://doc.cuates.net/es/categories/</loc>
<loc>https://doc.cuates.net/easymacro/es/categories/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/categories/"
href="https://doc.cuates.net/easymacro/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/categories/"
href="https://doc.cuates.net/easymacro/pt/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/categories/"
href="https://doc.cuates.net/easymacro/fr/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/categories/"
href="https://doc.cuates.net/easymacro/es/categories/"
/>
</url><url>
<loc>https://doc.cuates.net/es/tags/</loc>
<loc>https://doc.cuates.net/easymacro/es/tags/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/tags/"
href="https://doc.cuates.net/easymacro/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/tags/"
href="https://doc.cuates.net/easymacro/pt/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/tags/"
href="https://doc.cuates.net/easymacro/fr/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/tags/"
href="https://doc.cuates.net/easymacro/es/tags/"
/>
</url>
</urlset>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Tags :: Documentación para EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/es/tags/">
<body class="" data-url="/easymacro/es/tags/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/es";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/es";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/es/installation/" title="Instalación" class="dd-item
<li data-nav-id="/easymacro/es/installation/" title="Instalación" class="dd-item
">
<a href="/es/installation/">
<a href="/easymacro/es/installation/">
Instalación
</a>
@ -191,7 +191,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/tags/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/tags/">English</option>
@ -209,7 +209,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/tags/" selected>Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/tags/" selected>Español</option>
@ -227,7 +227,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/tags/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/tags/">Português</option>
@ -245,7 +245,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/tags/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/tags/">Français</option>
@ -305,7 +305,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/es/'></a> > Tags
<a href='/easymacro/es/'></a> > Tags
@ -408,7 +408,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/es/installation/" title="Instalación" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/es/installation/" title="Instalación" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -418,19 +418,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on Documentación para EasyMacro</title>
<link>https://doc.cuates.net/es/tags/</link>
<link>https://doc.cuates.net/easymacro/es/tags/</link>
<description>Recent content in Tags on Documentación para EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/es/tags/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/es/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -4,20 +4,20 @@
<head>
<meta charset="utf-8"> <meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>404 Page not found</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<style>
:root #header + #content > #left > #rlblock_left {
@ -48,7 +48,7 @@
</p>
<p>Oups. On dirait que cette page n&#39;existe pas ¯\_(ツ)_/¯</p>
<p></p>
<p><a href='/fr'>Vers la page d&#39;accueil</a></p>
<p><a href='/easymacro/fr'>Vers la page d&#39;accueil</a></p>
<p><img src='/images/gopher-404.jpg' style="width:50%" alt="Page not found!"></p>
</div>
</div>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Categories :: Documentation du EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/fr/categories/">
<body class="" data-url="/easymacro/fr/categories/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/fr";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/fr";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -167,7 +167,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/categories/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/categories/">English</option>
@ -185,7 +185,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/categories/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/categories/">Español</option>
@ -203,7 +203,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/categories/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/categories/">Português</option>
@ -221,7 +221,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/categories/" selected>Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/categories/" selected>Français</option>
@ -281,7 +281,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/fr/'></a> > Categories
<a href='/easymacro/fr/'></a> > Categories
@ -373,19 +373,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Documentation du EasyMacro</title>
<link>https://doc.cuates.net/fr/categories/</link>
<link>https://doc.cuates.net/easymacro/fr/categories/</link>
<description>Recent content in Categories on Documentation du EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/fr/categories/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/fr/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title> :: Documentation du EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/fr/">
<body class="" data-url="/easymacro/fr/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/fr";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/fr";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -167,7 +167,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/">English</option>
@ -185,7 +185,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/">Español</option>
@ -203,7 +203,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/">Português</option>
@ -221,7 +221,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/" selected>Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/" selected>Français</option>
@ -322,19 +322,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -1,20 +1,20 @@
[
{
"uri": "https://doc.cuates.net/fr/",
"uri": "https://doc.cuates.net/easymacro/fr/",
"title": "",
"tags": [],
"description": "",
"content": "Bienvenue dans la documentation easymacro! easymacro est une bibliothèque permettant de développer facilement des macros LibreOffice avec Python. Il s\u0026rsquo;agit d\u0026rsquo;une couche d\u0026rsquo;abstraction entre l\u0026rsquo;API étendue et complexe de LibreOffice UNO et votre code.\nVous serez probablement plus heureux si vous l\u0026rsquo;utilisez :)\nVous pouvez utiliser easymacro avec n\u0026rsquo;importe quelle extension ou directement dans vos macros.\n"
},
{
"uri": "https://doc.cuates.net/fr/categories/",
"uri": "https://doc.cuates.net/easymacro/fr/categories/",
"title": "Categories",
"tags": [],
"description": "",
"content": ""
},
{
"uri": "https://doc.cuates.net/fr/tags/",
"uri": "https://doc.cuates.net/easymacro/fr/tags/",
"title": "Tags",
"tags": [],
"description": "",

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Documentation du EasyMacro</title>
<link>https://doc.cuates.net/fr/</link>
<link>https://doc.cuates.net/easymacro/fr/</link>
<description>Recent content on Documentation du EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/fr/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/fr/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -2,71 +2,71 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://doc.cuates.net/fr/</loc>
<loc>https://doc.cuates.net/easymacro/fr/</loc>
<priority>0</priority>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/"
href="https://doc.cuates.net/easymacro/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/"
href="https://doc.cuates.net/easymacro/es/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/"
href="https://doc.cuates.net/easymacro/pt/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/"
href="https://doc.cuates.net/easymacro/fr/"
/>
</url><url>
<loc>https://doc.cuates.net/fr/categories/</loc>
<loc>https://doc.cuates.net/easymacro/fr/categories/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/categories/"
href="https://doc.cuates.net/easymacro/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/categories/"
href="https://doc.cuates.net/easymacro/es/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/categories/"
href="https://doc.cuates.net/easymacro/pt/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/categories/"
href="https://doc.cuates.net/easymacro/fr/categories/"
/>
</url><url>
<loc>https://doc.cuates.net/fr/tags/</loc>
<loc>https://doc.cuates.net/easymacro/fr/tags/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/tags/"
href="https://doc.cuates.net/easymacro/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/tags/"
href="https://doc.cuates.net/easymacro/es/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/tags/"
href="https://doc.cuates.net/easymacro/pt/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/tags/"
href="https://doc.cuates.net/easymacro/fr/tags/"
/>
</url>
</urlset>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Tags :: Documentation du EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/fr/tags/">
<body class="" data-url="/easymacro/fr/tags/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/fr";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/fr";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -167,7 +167,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/tags/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/tags/">English</option>
@ -185,7 +185,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/tags/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/tags/">Español</option>
@ -203,7 +203,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/tags/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/tags/">Português</option>
@ -221,7 +221,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/tags/" selected>Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/tags/" selected>Français</option>
@ -281,7 +281,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/fr/'></a> > Tags
<a href='/easymacro/fr/'></a> > Tags
@ -373,19 +373,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on Documentation du EasyMacro</title>
<link>https://doc.cuates.net/fr/tags/</link>
<link>https://doc.cuates.net/easymacro/fr/tags/</link>
<description>Recent content in Tags on Documentation du EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/fr/tags/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/fr/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title> :: EasyMacro&#39;s documentation</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/">
<body class="" data-url="/easymacro/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net";
var baseurl = "https:\/\/doc.cuates.net\/easymacro";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/installation/" title="Installation" class="dd-item
<li data-nav-id="/easymacro/installation/" title="Installation" class="dd-item
">
<a href="/installation/">
<a href="/easymacro/installation/">
Installation
</a>
@ -164,12 +164,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/tools_debug/" title="Tools for debug" class="dd-item
<li data-nav-id="/easymacro/tools_debug/" title="Tools for debug" class="dd-item
">
<a href="/tools_debug/">
<a href="/easymacro/tools_debug/">
Tools for debug
</a>
@ -215,7 +215,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/" selected>English</option>
<option id="en" value="https://doc.cuates.net/easymacro/" selected>English</option>
@ -233,7 +233,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/">Español</option>
@ -251,7 +251,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/">Português</option>
@ -269,7 +269,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/">Français</option>
@ -402,7 +402,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/installation/" title="Installation" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/installation/" title="Installation" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -412,19 +412,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -1,34 +1,34 @@
[
{
"uri": "https://doc.cuates.net/installation/",
"uri": "https://doc.cuates.net/easymacro/installation/",
"title": "Installation",
"tags": [],
"description": "",
"content": "Clone repository Clone repository in your favorite folder projects.\ngit clone https://git.cuates.net/elmau/easymacro and copy library into pythonpath in your macros.\n/home/USER/.config/libreoffice/4/user/Scripts/python/pythonpath/easymacro.py or used hard link. Replace ABSOLUTE_PATH for absolute path in your system and USER for your real name user.\nln ABSOLUTE_PATH/easymacro/source/easymacro.py /home/USER/.config/libreoffice/4/user/Scripts/python/pythonpath/ Test In your favorite macros file, for example mymacros.py:\nvim /home/USER/.config/libreoffice/4/user/Scripts/python/mymacros.py copy this code:\nimport easymacro as app def main(): app.msgbox(app.INFO_DEBUG) return and execute from LibreOffice, if you see similar next info, great!\nyou are ready for develop with easymacro.\nHappy develop!\n"
},
{
"uri": "https://doc.cuates.net/tools_debug/",
"uri": "https://doc.cuates.net/easymacro/tools_debug/",
"title": "Tools for debug",
"tags": [],
"description": "",
"content": "INFO_DEBUG "
},
{
"uri": "https://doc.cuates.net/",
"uri": "https://doc.cuates.net/easymacro/",
"title": "",
"tags": [],
"description": "",
"content": "Welcome to easymacros documentation! Free Software, not gratis software easymacro its a library for easily develop macros en LibreOffice con Python. It is an abstraction layer between the extensive and complex LibreOffice API UNO and your code.\nProbably, you will be more happy if used it. :)\nYou can used easymacro with any extension or directly in your macros.\nThis project is in continuous development.\n"
},
{
"uri": "https://doc.cuates.net/categories/",
"uri": "https://doc.cuates.net/easymacro/categories/",
"title": "Categories",
"tags": [],
"description": "",
"content": ""
},
{
"uri": "https://doc.cuates.net/tags/",
"uri": "https://doc.cuates.net/easymacro/tags/",
"title": "Tags",
"tags": [],
"description": "",

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>EasyMacro&#39;s documentation</title>
<link>https://doc.cuates.net/</link>
<link>https://doc.cuates.net/easymacro/</link>
<description>Recent content on EasyMacro&#39;s documentation</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Installation :: EasyMacro&#39;s documentation</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/installation/">
<body class="" data-url="/easymacro/installation/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net";
var baseurl = "https:\/\/doc.cuates.net\/easymacro";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/installation/" title="Installation" class="dd-item
<li data-nav-id="/easymacro/installation/" title="Installation" class="dd-item
active
">
<a href="/installation/">
<a href="/easymacro/installation/">
Installation
</a>
@ -164,12 +164,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/tools_debug/" title="Tools for debug" class="dd-item
<li data-nav-id="/easymacro/tools_debug/" title="Tools for debug" class="dd-item
">
<a href="/tools_debug/">
<a href="/easymacro/tools_debug/">
Tools for debug
</a>
@ -215,7 +215,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/installation/" selected>English</option>
<option id="en" value="https://doc.cuates.net/easymacro/installation/" selected>English</option>
@ -233,7 +233,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/installation/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/installation/">Español</option>
@ -251,7 +251,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/installation/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/installation/">Português</option>
@ -313,7 +313,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/'></a> > Installation
<a href='/easymacro/'></a> > Installation
@ -453,10 +453,10 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-prev" href="/" title=""> <i class="fa fa-chevron-left"></i></a>
<a class="nav nav-prev" href="/easymacro/" title=""> <i class="fa fa-chevron-left"></i></a>
<a class="nav nav-next" href="/tools_debug/" title="Tools for debug" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/tools_debug/" title="Tools for debug" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -466,19 +466,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Installation on EasyMacro&#39;s documentation</title>
<link>https://doc.cuates.net/installation/</link>
<link>https://doc.cuates.net/easymacro/installation/</link>
<description>Recent content in Installation on EasyMacro&#39;s documentation</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/installation/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/installation/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -4,20 +4,20 @@
<head>
<meta charset="utf-8"> <meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>404 Page not found</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<style>
:root #header + #content > #left > #rlblock_left {
@ -48,7 +48,7 @@
</p>
<p>Ops. Parece que a página não existe ¯\_(ツ)_/¯.</p>
<p></p>
<p><a href='/pt'>Ir para o início</a></p>
<p><a href='/easymacro/pt'>Ir para o início</a></p>
<p><img src='/images/gopher-404.jpg' style="width:50%" alt="Page not found!"></p>
</div>
</div>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Categories :: Documentação para EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/pt/categories/">
<body class="" data-url="/easymacro/pt/categories/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/pt";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/pt";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/pt/installation/" title="Instalação" class="dd-item
<li data-nav-id="/easymacro/pt/installation/" title="Instalação" class="dd-item
">
<a href="/pt/installation/">
<a href="/easymacro/pt/installation/">
Instalação
</a>
@ -191,7 +191,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/categories/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/categories/">English</option>
@ -209,7 +209,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/categories/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/categories/">Español</option>
@ -227,7 +227,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/categories/" selected>Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/categories/" selected>Português</option>
@ -245,7 +245,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/categories/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/categories/">Français</option>
@ -305,7 +305,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/pt/'></a> > Categories
<a href='/easymacro/pt/'></a> > Categories
@ -408,7 +408,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/pt/installation/" title="Instalação" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/pt/installation/" title="Instalação" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -418,19 +418,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Documentação para EasyMacro</title>
<link>https://doc.cuates.net/pt/categories/</link>
<link>https://doc.cuates.net/easymacro/pt/categories/</link>
<description>Recent content in Categories on Documentação para EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/pt/categories/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/pt/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title> :: Documentação para EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/pt/">
<body class="" data-url="/easymacro/pt/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/pt";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/pt";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/pt/installation/" title="Instalação" class="dd-item
<li data-nav-id="/easymacro/pt/installation/" title="Instalação" class="dd-item
">
<a href="/pt/installation/">
<a href="/easymacro/pt/installation/">
Instalação
</a>
@ -191,7 +191,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/">English</option>
@ -209,7 +209,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/">Español</option>
@ -227,7 +227,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/" selected>Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/" selected>Português</option>
@ -245,7 +245,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/">Français</option>
@ -357,7 +357,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/pt/installation/" title="Instalação" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/pt/installation/" title="Instalação" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -367,19 +367,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -1,27 +1,27 @@
[
{
"uri": "https://doc.cuates.net/pt/installation/",
"uri": "https://doc.cuates.net/easymacro/pt/installation/",
"title": "Instalação",
"tags": [],
"description": "",
"content": "Clonar repositorio Clone el repositorio en su directorio de proyectos favorito.\ngit clone https://git.cuates.net/elmau/easymacro y copie la librería dentro de la carpeta pythonpath en la carpeta de macros Python dentro de su perfil de usuario. Reemplace USUARIO por su usuario real.\n/home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/easymacro.py o use un vínculo duro. Reemplace RUTA_ABSOLUTA por la ruta absoluta donde se localice easymacro.py en su sistema de archivos y USUARIO por su nombre de usuario.\nln `RUTA_ABSOLUTA`/easymacro/source/easymacro.py /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/pythonpath/ Probar En su archivo de macros favorito, por ejemplo mismacros.py:\nvim /home/`USUARIO`/.config/libreoffice/4/user/Scripts/python/mismacros.py Copie el siguiente código:\nimport easymacro as app def main(): app.msgbox(app.INFO_DEBUG) return Ejecute la macro main desde LibreOffice, si ve un cuadro de mensaje con información similar a la siguiente, !felicidades¡\nEsta listo para desarrollar macros con easymacro.py.\n!Feliz programación!\n"
},
{
"uri": "https://doc.cuates.net/pt/",
"uri": "https://doc.cuates.net/easymacro/pt/",
"title": "",
"tags": [],
"description": "",
"content": "Bem-vindo à documentação easymacro! easymacro* é uma biblioteca para desenvolver facilmente macros en LibreOffice con Python. É uma camada de abstração entre o extenso e complexo LibreOffice API UNO e seu código.\nProvavelmente, você ficará mais feliz se o utilizar :)\nVocê pode usar easymacro com qualquer extensão ou diretamente em suas macros.\n"
},
{
"uri": "https://doc.cuates.net/pt/categories/",
"uri": "https://doc.cuates.net/easymacro/pt/categories/",
"title": "Categories",
"tags": [],
"description": "",
"content": ""
},
{
"uri": "https://doc.cuates.net/pt/tags/",
"uri": "https://doc.cuates.net/easymacro/pt/tags/",
"title": "Tags",
"tags": [],
"description": "",

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Documentação para EasyMacro</title>
<link>https://doc.cuates.net/pt/</link>
<link>https://doc.cuates.net/easymacro/pt/</link>
<description>Recent content on Documentação para EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/pt/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/pt/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Instalação :: Documentação para EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/pt/installation/">
<body class="" data-url="/easymacro/pt/installation/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/pt";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/pt";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/pt/installation/" title="Instalação" class="dd-item
<li data-nav-id="/easymacro/pt/installation/" title="Instalação" class="dd-item
active
">
<a href="/pt/installation/">
<a href="/easymacro/pt/installation/">
Instalação
</a>
@ -191,7 +191,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/installation/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/installation/">English</option>
@ -209,7 +209,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/installation/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/installation/">Español</option>
@ -227,7 +227,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/installation/" selected>Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/installation/" selected>Português</option>
@ -289,7 +289,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/pt/'></a> > Instalação
<a href='/easymacro/pt/'></a> > Instalação
@ -410,7 +410,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-prev" href="/pt/" title=""> <i class="fa fa-chevron-left"></i></a>
<a class="nav nav-prev" href="/easymacro/pt/" title=""> <i class="fa fa-chevron-left"></i></a>
@ -421,19 +421,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Instalação on Documentação para EasyMacro</title>
<link>https://doc.cuates.net/pt/installation/</link>
<link>https://doc.cuates.net/easymacro/pt/installation/</link>
<description>Recent content in Instalação on Documentação para EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/pt/installation/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/pt/installation/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -2,88 +2,88 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://doc.cuates.net/pt/installation/</loc>
<loc>https://doc.cuates.net/easymacro/pt/installation/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/installation/"
href="https://doc.cuates.net/easymacro/installation/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/installation/"
href="https://doc.cuates.net/easymacro/es/installation/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/installation/"
href="https://doc.cuates.net/easymacro/pt/installation/"
/>
</url><url>
<loc>https://doc.cuates.net/pt/</loc>
<loc>https://doc.cuates.net/easymacro/pt/</loc>
<priority>0</priority>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/"
href="https://doc.cuates.net/easymacro/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/"
href="https://doc.cuates.net/easymacro/es/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/"
href="https://doc.cuates.net/easymacro/fr/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/"
href="https://doc.cuates.net/easymacro/pt/"
/>
</url><url>
<loc>https://doc.cuates.net/pt/categories/</loc>
<loc>https://doc.cuates.net/easymacro/pt/categories/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/categories/"
href="https://doc.cuates.net/easymacro/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/categories/"
href="https://doc.cuates.net/easymacro/es/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/categories/"
href="https://doc.cuates.net/easymacro/fr/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/categories/"
href="https://doc.cuates.net/easymacro/pt/categories/"
/>
</url><url>
<loc>https://doc.cuates.net/pt/tags/</loc>
<loc>https://doc.cuates.net/easymacro/pt/tags/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://doc.cuates.net/tags/"
href="https://doc.cuates.net/easymacro/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="es"
href="https://doc.cuates.net/es/tags/"
href="https://doc.cuates.net/easymacro/es/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="https://doc.cuates.net/fr/tags/"
href="https://doc.cuates.net/easymacro/fr/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="pt"
href="https://doc.cuates.net/pt/tags/"
href="https://doc.cuates.net/easymacro/pt/tags/"
/>
</url>
</urlset>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Tags :: Documentação para EasyMacro</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/pt/tags/">
<body class="" data-url="/easymacro/pt/tags/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net\/pt";
var baseurl = "https:\/\/doc.cuates.net\/easymacro\/pt";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/pt/installation/" title="Instalação" class="dd-item
<li data-nav-id="/easymacro/pt/installation/" title="Instalação" class="dd-item
">
<a href="/pt/installation/">
<a href="/easymacro/pt/installation/">
Instalação
</a>
@ -191,7 +191,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/tags/">English</option>
<option id="en" value="https://doc.cuates.net/easymacro/tags/">English</option>
@ -209,7 +209,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/tags/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/tags/">Español</option>
@ -227,7 +227,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/tags/" selected>Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/tags/" selected>Português</option>
@ -245,7 +245,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/tags/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/tags/">Français</option>
@ -305,7 +305,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/pt/'></a> > Tags
<a href='/easymacro/pt/'></a> > Tags
@ -408,7 +408,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/pt/installation/" title="Instalação" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/pt/installation/" title="Instalação" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -418,19 +418,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on Documentação para EasyMacro</title>
<link>https://doc.cuates.net/pt/tags/</link>
<link>https://doc.cuates.net/easymacro/pt/tags/</link>
<description>Recent content in Tags on Documentação para EasyMacro</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/pt/tags/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/pt/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -2,22 +2,22 @@
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://doc.cuates.net/en/sitemap.xml</loc>
<loc>https://doc.cuates.net/easymacro/en/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>https://doc.cuates.net/es/sitemap.xml</loc>
<loc>https://doc.cuates.net/easymacro/es/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>https://doc.cuates.net/pt/sitemap.xml</loc>
<loc>https://doc.cuates.net/easymacro/pt/sitemap.xml</loc>
</sitemap>
<sitemap>
<loc>https://doc.cuates.net/fr/sitemap.xml</loc>
<loc>https://doc.cuates.net/easymacro/fr/sitemap.xml</loc>
</sitemap>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Tags :: EasyMacro&#39;s documentation</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/tags/">
<body class="" data-url="/easymacro/tags/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net";
var baseurl = "https:\/\/doc.cuates.net\/easymacro";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/installation/" title="Installation" class="dd-item
<li data-nav-id="/easymacro/installation/" title="Installation" class="dd-item
">
<a href="/installation/">
<a href="/easymacro/installation/">
Installation
</a>
@ -164,12 +164,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/tools_debug/" title="Tools for debug" class="dd-item
<li data-nav-id="/easymacro/tools_debug/" title="Tools for debug" class="dd-item
">
<a href="/tools_debug/">
<a href="/easymacro/tools_debug/">
Tools for debug
</a>
@ -215,7 +215,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/tags/" selected>English</option>
<option id="en" value="https://doc.cuates.net/easymacro/tags/" selected>English</option>
@ -233,7 +233,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="es" value="https://doc.cuates.net/es/tags/">Español</option>
<option id="es" value="https://doc.cuates.net/easymacro/es/tags/">Español</option>
@ -251,7 +251,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="pt" value="https://doc.cuates.net/pt/tags/">Português</option>
<option id="pt" value="https://doc.cuates.net/easymacro/pt/tags/">Português</option>
@ -269,7 +269,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="fr" value="https://doc.cuates.net/fr/tags/">Français</option>
<option id="fr" value="https://doc.cuates.net/easymacro/fr/tags/">Français</option>
@ -329,7 +329,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/'></a> > Tags
<a href='/easymacro/'></a> > Tags
@ -448,7 +448,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-next" href="/installation/" title="Installation" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/installation/" title="Installation" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -458,19 +458,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on EasyMacro&#39;s documentation</title>
<link>https://doc.cuates.net/tags/</link>
<link>https://doc.cuates.net/easymacro/tags/</link>
<description>Recent content in Tags on EasyMacro&#39;s documentation</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/tags/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -7,27 +7,27 @@
<meta name="description" content="">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/easymacro/images/favicon.png" type="image/png">
<title>Tools for debug :: EasyMacro&#39;s documentation</title>
<link href="/css/nucleus.css?1659583035" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1659583035" rel="stylesheet">
<link href="/css/hybrid.css?1659583035" rel="stylesheet">
<link href="/css/featherlight.min.css?1659583035" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1659583035" rel="stylesheet">
<link href="/css/auto-complete.css?1659583035" rel="stylesheet">
<link href="/css/atom-one-dark-reasonable.css?1659583035" rel="stylesheet">
<link href="/css/theme.css?1659583035" rel="stylesheet">
<link href="/css/tabs.css?1659583035" rel="stylesheet">
<link href="/css/hugo-theme.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/nucleus.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/fontawesome-all.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hybrid.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/featherlight.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/perfect-scrollbar.min.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/auto-complete.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/atom-one-dark-reasonable.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/theme.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/tabs.css?1660257767" rel="stylesheet">
<link href="/easymacro/css/hugo-theme.css?1660257767" rel="stylesheet">
<link href="/css/theme-blue.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/theme-blue.css?1660257767" rel="stylesheet">
<link href="/css/custom.css?1659583035" rel="stylesheet">
<link href="/easymacro/css/custom.css?1660257767" rel="stylesheet">
<script src="/js/jquery-3.3.1.min.js?1659583035"></script>
<script src="/easymacro/js/jquery-3.3.1.min.js?1660257767"></script>
<style>
:root #header + #content > #left > #rlblock_left{
@ -37,7 +37,7 @@
</style>
</head>
<body class="" data-url="/tools_debug/">
<body class="" data-url="/easymacro/tools_debug/">
<nav id="sidebar" class="">
@ -106,14 +106,14 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>
<script type="text/javascript" src="/js/lunr.min.js?1659583035"></script>
<script type="text/javascript" src="/js/auto-complete.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/lunr.min.js?1660257767"></script>
<script type="text/javascript" src="/easymacro/js/auto-complete.js?1660257767"></script>
<script type="text/javascript">
var baseurl = "https:\/\/doc.cuates.net";
var baseurl = "https:\/\/doc.cuates.net\/easymacro";
</script>
<script type="text/javascript" src="/js/search.js?1659583035"></script>
<script type="text/javascript" src="/easymacro/js/search.js?1660257767"></script>
</div>
@ -140,12 +140,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/installation/" title="Installation" class="dd-item
<li data-nav-id="/easymacro/installation/" title="Installation" class="dd-item
">
<a href="/installation/">
<a href="/easymacro/installation/">
Installation
</a>
@ -164,12 +164,12 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<li data-nav-id="/tools_debug/" title="Tools for debug" class="dd-item
<li data-nav-id="/easymacro/tools_debug/" title="Tools for debug" class="dd-item
active
">
<a href="/tools_debug/">
<a href="/easymacro/tools_debug/">
Tools for debug
</a>
@ -215,7 +215,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<option id="en" value="https://doc.cuates.net/tools_debug/" selected>English</option>
<option id="en" value="https://doc.cuates.net/easymacro/tools_debug/" selected>English</option>
@ -281,7 +281,7 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a href='/'></a> > Tools for debug
<a href='/easymacro/'></a> > Tools for debug
@ -401,10 +401,10 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<a class="nav nav-prev" href="/installation/" title="Installation"> <i class="fa fa-chevron-left"></i></a>
<a class="nav nav-prev" href="/easymacro/installation/" title="Installation"> <i class="fa fa-chevron-left"></i></a>
<a class="nav nav-next" href="/installation/" title="Installation" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
<a class="nav nav-next" href="/easymacro/installation/" title="Installation" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>
</div>
@ -414,19 +414,19 @@ l-31 -82 -29 83 c-27 76 -31 82 -56 82 l-28 0 0 -120z"/>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.min.js?1659583035"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1659583035"></script>
<script src="/js/jquery.sticky.js?1659583035"></script>
<script src="/js/featherlight.min.js?1659583035"></script>
<script src="/js/highlight.pack.js?1659583035"></script>
<script src="/easymacro/js/clipboard.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.min.js?1660257767"></script>
<script src="/easymacro/js/perfect-scrollbar.jquery.min.js?1660257767"></script>
<script src="/easymacro/js/jquery.sticky.js?1660257767"></script>
<script src="/easymacro/js/featherlight.min.js?1660257767"></script>
<script src="/easymacro/js/highlight.pack.js?1660257767"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom-3.6.0.js?1659583035"></script>
<script src="/js/learn.js?1659583035"></script>
<script src="/js/hugo-learn.js?1659583035"></script>
<script src="/easymacro/js/modernizr.custom-3.6.0.js?1660257767"></script>
<script src="/easymacro/js/learn.js?1660257767"></script>
<script src="/easymacro/js/hugo-learn.js?1660257767"></script>
<script src="/mermaid/mermaid.js?1659583035"></script>
<script src="/easymacro/mermaid/mermaid.js?1660257767"></script>
<script>
mermaid.initialize({ startOnLoad: true });

View File

@ -2,9 +2,9 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tools for debug on EasyMacro&#39;s documentation</title>
<link>https://doc.cuates.net/tools_debug/</link>
<link>https://doc.cuates.net/easymacro/tools_debug/</link>
<description>Recent content in Tools for debug on EasyMacro&#39;s documentation</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://doc.cuates.net/tools_debug/index.xml" rel="self" type="application/rss+xml" />
<language>en-us</language><atom:link href="https://doc.cuates.net/easymacro/tools_debug/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

4671
source/easymacro (copy).bk2 Normal file

File diff suppressed because it is too large Load Diff

3485
source/easymacro.bk1 Normal file

File diff suppressed because it is too large Load Diff

4671
source/easymacro.bk2 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,17 @@
#!/usr/bin/env python3
from .easymain import *
from .easytools import *
from .easydocs import LODocuments
def __getattr__(name):
classes = {
'active': LODocuments().active,
'inspect': LOInspect
}
if name in classes:
return classes[name]
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")

View File

@ -0,0 +1,277 @@
#!/usr/bin/env python3
from typing import Any, Union
from .easymain import BaseObject
from .easydoc import LODocument
class LOCalcRange(object):
CELL = 'ScCellObj'
def __init__(self, obj):
self._obj = obj
self._is_cell = obj.ImplementationName == self.CELL
def __getitem__(self, index):
return LOCalcRange(self.obj[index])
def __iter__(self):
self._r = 0
self._c = 0
return self
def __next__(self):
try:
rango = self[self._r, self._c]
except Exception as e:
raise StopIteration
self._c += 1
if self._c == self.obj.Columns.Count:
self._c = 0
self._r +=1
return rango
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
pass
def __len__(self):
ra = self.range_address
rows = ra.EndRow - ra.StartRow + 1
cols = ra.EndColumn - ra.StartColumn + 1
return rows, cols
def __str__(self):
s = f'Range: {self.name}'
if self.is_cell:
s = f'Cell: {self.name}'
return s
@property
def obj(self):
return self._obj
@property
def is_cell(self):
return self._is_cell
@property
def name(self):
return self.obj.AbsoluteName
@property
def address(self):
return self.obj.CellAddress
@property
def range_address(self):
return self.obj.RangeAddress
@property
def sheet(self):
return LOCalcSheet(self.obj.Spreadsheet)
@property
def doc(self):
doc = self.obj.Spreadsheet.DrawPage.Forms.Parent
return LODocCalc(doc)
@property
def cursor(self):
cursor = self.obj.Spreadsheet.createCursorByRange(self.obj)
return cursor
def offset(self, rows=0, cols=1):
ra = self.range_address
col = ra.EndColumn + cols
row = ra.EndRow + rows
return LOCalcRange(self.sheet[row, col].obj)
@property
def style(self):
return self.obj.CellStyle
@style.setter
def style(self, value):
self.obj.CellStyle = value
@property
def string(self):
return self.obj.String
@string.setter
def string(self, value):
self.obj.setString(value)
@property
def data(self):
return self.obj.getDataArray()
@data.setter
def data(self, values):
if self._is_cell:
self.to_size(len(values[0]), len(values)).data = values
else:
self.obj.setDataArray(values)
@property
def current_region(self):
cursor = self.cursor
cursor.collapseToCurrentRegion()
rango = self.obj.Spreadsheet[cursor.AbsoluteName]
return LOCalcRange(rango)
def to_size(self, cols: int, rows: int):
cursor = self.cursor
cursor.collapseToSize(cols, rows)
rango = self.obj.Spreadsheet[cursor.AbsoluteName]
return LOCalcRange(rango)
class LOCalcSheet(BaseObject):
def __init__(self, obj):
super().__init__(obj)
def __getitem__(self, index):
return LOCalcRange(self.obj[index])
def __exit__(self, exc_type, exc_value, traceback):
pass
def __str__(self):
return f'Sheet: {self.name}'
@property
def doc(self):
return LODocCalc(self.obj.DrawPage.Forms.Parent)
@property
def name(self):
return self._obj.Name
@name.setter
def name(self, value):
self._obj.Name = value
@property
def code_name(self):
return self._obj.CodeName
@code_name.setter
def code_name(self, value):
self._obj.CodeName = value
@property
def visible(self):
return self._obj.IsVisible
@visible.setter
def visible(self, value):
self._obj.IsVisible = value
@property
def color(self):
return self._obj.TabColor
@color.setter
def color(self, value):
self._obj.TabColor = Color()(value)
@property
def events(self):
return LOEvents(self.obj.Events)
@property
def used_area(self):
cursor = self.create_cursor()
cursor.gotoEndOfUsedArea(True)
return self[cursor.AbsoluteName]
@property
def is_protected(self):
return self._obj.isProtected()
@property
def password(self):
return ''
@password.setter
def password(self, value):
self.obj.protect(value)
def unprotect(self, value):
try:
self.obj.unprotect(value)
return True
except:
pass
return False
def move(self, pos: int=-1):
index = pos
if pos < 0:
index = len(self.doc)
self.doc.move(self.name, index)
return
def remove(self):
self.doc.remove(self.name)
return
def copy(self, new_name: str='', pos: int=-1):
index = pos
if pos < 0:
index = len(self.doc)
new_sheet = self.doc.copy_sheet(self.name, new_name, index)
return new_sheet
def copy_to(self, doc: Any, target: str='', pos: int=-1):
index = pos
if pos < 0:
index = len(doc)
new_name = target or self.name
sheet = doc.copy_from(self.doc, self.name, new_name, index)
return sheet
def activate(self):
self.doc.activate(self.obj)
return
def create_cursor(self, rango: Any=None):
if rango is None:
cursor = self.obj.createCursor()
else:
obj = rango
if hasattr(rango, 'obj'):
obj = rango.obj
cursor = self.obj.createCursorByRange(obj)
return cursor
class LOCalc(LODocument):
"""Classe for Calc module"""
TYPE_RANGES = ('ScCellObj', 'ScCellRangeObj')
RANGES = 'ScCellRangesObj'
SHAPE = 'com.sun.star.drawing.SvxShapeCollection'
_type = 'calc'
def __init__(self, obj):
super().__init__(obj)
self._sheets = obj.Sheets
self._listener_range_selection = None
def __getitem__(self, index):
"""Index access"""
return LOCalcSheet(self._sheets[index])
def insert(self, name: Union[str, list, tuple]):
"""Insert new sheet
:param name: Name new sheet, or iterable with names.
:type name: str, list or tuple
:return: New last instance sheet.
:rtype: LOCalcSheet
"""
names = name
if isinstance(name, str):
names = (name,)
for n in names:
self._sheets[n] = self._create_instance('com.sun.star.sheet.Spreadsheet')
return LOCalcSheet(self._sheets[n])

View File

@ -0,0 +1,23 @@
#!/usr/bin/env python3
from .easymain import log, create_instance, BaseObject
class LODocument(BaseObject):
def __init__(self, obj):
super().__init__(obj)
self._cc = obj.getCurrentController()
self._undo = True
def __exit__(self, exc_type, exc_value, traceback):
self.close()
@property
def type(self):
"""Get type document"""
return self._type
def _create_instance(self, name):
obj = self.obj.createInstance(name)
return obj

View File

@ -0,0 +1,129 @@
#!/usr/bin/env python3
from .easymain import log, create_instance, dict_to_property
from .easycalc import LOCalc
class LODocuments():
"""Classe for documents
"""
TYPES = {
'calc': 'com.sun.star.sheet.SpreadsheetDocument',
'writerr': 'com.sun.star.text.TextDocument',
'draw': 'com.sun.star.drawing.DrawingDocument',
'impress': 'com.sun.star.presentation.PresentationDocument',
'math': 'com.sun.star.formula.FormulaProperties',
'ide': 'com.sun.star.script.BasicIDE',
'base': 'com.sun.star.sdb.OfficeDatabaseDocument',
'main': 'com.sun.star.frame.StartModule',
}
_classes = {
'com.sun.star.sheet.SpreadsheetDocument': LOCalc,
# ~ 'com.sun.star.text.TextDocument': LODocWriter,
# ~ 'com.sun.star.drawing.DrawingDocument': LODocDraw,
# ~ 'com.sun.star.presentation.PresentationDocument': LODocImpress,
# ~ 'com.sun.star.formula.FormulaProperties': LODocMath,
# ~ 'com.sun.star.script.BasicIDE': LODocIDE,
# ~ 'com.sun.star.sdb.OfficeDatabaseDocument': LODocBase,
# ~ 'com.sun.star.frame.StartModule': LODocMain
}
# ~ BASE: 'com.sun.star.sdb.DocumentDataSource',
def __init__(self):
self._desktop = create_instance('com.sun.star.frame.Desktop', True)
def __len__(self):
# ~ len(self._desktop.Components)
for i, _ in enumerate(self._desktop.Components):
pass
return i + 1
def __getitem__(self, index):
# ~ self._desktop.Components[index]
obj = None
for i, doc in enumerate(self._desktop.Components):
if isinstance(index, int) and i == index:
obj = self._get_class_doc(doc)
break
elif isinstance(index, str) and doc.Title == index:
obj = self._get_class_doc(doc)
break
return obj
def __contains__(self, item):
doc = self[item]
return not doc is None
def __iter__(self):
self._i = -1
return self
def __next__(self):
self._i += 1
doc = self[self._i]
if doc is None:
raise StopIteration
else:
return doc
def _get_class_doc(self, doc):
"""Identify type doc"""
main = 'com.sun.star.frame.StartModule'
if doc.supportsService(main):
return self._classes[main](doc)
mm = create_instance('com.sun.star.frame.ModuleManager')
type_module = mm.identify(doc)
return self._classes[type_module](doc)
@property
def active(self):
"""Get active doc"""
doc = self._desktop.getCurrentComponent()
obj = self._get_class_doc(doc)
return obj
def new(self, type_doc: str='calc', args: dict={}):
"""Create new document
:param type_doc: The type doc to create, default is Calc
:type type_doc: str
:param args: Extra argument
:type args: dict
:return: New document
:rtype: Custom classe
"""
url = f'private:factory/s{type_doc}'
opt = dict_to_property(args)
doc = self._desktop.loadComponentFromURL(url, '_default', 0, opt)
obj = self._get_class_doc(doc)
return obj
def open(self, path: str, args: dict={}):
""" Open document from path
:param path: Path to document
:type path: str
:param args: Extra argument
Usually options:
Hidden: True or False
AsTemplate: True or False
ReadOnly: True or False
Password: super_secret
MacroExecutionMode: 4 = Activate macros
Preview: True or False
:type args: dict
`See API XComponentLoader <http://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1frame_1_1XComponentLoader.html>`_
`See API MediaDescriptor <http://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1document_1_1MediaDescriptor.html>`_
"""
url = Paths.to_url(path)
opt = dict_to_property(args)
doc = self._desktop.loadComponentFromURL(url, '_default', 0, opt)
if doc is None:
return
obj = self._get_class_doc(doc)
return obj

View File

@ -0,0 +1,157 @@
#!/usr/bin/env python3
import datetime
import getpass
import logging
import os
import platform
import sys
from typing import Any
import uno
from com.sun.star.beans import PropertyValue
__all__ = [
'DESKTOP',
'INFO_DEBUG',
'IS_MAC',
'IS_WIN',
'LANG',
'LANGUAGE',
'NAME',
'OS',
'PC',
'USER',
'VERSION',
'create_instance',
'get_app_config',
]
CTX = uno.getComponentContext()
SM = CTX.getServiceManager()
# Global variables
OS = platform.system()
DESKTOP = os.environ.get('DESKTOP_SESSION', '')
PC = platform.node()
USER = getpass.getuser()
IS_WIN = OS == 'Windows'
IS_MAC = OS == 'Darwin'
LOG_FORMAT = '%(asctime)s - %(levelname)s - %(message)s'
LOG_DATE = '%d/%m/%Y %H:%M:%S'
if IS_WIN:
logging.addLevelName(logging.ERROR, 'ERROR')
logging.addLevelName(logging.DEBUG, 'DEBUG')
logging.addLevelName(logging.INFO, 'INFO')
else:
logging.addLevelName(logging.ERROR, '\033[1;41mERROR\033[1;0m')
logging.addLevelName(logging.DEBUG, '\x1b[33mDEBUG\033[1;0m')
logging.addLevelName(logging.INFO, '\x1b[32mINFO\033[1;0m')
logging.basicConfig(level=logging.DEBUG, format=LOG_FORMAT, datefmt=LOG_DATE)
log = logging.getLogger(__name__)
def create_instance(name: str, with_context: bool=False, argument: Any=None) -> Any:
"""Create a service instance
:param name: Name of service
:type name: str
:param with_context: If used context
:type with_context: bool
:param argument: If needed some argument
:type argument: Any
:return: PyUno instance
:rtype: PyUno Object
"""
if with_context:
instance = SM.createInstanceWithContext(name, CTX)
elif argument:
instance = SM.createInstanceWithArguments(name, (argument,))
else:
instance = SM.createInstance(name)
return instance
def get_app_config(node_name: str, key: str='') -> Any:
"""Get any key from any node from LibreOffice configuration.
:param node_name: Name of node
:type name: str
:param key: Name of key
:type key: str
:return: Any value
:rtype: Any
`See Api ConfigurationProvider <https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1configuration_1_1ConfigurationProvider.html>`_
"""
name = 'com.sun.star.configuration.ConfigurationProvider'
service = 'com.sun.star.configuration.ConfigurationAccess'
cp = create_instance(name, True)
node = PropertyValue(Name='nodepath', Value=node_name)
value = ''
try:
value = cp.createInstanceWithArguments(service, (node,))
if value and value.hasByName(key):
value = value.getPropertyValue(key)
except Exception as e:
log.error(e)
value = ''
return value
# Get info LibO
NAME = TITLE = get_app_config('/org.openoffice.Setup/Product', 'ooName')
VERSION = get_app_config('/org.openoffice.Setup/Product','ooSetupVersion')
LANGUAGE = get_app_config('/org.openoffice.Setup/L10N/', 'ooLocale')
LANG = LANGUAGE.split('-')[0]
# Get start date from Calc configuration
node = '/org.openoffice.Office.Calc/Calculate/Other/Date'
year = get_app_config(node, 'YY')
month = get_app_config(node, 'MM')
day = get_app_config(node, 'DD')
DATE_OFFSET = datetime.date(year, month, day).toordinal()
_info_debug = f"Python: {sys.version}\n\n{platform.platform()}\n\n" + '\n'.join(sys.path)
INFO_DEBUG = f"{NAME} v{VERSION} {LANGUAGE}\n\n{_info_debug}"
def dict_to_property(values: dict, uno_any: bool=False):
"""Convert dictionary to array of PropertyValue
:param values: Dictionary of values
:type values: dict
:param uno_any: If return like array uno.Any
:type uno_any: bool
:return: Tuple of PropertyValue or array uno.Any
:rtype: tuples or uno.Any
"""
ps = tuple([PropertyValue(Name=n, Value=v) for n, v in values.items()])
if uno_any:
ps = uno.Any('[]com.sun.star.beans.PropertyValue', ps)
return ps
class BaseObject():
def __init__(self, obj):
self._obj = obj
def __enter__(self):
return self
@property
def obj(self):
"""Return original pyUno object"""
return self._obj

View File

@ -0,0 +1,396 @@
#!/usr/bin/env python3
import datetime
from functools import wraps
from typing import Any
from pprint import pprint
from com.sun.star.awt import MessageBoxButtons
from com.sun.star.awt.MessageBoxResults import YES
from com.sun.star.beans import PropertyValue
from com.sun.star.beans.PropertyConcept import ALL
from .easymain import IS_WIN, TITLE, log, create_instance
from .easyuno import MessageBoxType
from .easydocs import LODocuments
__all__ = [
'LOInspect',
'catch_exception',
'debug',
'error',
'info',
'mri',
'msgbox',
'save_log',
]
def debug(*messages) -> None:
"""Show messages debug
:param messages: List of messages to debug
:type messages: list[Any]
"""
data = [str(m) for m in messages]
log.debug('\t'.join(data))
return
def error(message: Any) -> None:
"""Show message error
:param message: The message error
:type message: Any
"""
log.error(message)
return
def info(*messages) -> None:
"""Show messages info
:param messages: List of messages to debug
:type messages: list[Any]
"""
data = [str(m) for m in messages]
log.info('\t'.join(data))
return
def save_log(path: str, data: Any) -> bool:
"""Save data in file, data append to end and automatic add current time.
:param path: Path to save log
:type path: str
:param data: Data to save in file log
:type data: Any
"""
result = True
try:
with open(path, 'a') as f:
f.write(f'{str(Dates.now())} - ')
pprint(data, stream=f)
except Exception as e:
error(e)
result = False
return result
def mri(obj: Any) -> None:
"""Inspect object with MRI Extension
:param obj: Any pyUno object
:type obj: Any
`See MRI <https://github.com/hanya/MRI/releases>`_
"""
m = create_instance('mytools.Mri')
if m is None:
msg = 'Extension MRI not found'
error(msg)
return
if hasattr(obj, 'obj'):
obj = obj.obj
m.inspect(obj)
return
def catch_exception(f):
"""Catch exception for any function
:param f: Any Python function
:type f: Function instance
"""
@wraps(f)
def func(*args, **kwargs):
try:
return f(*args, **kwargs)
except Exception as e:
name = f.__name__
if IS_WIN:
msgbox(traceback.format_exc())
log.error(name, exc_info=True)
return func
def set_app_config(node_name: str, key: str, new_value: Any) -> Any:
"""Update value for key in node name.
:param node_name: Name of node
:type name: str
:param key: Name of key
:type key: str
:return: True if update sucesfully
:rtype: bool
`See Api ConfigurationUpdateAccess <https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1configuration_1_1ConfigurationUpdateAccess.html>`_
"""
result = True
current_value = ''
name = 'com.sun.star.configuration.ConfigurationProvider'
service = 'com.sun.star.configuration.ConfigurationUpdateAccess'
cp = create_instance(name, True)
node = PropertyValue(Name='nodepath', Value=node_name)
update = cp.createInstanceWithArguments(service, (node,))
try:
current_value = update.getPropertyValue(key)
update.setPropertyValue(key, new_value)
update.commitChanges()
except Exception as e:
error(e)
if update.hasByName(key) and current_value:
update.setPropertyValue(key, current_value)
update.commitChanges()
result = False
return result
def msgbox(message: Any, title: str=TITLE, buttons=MessageBoxButtons.BUTTONS_OK, \
type_message_box=MessageBoxType.INFOBOX) -> int:
"""Create message box
:param message: Any type message, all is converted to string.
:type message: Any
:param title: The title for message box
:type title: str
:param buttons: A combination of `com::sun::star::awt::MessageBoxButtons <https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1awt_1_1MessageBoxButtons.html>`_
:type buttons: long
:param type_message_box: The `message box type <https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1awt.html#ad249d76933bdf54c35f4eaf51a5b7965>`_
:type type_message_box: enum
:return: `MessageBoxResult <https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1awt_1_1MessageBoxResults.html>`_
:rtype: int
`See Api XMessageBoxFactory <http://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1awt_1_1XMessageBoxFactory.html>`_
"""
toolkit = create_instance('com.sun.star.awt.Toolkit')
parent = toolkit.getDesktopWindow()
box = toolkit.createMessageBox(parent, type_message_box, buttons, title, str(message))
return box.execute()
def question(message: str, title: str=TITLE) -> bool:
"""Create message box question, show buttons YES and NO
:param message: Message question
:type message: str
:param title: The title for message box
:type title: str
:return: True if user click YES and False if click NO
:rtype: bool
"""
buttons = MessageBoxButtons.BUTTONS_YES_NO
result = msgbox(message, title, buttons, MessageBoxType.QUERYBOX)
return result == YES
def warning(message: Any, title: str=TITLE) -> int:
"""Create message box with icon warning
:param message: Any type message, all is converted to string.
:type message: Any
:param title: The title for message box
:type title: str
:return: MessageBoxResult
:rtype: int
"""
return msgbox(message, title, type_message_box=MessageBoxType.WARNINGBOX)
def errorbox(message: Any, title: str=TITLE) -> int:
"""Create message box with icon error
:param message: Any type message, all is converted to string.
:type message: Any
:param title: The title for message box
:type title: str
:return: MessageBoxResult
:rtype: int
"""
return msgbox(message, title, type_message_box=MessageBoxType.ERRORBOX)
class LOInspect():
"""Class inspect
Inspired by `MRI <https://github.com/hanya/MRI/releases>`_
"""
TYPE_CLASSES = {
'INTERFACE': '-Interface-',
'SEQUENCE': '-Sequence-',
'STRUCT': '-Struct-',
}
def __init__(self, obj: Any, to_doc: bool=False):
"""Introspection objects pyUno
:param obj: Object to inspect
:type obj: Any pyUno
:param to_doc: If show info in new doc Calc
:type to_doc: bool
"""
self._obj = obj
if hasattr(obj, 'obj'):
self._obj = obj.obj
self._properties = ()
self._methods = ()
self._interfaces = ()
self._services = ()
self._listeners = ()
introspection = create_instance('com.sun.star.beans.Introspection')
result = introspection.inspect(self._obj)
if result:
self._properties = self._get_properties(result)
self._methods = self._get_methods(result)
self._interfaces = self._get_interfaces(result)
self._services = self._get_services(self._obj)
self._listeners = self._get_listeners(result)
self._to_doc(to_doc)
def _to_doc(self, to_doc: bool):
if not to_doc:
return
doc = LODocuments().new()
sheet = doc[0]
sheet.name = 'Properties'
sheet['A1'].data = self.properties
sheet = doc.insert('Methods')
sheet['A1'].data = self.methods
sheet = doc.insert('Interfaces')
sheet['A1'].data = self.interfaces
sheet = doc.insert('Services')
sheet['A1'].data = self.services
sheet = doc.insert('Listeners')
sheet['A1'].data = self.listeners
return
def _get_value(self, p: Any):
type_class = p.Type.typeClass.value
if type_class in self.TYPE_CLASSES:
return self.TYPE_CLASSES[type_class]
value = ''
try:
value = getattr(self._obj, p.Name)
if type_class == 'ENUM' and value:
value = value.value
elif type_class == 'TYPE':
value = value.typeName
elif value is None:
value = '-void-'
except:
value = '-error-'
return str(value)
def _get_attributes(self, a: Any):
PA = {1 : 'Maybe Void', 16 : 'Read Only'}
attr = ', '.join([PA.get(k, '') for k in PA.keys() if a & k])
return attr
def _get_property(self, p: Any):
name = p.Name
tipo = p.Type.typeName
value = self._get_value(p)
attr = self._get_attributes(p.Attributes)
return name, tipo, value, attr
def _get_properties(self, result: Any):
properties = result.getProperties(ALL)
data = [('Name', 'Type', 'Value', 'Attributes')]
data += [self._get_property(p) for p in properties]
return data
def _get_arguments(self, m: Any):
arguments = '( {} )'.format(', '.join(
[' '.join((
f'[{p.aMode.value.lower()}]',
p.aName,
p.aType.Name)) for p in m.ParameterInfos]
))
return arguments
def _get_method(self, m: Any):
name = m.Name
arguments = self._get_arguments(m)
return_type = m.ReturnType.Name
class_name = m.DeclaringClass.Name
return name, arguments, return_type, class_name
def _get_methods(self, result: Any):
methods = result.getMethods(ALL)
data = [('Name', 'Arguments', 'Return Type', 'Class')]
data += [self._get_method(m) for m in methods]
return data
def _get_interfaces(self, result: Any):
methods = result.getMethods(ALL)
interfaces = {m.DeclaringClass.Name for m in methods}
return tuple(zip(interfaces))
def _get_services(self, obj: Any):
try:
data = [str(s) for s in obj.getSupportedServiceNames()]
data = tuple(zip(data))
except:
data = ()
return data
def _get_listeners(self, result: Any):
data = [l.typeName for l in result.getSupportedListeners()]
return tuple(zip(data))
@property
def properties(self):
return self._properties
@property
def methods(self):
return self._methods
@property
def interfaces(self):
return self._interfaces
@property
def services(self):
return self._services
@property
def listeners(self):
return self._listeners
class Dates(object):
"""Class for datetimes
"""
_start = None
@classmethod
def now(cls):
"""Current local date and time
:return: Return the current local date and time, remove microsecond
:rtype: datetime
"""
return datetime.datetime.now().replace(microsecond=0)

View File

@ -0,0 +1,11 @@
#!/usr/bin/env python3
# UNO Enum
class MessageBoxType():
"""Class for import enum
`See Api MessageBoxType <https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1awt.html#ad249d76933bdf54c35f4eaf51a5b7965>`_
"""
from com.sun.star.awt.MessageBoxType \
import MESSAGEBOX, INFOBOX, WARNINGBOX, ERRORBOX, QUERYBOX

View File

@ -2,6 +2,7 @@
# coding: utf-8
import unittest
from tempfile import NamedTemporaryFile
import easymacro as app
from test_config import *
@ -94,23 +95,52 @@ class TestVars(BaseTest):
result = app.LANG
self.assertEqual(result, expected)
def test_11_info_debug(self):
expected = str
result = app.INFO_DEBUG
self.assertIsInstance(result, expected)
# ~ class TestTools(BaseTest):
# ~ def test_create_instance_not_exists(self):
# ~ result = app.create_instance('no.exists.zaz')
# ~ self.assertIsNone(result)
class TestTools(BaseTest):
# ~ def test_create_instance(self):
# ~ result = app.create_instance('com.sun.star.frame.Desktop')
# ~ self.assertIsNotNone(result)
def test_01_debug_one_message(self):
result = app.debug('Work fine')
self.assertIsNone(result)
# ~ def test_set_get_config(self):
# ~ expected = 'TEST'
# ~ result = app.set_config('test', 'TEST', 'test')
# ~ self.assertTrue(result)
# ~ result = app.get_config('test', '', 'test')
# ~ self.assertEqual(result, expected)
def test_02_debug_some_messages(self):
result = app.debug('One', 'Two', 'Three')
self.assertIsNone(result)
def test_03_error_message(self):
result = app.error('Not working...')
self.assertIsNone(result)
def test_04_info_one_message(self):
result = app.info('PyUno')
self.assertIsNone(result)
def test_05_info_some_message(self):
result = app.info('Calc', 'Writer', 'Calc')
self.assertIsNone(result)
def test_06_save_log(self):
data = 'Test Data'
with NamedTemporaryFile() as f:
result = app.save_log(f.name, data)
self.assertTrue(result)
def test_07_create_instance_not_exists(self):
result = app.create_instance('no.exists.zaz')
self.assertIsNone(result)
def test_08_create_instance(self):
result = app.create_instance('com.sun.star.util.PathSettings')
self.assertIsNotNone(result)
def test_09_get_app_config(self):
expected = LIBO_NAME
result = app.get_app_config('org.openoffice.Setup/Product', 'ooName')
self.assertEqual(result, expected)
if __name__ == '__main__':