PPTX DOCX XLSX PDF ODP
Aspose.PDF  for Java
PDF

<% table-add.upper-banner.h1 %>

<% table-add.upper-banner.h2 %>

<% table-add.content-instruction01.title %>

<% table-add.content-instruction01.content-01 %>

Repository

<repository>
    <id>AsposeJavaAPI</id>
    <name>Aspose Java API</name>
    <url>https://repository.aspose.com/repo/</url>
    </repository>
    

 

Dependency

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-pdf</artifactId>
    <version>version of aspose-pdf API</version>
    <classifier>jdk17</classifier>
    </dependency>
    

 

<% table-add.feature-section-col1.title %>

<% table-add.feature-section-col1.content-01 %>

<% table-add.json-ld-howto.text %>

<% table-add.feature-section-col2.title %>

<% table-add.feature-section-col2.content-01 %>

<% table-add.feature-section-col2.content-02 %>

 

<% table-add.code-block.title %>


    Document pdfDocument = new Document(_dataDir + "Table_input.pdf");

    // Create TableAbsorber object to find tables
    TableAbsorber absorber = new TableAbsorber();

    // Visit first page with absorber
    absorber.visit(pdfDocument.getPages().get_Item(1));

    // Get first table on the page
    AbsorbedTable table = absorber.getTableList().get(0);

    // Remove the table
    absorber.remove(table);

    // Save PDF
    pdfDocument.save(_dataDir + "Table_out.pdf");
 

<% table-add.about-content.h2 %>

<% table-add.about-content.text %>

<% table-add.demo-box.sectionTitle %>

<% table-add.demo-box.sectionDescription %>

  <% table-add.democard.text1 %>
  <% table-add.democard.text2 %>
  <% table-add.democard.text3 %>
  <% table-add.democard.text4 %>