legacy-knowledge-base
公開されました Jul. 2, 2025

LibreOfficeでWikiをPDFに書き出すことができない。

written-by

Amit Tiwari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

再現するための手順
1) Liferay DXPが動作しているマシンにOpenOfficeをインストールしておく。
2) 以下のコマンドでヘッドレスOpenOfficeを起動します。

soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard

3) Liferay DXPを起動する
4) コントロールパネル → サーバ管理 → 外部サービス(masterではシステム設定に移動)
5) Wikiポートレットをページ上に配置し、Wikiページを追加する。
6) Asset Publisher ポートレットがあるページを用意する
7) Asset Published で Wiki ページを表示するように設定し、Display Settings で PDF への変換を有効にする。
8) Wiki ページをクリックして詳細を見る。 ハイパーリンクのPDFがあるはずです。
9) ハイパーリンクのPDFをクリックし、Liferayのログファイルを見ます。
期待される結果: エラーなし、変換成功
実際の結果です: ログにエラーが表示され、変換されない:

2021-06-17 17:45:13,646 WARN [MVCPortlet:312] No render mappings found for MVC render command name "/wiki/export_page" for portlet com_liferay_wiki_web_portlet_WikiPortlet
2021-06-17 17:45:13,649 ERROR [MVCPortlet:592] null is not a valid include

Environment

  • Liferay DXP 7.0

解決策

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base