線上或透過 Android 應用程式編輯 Powerpoint 文檔
開發功能強大的基於 Android 的 Powerpoint 簡報編輯實用程式。 列出用於搜尋和替換 Powerpoint 檔案中文字的代碼。
線上編輯 Powerpoint 簡報
- 透過上傳導入 Powerpoint 檔案。
- 透過拖放註釋應用程式在放置區域內點擊來完成此操作。
- 根據 Powerpoint 檔案的大小和網路速度,等待幾秒鐘。
- 輸入要搜尋和編輯的文本
- 輸入要編輯的替換文字
- 按下“編輯”按鈕
- 立即下載密文文件。
透過 Android 應用程式編輯 Powerpoint 文件
- 新增庫引用到android項目
- 使用Presentation類別載入Powerpoint文件
- 使用SlideUtil類別的findAndReplaceText方法
- 提供相關參數,包括尋找和取代文本
- 保存 Powerpoint 文件
程式碼:編輯 Powerpoint 簡報
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Presentation presentation = new Presentation("welcome-to-powerpoint.pptx"); | |
try { | |
SlideUtil.findAndReplaceText(presentation, true, "PowerPoint", "Aspose.Slides", null); | |
presentation.save("replaced.pptx", SaveFormat.Pptx); | |
} finally { | |
if (presentation != null) presentation.dispose(); | |
} |
開發 Powerpoint 修訂 Android 應用程式
需要開發 Powerpoint 修訂應用程式或實用程式? 借助
Aspose.Slides for Android via Java
(
Aspose.Total for Android via Java
的子 API),任何 Android 開發人員都可以將上述 API 程式碼整合到其文件編輯應用程式中。 強大的 Android 庫允許對任何文件編輯解決方案進行編程。 而且它可以支援許多流行的格式,包括Powerpoint格式。