Bijschriften invoegen in Excel via Java
Voeg highlights in met Aspose.Cells' API zonder software zoals Microsoft of Open Office, Adobe PDF, enz.
Hoe u toelichtingen in een Excel-bestand kunt invoegen met behulp van Java
Om highlights in een Excel-bestand in te voegen, gebruiken we
API, een rijk, krachtig en gebruiksvriendelijk API for Java-platform. U kunt de nieuwste versie rechtstreeks downloaden van
en installeer het binnen uw op Maven gebaseerde project door de volgende configuraties toe te voegen aan pom.xml.
Opslagplaats
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>
Afhankelijkheid
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-cells</artifactId>
<version>version of aspose-cells API</version>
<classifier>jdk17</classifier>
</dependency>
Stappen voor het invoegen van highlights in Excel-bestand via Java
- Een werkmapobject instantiëren. (of->Laad het bestand XLSX met het volledige pad.)
- Selecteer Werkblad via de index.
- Gebruik de methode toevoegen om toelichtingen in het geselecteerde werkblad in te voegen
- Bewaar werkmap in XLSX-formaat.
systeem vereisten
Aspose.Cells for Java ondersteunt op alle belangrijke platforms en besturingssystemen. Zorg ervoor dat u aan de volgende vereisten voldoet.
- Microsoft Windows of een compatibel besturingssysteem met Java Runtime Environment voor JSP/JSF-applicatie en desktopapplicaties.
- Ontvang de nieuwste versie van Aspose.Cells for Java rechtstreeks via Maven.
Toelichtingen invoegen - Java
Overzicht van highlight-typen
![](/cells/net/shapes/insert-callouts-to-excel/speech_bubble_rectangle.png)
AutoVormType.
RECTANGULAR_CALLOUT
![](/cells/net/shapes/insert-callouts-to-excel/speech_bubble_rectangle_with_corners_rounded.png)
AutoVormType.
ROUNDED_RECTANGULAR_CALLOUT
![](/cells/net/shapes/insert-callouts-to-excel/speech_bubble_oval.png)
AutoVormType.
OVAL_CALLOUT
![](/cells/net/shapes/insert-callouts-to-excel/thought_bubble_cloud.png)
AutoVormType.
CLOUD_CALLOUT
![](/cells/net/shapes/insert-callouts-to-excel/line.png)
AutoVormType.
LINE_CALLOUT_WITH_BORDER_1
![](/cells/net/shapes/insert-callouts-to-excel/bent_line.png)
AutoVormType.
LINE_CALLOUT_WITH_BORDER_2
![](/cells/net/shapes/insert-callouts-to-excel/double_bent_line.png)
AutoVormType.
LINE_CALLOUT_WITH_BORDER_3
![](/cells/net/shapes/insert-callouts-to-excel/line_with_accent_bar.png)
AutoVormType.
LINE_CALLOUT_WITH_ACCENT_BAR_1
![](/cells/net/shapes/insert-callouts-to-excel/bent_line_with_accent_bar.png)
AutoVormType.
LINE_CALLOUT_WITH_ACCENT_BAR_2
![](/cells/net/shapes/insert-callouts-to-excel/double_bent_line_with_accent_bar.png)
AutoVormType.
LINE_CALLOUT_WITH_ACCENT_BAR_3
![](/cells/net/shapes/insert-callouts-to-excel/line_with_no_border.png)
AutoVormType.
LINE_CALLOUT_NO_BORDER_1
![](/cells/net/shapes/insert-callouts-to-excel/bent_line_with_no_border.png)
AutoVormType.
LINE_CALLOUT_NO_BORDER_2
![](/cells/net/shapes/insert-callouts-to-excel/double_bent_line_with_no_border.png)
AutoVormType.
LINE_CALLOUT_NO_BORDER_3
![](/cells/net/shapes/insert-callouts-to-excel/line_with_border_and_accent_bar.png)
AutoVormType.
LINE_CALLOUT_WITH_BORDER_AND_ACCENT_BAR_1
![](/cells/net/shapes/insert-callouts-to-excel/bent_line_with_border_and_accent_bar.png)
AutoVormType.
LINE_CALLOUT_WITH_BORDER_AND_ACCENT_BAR_2
![](/cells/net/shapes/insert-callouts-to-excel/double_bent_line_with_border_and_accent_bar.png)
AutoVormType.
LINE_CALLOUT_WITH_BORDER_AND_ACCENT_BAR_3