Created attachment 96979 [details]
If you try to edit rotated text, which is imported from PDF, you will see that it can be edited only character by character.
Created attachment 96980 [details]
Visualization of the problem
Here is fix for this problem.
Image (before/after) and patch are attached.
I am planning to make some more fixes before this code will go to gerrit.
Created attachment 96981 [details]
Fix for the problem
Created attachment 97054 [details]
Another test file
A patch related to this issue has been pushed to "master":
fdo#45001 fdo#77105 PDF Import: rotated text fixes
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
(bot didn't annotate second bug in commit message)