<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>leafcage</author_name>
  <author_url>https://blog.hatena.ne.jp/leafcage/</author_url>
  <blog_title>cafegale(LeafCage備忘録)</blog_title>
  <blog_url>https://leafcage.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>libreoffice</anon>
  </categories>
  <description>マクロのファイルは次のディレクトリ以下に.pyファイルを用意する(windows)。 C:\Users\ユーザ名\AppData\Roaming\LibreOffice\4\user\Scripts\python ポータブル版では Data/settings/user/Scripts/python 基本的に、勝手に定義されるグローバル変数 XSCRIPTCONTEXT から getDesktop() や getDocument() を呼び出して色々やってりゃいい感じ。 uno についてはよくわからない。 関数が1つのマクロの単位なので、公開するマクロ（関数）を制限したいときにはスクリプトの最後…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fleafcage.hateblo.jp%2Fentry%2F20170701%2F1498917367&quot; title=&quot;LibreOffice (OpenOffice) で python を使ってマクロを書く - cafegale(LeafCage備忘録)&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-01 22:56:07</published>
  <title>LibreOffice (OpenOffice) で python を使ってマクロを書く</title>
  <type>rich</type>
  <url>https://leafcage.hateblo.jp/entry/20170701/1498917367</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
