Watermark ODT File Online Or via Android Application
Develop powerful android based ODT document Watermarking applications. Freely Watermark various documents including ODT files online via app with instant download.
Watermark ODT Files Online using App
- Upload ODT files to Watermark
- Write the Watermark Text
- Choose relevant color
- Click the “Watermark” button
- Download the Watermarked ODT file
Watermark ODT File via Android Apps
- Add Java library reference within your project
- Load file the via Document class object
- Create TextWatermarkOptions class object
- Set options like font, color, layout
- Use getWatermark().setText with watermark text and options as parameters
- Call save method and get the Watermarked ODT file
- In case of Image Watermark, Create ImageWatermarkOptions class object
- Use getWatermark().setImage with image and watermark options
Java Code : Add Text Watermark to ODT Files
Document wordDoc = new Document("AddTextWatermark.docx"); | |
TextWatermarkOptions watermarkOptions = new TextWatermarkOptions(); | |
watermarkOptions.setFontSize(36); | |
watermarkOptions.setFontFamily("Arial"); | |
watermarkOptions.setColor(Color.RED); | |
watermarkOptions.setLayout(WatermarkLayout.DIAGONAL); | |
watermarkOptions.isSemitrasparent(true); | |
wordDoc.getWatermark().setText("CONFIDENTIAL", watermarkOptions); | |
wordDoc.save("inserted-text-watermark.docx"); |
Java Code : Add Image Watermark to ODT Documents
Document WordFile = new Document("AddImageWatermark.docx"); | |
ImageWatermarkOptions watermarkOptions = new ImageWatermarkOptions(); | |
watermarkOptions.isWashout(false); | |
BufferedImage image = ImageIO.read(new File("logo.png")); | |
WordFile.getWatermark().setImage(image, watermarkOptions); | |
WordFile.save("inserted-image-watermark.docx"); |
Develop ODT File Watermarking Application for Android
Need to develop android utility application to easily watermark multiple ODT files? With
Aspose.Words for Android via Java
, child API of
Aspose.Total for Android via Java
, any android mobile developer can integrate the above API code to program watermarking app across documents. Powerful android library for document watermarking supports many popular formats including ODT format.
Android Watermark Library for ODT Files
- We host our Java packages in Maven repositories .
- Aspose.Words for Java is a common JAR file containing byte-code.
- Follow the step-by-step instructions on how to install Aspose.Words for Android via Java.
System Requirements
- Java SE 7 and more recent Java versions are supported.
- Separate package for Java SE 6 in case one is obliged to use outdated JRE.
- Java package is cross-platform and runs on all operating systems with JVM implementation.
- Operating systems include Microsoft Windows, Linux, macOS, Android and iOS.
For more details about optional package dependencies, such as JogAmp JOGL, Harfbuzz font engine, Java Advanced Imaging JAI please refer to Product Documentation .