Cuir EPUB in eagar in {{ PlatformName}}

Eagarthóireacht éifeachtach agus láidir EPUB ag baint úsáide as taobh an fhreastalaí GroupDocs.Editor le haghaidh APIanna {{ PlatformName}}, gan úsáid a bhaint as aon bhogearraí ar nós Microsoft nó Open Office.


Triail saor in aisce a íoslódáil

Maidir le GroupDocs.Editor for Java API

GroupDocs.Editor for Java Is rogha cheart é API chun Microsoft Word, Excel, PowerPoint, doiciméid Open Office agus láithreoireachtaí a chur in eagar. Is API neamhspleách é GroupDocs.Editor atá oiriúnach do chórais taobh an fhreastalaí agus cúil ina bhfuil ardfheidhmíocht ag teastáil. Ní bhraitheann sé ar aon bhogearraí cosúil le Microsoft nó Open Office.

Céimeanna chun EPUB a chur in eagar in Java

Soláthraíonn GroupDocs.Editor for Java bealach éasca agus simplí d’fhorbróirí chun na comhaid EPUB a chur in eagar ag úsáid cúpla líne cód.

  • Cruthaigh sampla de rang Eagarthóir le conair éigeantach comhaid nó sruth beart agus lódáil an comhad EPUB
  • Cruthaigh & socraigh an sampla ranga EbookEditOptions don fhormáid comhaid EPUB
  • Glaoigh ar an modh Editor.Edit() agus faigh doiciméad EPUB i bhformáid HTML is furasta a chur in eagar le haon eagarthóir WYSIWYG.
  • Glaoigh ar an modh Editor.Save() agus sábháil an comhad EPUB atá curtha in eagar ag úsáid rang EpubSaveOptionsAzw3SaveOptions chun é a shábháil i bhformáidí ePub nó AZW3 faoi seach

Riachtanais Chórais

Is féidir bun-eagarthóireacht doiciméad le APIs GroupDocs.Editor for Java a dhéanamh trí roinnt céimeanna éasca a chur i bhfeidhm. Tacaítear lenár n-API ar gach mór-ardán agus córas oibriúcháin. Sula ndéanann tú an cód thíos, déan cinnte go bhfuil na réamhriachtanais seo a leanas suiteáilte ar do chóras.

  • Córais Oibriúcháin: Microsoft Windows, Linux, MacOS
  • Timpeallachtaí Forbartha: NetBeans, IntelliJ IDEA, Eclipse
  • Creataí: Java 7 (1.7) and above
  • Faigh an leagan is déanaí de GroupDocs.Editor for Java íoslódála ó Maven

// Load the EPUB file into Editor
Editor editor = new Editor("source.epub");

// Create and adjust the edit options, common for all e-book formats, including EPUB
EbookEditOptions editOptions = new EbookEditOptions();

// Open input EPUB document for edit — obtain an intermediate document, that can be edited
EditableDocument beforeEdit = editor.edit(editOptions);

// Grab EPUB document content and associated resources from editable document
string content = beforeEdit.getEmbeddedHtml();

// Send the content to WYSIWYG-editor, edit it there, and send edited content back to the server-side
// This step simulates a such operation
string updatedContent = content.replace("Adventure", "Edited Adventure");

// Grab edited content and resources from WYSIWYG-editor and create a new EditableDocument instance from it
EditableDocument afterEdit = EditableDocument.fromMarkup(updatedContent, null);

// Create and adjust the save options, separate for every e-book format
EpubSaveOptions epubSaveOptions = new EpubSaveOptions();//for ePub
Azw3SaveOptions azw3SaveOptions = new Azw3SaveOptions();//for AZW3

// Save edited EPUB document to the ePub format
editor.save(afterEdit, outputPath, epubSaveOptions);

// Save edited EPUB document to the AZW3 format
editor.save(afterEdit, outputPath, azw3SaveOptions);

EPUB Eagarthóir Beo Taispeántais

Cuir EPUB in eagar faoi láthair trí chuairt a thabhairt ar GroupDocs.Editor Live Demos. Tá na buntáistí seo a leanas ag an taispeántas beo

Ní gá API a íoslódáil

Ní gá aon chód a scríobh

Just a uaslódáil an comhad foinse

Faigh nasc íoslódála chun an comhad a shábháil

Eagarthóirí Eile Tacaithe

Is féidir leat formáidí comhaid eile a chur in eagar freisin. Féach ar an liosta iomlán thíos.

DOC

(Microsoft Word Binary Format)

DOCX

(Office 2007+ Word Document)

DOCM

(Microsoft Word 2007 Marco File)

DOTX

(Microsoft Word Template File )

XLS

(Microsoft Excel Spreadsheet (Legacy))

XLSX

(Open XML Workbook)

XLSM

(Macro-enabled Spreadsheet)

PPT

(Microsoft PowerPoint 97-2003)

PPTX

(Open XML presentation Format)

PPTM

(Macro-enabled Presentation File)

MOBI

(Open Ebook Format)

HTML

(Hyper Text Markup Language)

MHTML

(Web Page Archive Format)

TXT

(Text Document)

XML

(XML File)

CSV

(Comma Seperated Values)

RTF

(Rich Text Format)

ODT

(OpenDocument Text File Format)

MSG

(Outlook Message Item File)

EML

(E-Mail Message)

Back to top
 Gaeilge