-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to place different styled text in one string? #11
Comments
Hi, that is currently not possible. I would have needed that myself already a couple of times but was always afraid of the effort :/ |
I think this problem can be solved by creating of renderable list what containing renderable elements. All elements of this list should be rendered one after another. What do you think about this? The problem for justify alignment. |
Well we could go for "inline elements" only, so all subclasses of I don't think this would help for #9, because of the "more intelligent indentation" required for multiline bullet point values. But having this "sequence of inline elements" sure could be used as the basis for other elements. But special ligature handling etc. will be an issue, but an issue to deal with at a later point in time |
By talking about #9 i mean text flowing around indent (like in Word document). If indent element will be "inline element" ( This solution not for bullet point lists. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Copying some logic over from https://github.com/ralfstuckert/pdfbox-layout might be a good starting point |
For example, I want to make some part of text bold styled:
This text contains bold part.
Calling
pagesSet.addElement(new PLText(lorem, italicFont12));
will add string with specified font. New call ofpagesSet.addElement
wall add new string.PLText
don't support markups. Also there is not element what containing list ofPLText
.Is it possible to solve this problem with current functional?
The text was updated successfully, but these errors were encountered: