<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-editor</artifactId>
<version>20.11</version>
</dependency>
compile(group: 'com.groupdocs', name: 'groupdocs-editor', version: '20.11')
<dependency org="com.groupdocs" name="groupdocs-editor" rev="20.11">
<artifact name="groupdocs-editor" ext="jar"/>
</dependency>
libraryDependencies += "com.groupdocs" % "groupdocs-editor" % "20.11"
ドキュメントアノテーターJava High Code API
製品ページ | ドキュメント | デモ | APIリファレンス | 例 | ブログ | 無料サポート | 一時ライセンス
JavaのGroupDocseditorは、多くの一般的なドキュメント形式のドキュメント編集を実行するのに役立つJavaクラスライブラリです。それに応じて言語とロケール情報を設定して、多言語文書を編集します。 Java APIを介してより快適な編集体験をするために、ページレスまたはページモードを有効にします。メールアドレスとurisを検出します。
Document Editor Java On Premise API機能
編集は両方のフローページレスモードページングページのモードで実行できます。
多言語のドキュメント編集のために、言語 /ロケール情報を取り出して作業します。
フォント情報を抽出する機能により、さまざまな環境で同じ編集とドキュメントの外観が可能になります。
マルチタブ付きスプレッドシートの編集中に、現在のワークシートのインデックスを指定します。 -Comma分離値(「CSV」)およびTAB分離値(「TSV」)ファイルの編集中にセパレーターを指定します。
メモリ使用の最適化大規模な「CSV」および「TSV」ファイルを使用しています。
xml
ファイルの誤ったドキュメント構造を修正します。URIとメールアドレスを認識する機能。
編集制限の適用でドキュメントに保護を追加します。
サポートされているドキュメント編集ファイル形式
Microsoft word&reg;: doc/docx/docm/dot/dotm/dotx/flatopc/rtf/wordml
OpenOffice Writer&Reg;: odt/ott
Windows Excel&Reg;: xls/xzlt/xlsx/xlsm/xltx/xltm/xlsb/xlam
OpenOffice calc&reg;: sxc/ods/fods
starcalc: dif
Nintendo&Reg; DSエミュレータ: dsv
Windwos PowerPoint&EG;: PPT/PPTX/PPTM/PPS/PPSX/PPSM/POT/POTX/POTM
OpenOffice Impress&Reg;: odp/otp
テキスト: txt/csv/tsv
マークアップ: HTML/XML
サポートされている自動検出ファイル形式
Microsoft Word&Reg;: doc/docx/docm/dot/dotm/dotx/rtf
OpenOffice Writer&Reg;: odt/ott
Windows Excel&Reg;: xls/xzlt/xlsx/xlsm/xltx/xltm/xlsb/xlam
OpenOffice calc&reg;: sxc/ods/fods
Windwos PowerPoint&EG;: PPT/PPTX/PPTM/PPS/PPSX/PPSM/POT/POTX/POTM
OpenOffice Impress&Reg;: odp/otp
詳細と制限については、サポートされているドキュメント形式をご覧ください。
システム要求
- Microsoft Windows Windows Desktop&Server(x86、x64)、Microsoft Azure
- macOS: Mac OS X
- linux: ubuntu、opensuse、centosなど
- javaバージョン:
j2se 6.0(1.6)
、j2se 7.0(1.7)
、j2se 8.0(1.8)
以下(たとえばJava 10)
JavaのGroupDocs.editorは、外部ソフトウェアまたはサードパーティのツールをインストールする必要はありません。 インストールと構成で説明されている方法の1つに従ってください。
始めましょう
GroupDocsは、GroupDocsリポジトリですべてのJava APIをホストしています。簡単な構成を使用して、MavenプロジェクトでGroupDocs.editorをJava APIに簡単に使用できます。詳細な手順については、Mavenを使用したGroupDocsリポジトリからのインストールドキュメントページをご覧ください。
サンプルjavaコードをサンプル「txt`ファイルを編集します
TextEditOptions editOptions = new TextEditOptions();
editOptions.setEncoding(StandardCharsets.UTF_8);
editOptions.setRecognizeLists(true);
editOptions.setLeadingSpaces(TextLeadingSpacesOptions.ConvertToIndent);
editOptions.setTrailingSpaces(TextTrailingSpacesOptions.Trim);
editOptions.setDirection(TextDirection.Auto);
EditableDocument beforeEdit = editor.edit(editOptions); // Create EditableDocument instance
String originalTextContent = beforeEdit.getContent(); // Get HTML content
String updatedTextContent = originalTextContent.replace("text", "EDITED text"); // Edit content
List<IHtmlResource> allResources = beforeEdit.getAllResources(); // Get resources (only one stylesheet actually in this case)
//Finally, create new EditableDocument
EditableDocument afterEdit = EditableDocument.fromMarkup(updatedTextContent, allResources);
製品ページ | ドキュメント | デモ | APIリファレンス | 例 | ブログ | 無料サポート | 一時ライセンス
File | Classifier | Size |
---|---|---|
groupdocs-editor-20.11-javadoc.jar | javadoc | 626.26 KB |
groupdocs-editor-20.11.jar | 138.53 MB | |
groupdocs-editor-20.11.pom | 1.97 KB |
GroupDocs.Total GroupDocs.Editor API on premise DOC DOCX DOCM DOT DOTM DOTX FlatOPC RTF WordML ODT OTT XLS XZLT XLSX XLSM XLTX XLTM XLSB XLAM SXC ODS FODS DIF DSV PPT PPTX PPTM PPS PPSX PPSM POT POTX POTM ODP OTP TXT CSV TSV HTML XML flow pageless paged paginal edit editor editing locale language multi lingual comma separated values tab-separated tab comma-separated URI email restrictions protection document automation windows macOS Linux J2SE azure document automation