Hi there,
I’m developing a php-based web application which should (1) generate docx, pdf and pdf/a files from a docx-template from which some text variables should be replaced and other text blocks should be discarded.
In these generated pdf and pdf/a documents, (2) straight solid horizontal lines should programmatically be drawn from the end of every text line to the right page margin. (or maybe it would be possible to do this within a docx document which could be converted to a pdf or pdf/a document)
Could the above requirements be met when using Aspose.PDF Cloud PHP SDK and Aspose.Words Cloud PHP SDK? Maybe by detecting the coordinates of the end of each line or maybe by detecting each line break?
https://docs.aspose.com/pdf/net/determine-line-break/ seems like a possible solution but it’s the .NET solution…
If so, where can I find the documentation to do so (especially when it comes to drawing these lines) and if not, is it possible to extract all of the text from an existing pdf document line by line?
If that also couldn’t be done, what other solution could Aspose provide for the above requirements?
I was also wondering whether the PHP SDK for Words and PDF provide the same functionality as (for example) the similar Java or .NET solutions…