小笠原です。

すごい乱暴なのですが、Linux (Ubuntu)の場合、

/opt/libreoffice5.2/share/Scripts/python/LibreLogo/LibreLogo.py

の394行目のコメントを含んだ4行:

    # convert to paragraphs
    __dispatcher__(".uno:ExecuteSearch",
(__getprop__("SearchItem.SearchString", r"\n"),
__getprop__("SearchItem.ReplaceString", r"\n"), \
        __getprop__("Quiet", True), __getprop__("SearchItem.Command", 3),
__getprop__("SearchItem.StyleFamily", 2), \
        __getprop__("SearchItem.AlgorithmType", 1),
__getprop__("SearchItem.RowDirection", 1),
__getprop__("SearchItem.SearchFlags", 65536)))

をコメントアウトすると "\n" が挿入されなくなりました。

"SearchItem.ReplaceString" に渡す引数が間違ってるんじゃないかと
思うのですが、どうすべきかはまだ調べられていません。

バグレポートいただいたら追記しようと思いますのでお願いできますか。

# LibreLogoはPythonで書かれているので、こんな風に自分でデバッグ
# がやりやすくて楽しいですね。

[以上]
-- 
-- 
Naruhiko Ogasawara ([email protected])

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

メールによる返信