Hello, I have problem with compare logic between document in case when I add lists to documents with different styles. After exporting result I do not see any differences (revision collection is empty).
Here is the example of code which generate results which I do not expect.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.getListFormat().applyNumberDefault();
builder.writeln("Item 1");
builder.writeln("Item 2");
builder.getListFormat().removeNumbers();
Document doc2 = new Document();
DocumentBuilder builder2 = new DocumentBuilder(doc2);
builder2.getListFormat().applyBulletDefault();
builder2.writeln("Item 1");
builder2.writeln("Item 2");
builder2.getListFormat().removeNumbers();
CompareOptions compareOptions = new CompareOptions();
compareOptions.setGranularity(Granularity.CHAR_LEVEL);
doc.compare(doc2, "test", Date.from(Instant.now()), compareOptions);
doc.save("compare.pdf");
Also when I generate 2 documents in that way word also cannot detect any change but I have no idea why because I see it