i'm creating a PPTX file (Download here) using docx4j. This presentation has 1 slide and there are text boxes in it. Now when i replace the variables with the text i need somehow to calculate the maximum numbers of characters which would fit in and cut off the text when the limit is reached. Currently the text overruns out of the text box. Is this possible using the docx4j libraries ?
Thanks,
Asad