Date: prev next · Thread: first prev next last


鎌滝です。

2007年ころ、「文字の均等割り付け」マクロを公開された方がおり、
それを元に拡張機能を公開したことがありました。

http://hermione.s41.xrea.com/pukiwiki/index.php?OOobbs2%2F32

意外に需要があるようで、以下のようにLibreOfficeでの利用を紹介
されている方もいらっしゃいました。

http://kyankyan.net/?p=3680

ところが、LibreOffice 4以降動かなくなったという事を、OSC浜名湖の参
加者とのやりとりなどで知り、その場で対処方法をTwitterで流しました。

https://twitter.com/oooug_kamataki/status/447288761995374592

そもそも原著者のマクロで段落スタイルを決め打ちしている部分に問題が
あったので、選択文字列のスタイル名をマクロで取得するよう変更(さがし
たらOOoForumで見つけました)したものを元に再拡張機能化しました。

今回は、拡張機能の登録時のライセンス認証、拡張機能マネージャ上で
簡単な使い方を紹介、ツールメニューへのアドオンメニューの追加など、
そこそこ使いやすいようにも改善しています。以下のWikiに添付した
JapaneseJustify.oxt は新しいものに更新済みです。

http://hermione.s41.xrea.com/pukiwiki/index.php?OOobbs2%2F32

フォントが10.5ポイントの場合だけ、整数の変数への格納時に文字数の
丸め処理によって、正確な文字数が出ません。12文字以上の選択文字列
の数が少なくなります。

これ以外にもなにか問題があればご指摘いただければと思います。特に
問題がなければ、LibreOffice日本語チームの作成するCDに収録をお願い
したいと思っています。
(コードが汚いのは、ホテルの建て増しのような不具合修正のせいなので
ご容赦を)

ではでは。

-- 
M.Kamataki
特定非営利活動法人オーユージー
http://oooug.jp/
※OpenOffice.org日本ユーザー会は法人名を変更しました

-- 
Unsubscribe instructions: E-mail to users+unsubscribe@ja.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.