Catatan Aspose Word

Aspose.word merupakan library untuk mengedit file microsoft office .docx. Sebenernya microsoft tidak mengeluarkan dokumentasi resmi API microsoft word. Dan file microsoft word dibuat sesuah mungkin untuk di edit (obfuscate). Makanya ada library open source bernama Apache POI (Poor Obfuscation Implementation) untuk mengedit file .docx (seperti Aspose.Word)

// TODO

Custom Numbering/Bullet

        com.aspose.words.List docList = doc.getLists().get(0);


        docList.getListLevels().get(2).setNumberStyle(NumberStyle.ARABIC);
        docList.getListLevels().get(2).setNumberFormat("\u0002)");

Spasi Numbering/Bullet

        if(paragraph.getListFormat().getListLevelNumber() == 0) {
            paragraph.getParagraphFormat().setFirstLineIndent(FIRST_LINE_INDENT_PT);
            paragraph.getParagraphFormat().setLeftIndent(LEFT_INDENT_PT);
        }

Header Tidak Jalan

Herbert Abdillah

Test

Recent Posts

Langchain JsonOutputParser Invalid json output Error

Sometimes json output from llm like this : {“key”: “value”}“` that langchain JsonOutputParser regex cant…

1 year ago

Ada Apa Didalam Sistem Operasi (Linux). Apa yang membedakan distribusi Linux seperti Ubuntu, Redhat, Alpine?

#include <stdio.h> int main() { FILE *f_ptr; char f_content[256]; char output[512]; f_ptr = fopen("/tmp/1337", "r");…

2 years ago

Convert OpenSSL 1 in Ruby Gem to OpenSSL 3

Version 3 have different interface Example: https://github.com/herbertabdillah/fabric-gateway-ruby/commit/c7377aaf2e62de1e2ac309965a09b5c7c72a2c7e

2 years ago

Catatan Belajar Ruby on Rails dari aliran Java dan Php

Telah di edit. Sumber Asli : https://twitter.com/nateberkopec/status/1250603032523370496/photo/1 Ruby on Rails merupakan framework web MVC menggunakan bahasa…

4 years ago

Deploy Spring Boot di Tomcat dan Berbagai Application Server Lain

Sebenernya spring boot sudah di embedd applicatoin server tomcat (hanya berisi web container, tidak bisa…

4 years ago

Mikrotik Custom DNS Record

// TODO IP -> DNS Static. Add New IP -> Firewall -> NAT. Klik Add New Action:…

4 years ago