My task is:
Java program exports in .docx a List of Strings.
Each String is written in separate paragraph.
Each this String with must have in the document some kind of ID-number
or some other marker, so user can not change the relationship ID to String.
ID can be displayed as a digit whitch a user can not change, or ID can be invisible.
As a user copys or moves Text, the ID must move with it.
After a work with a .docx File user will have the Strings in wrong order,
but the Java-programm must know the right order according to the IDs.
My idea was to do that on docx4j lib but i m not sure how exactly i must implement the IDs.
My very last idea is to set a SmartTags on each Character on String.
I have heard about another solution with Programmatik tags but i m not sure how to use it.
I will be very grateful of someone answer me because thats my bachelor thesis...