You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
![Word,Excel,PowerPointをPDFに一括変換](https://cdn-ak-scissors.b.st-hatena.com/image/square/1ef26f6cb4349557952890dbe3e567f7f98dc151/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fassets%2Fgist-og-image-54fd7dc0713e.png)
WIN32OLEというライブラリを使うとWindowsアプリケーションを操作して自動でファイルをPDFに変換できます。 WIN32OLEについてはるびまさんの記事が詳しいです。 http://magazine.rubyist.net/?0003-Win32OLE WordをPDFに変換 word = WIN32OLE.new("Word.Application") doc = word.Documents.Open("/path/to/origin.doc") doc.ExportAsFixedFormat({ "OutputFileName" => "/path/to/output.pdf", "ExportFormat" => 17, "OpenAfterExport" => false }) doc.Close word.Quit excel = WIN32OLE.new("Exce
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く