マクロ/Writer
Appearance
< Macros
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
LibreOffice Writer では次のマクロの例を提供しています。
データの書き込み
| No. | 例 | Basic | Python | JavaScript |
|---|---|---|---|---|
| 001 | Insert a string in the cursor position | Go | Go | ToDo |
| 002 | Insert a image in current cursor position | Go | Go | ToDo |
その他
| LibreOffice Basic | Python | JavaScript |
|---|---|---|
| Macro for mail merging with a SQLdatabase | なし | なし |
| Macro for inserting comments with preset settings | なし | なし |
| Macro for pasting unformatted text, skipping line breaks and styles | なし | なし |
| Macro for updating indices (like TOC) | なし | |
| Macro for identifying text between two boundary strings | なし | なし |
テーブル操作
| LibreOffice Basic | Python | JavaScript |
|---|---|---|
| Macro for table borders adjustments | なし | |
| Macro for sorting alphabetically table columns, ascending or descending | なし | なし |
| Macro for conversion of text to table | なし | なし |
| Macro for identifying DDE-linked tables | なし | なし |
数式
Macros for Math は、Writer ドキュメントに数式が含まれている場合に使用できます。
LibreOffice Basic
Basic をマクロ言語として使用する場合は、LibreOffice Basic Help を参照してください。
Python
Pythonをマクロ言語として使用する場合の概要については、 Python Scripts Help を参照してください。
JavaScript
JavaScript をマクロ言語として使用する場合は、 JavaScript マクロ - (日本語のまとめサイト Macroの杜) - を参照してください。