-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Text Rotation with HTML Reader #235
Comments
can you describe what does this attribute do? |
HTML writer and reader don't support text orientation, and if they did they would have to do so via standard CSS rules, such as |
I'll add the new function later. |
@bfeduclever |
Hello @GreatHumorist , I work with @bfeduclever. What we want is basically to have the ability to rotate a entire text in a cell (the second link). In <p class="vertical-rl-upright">vertical-rl-upright</p>
<p class="vertical-lr-upright">vertical-lr-upright</p>
<p class="rotation-90">rotation-90</p>
<p class="rotation-45">rotation-45</p>
<p class="rotation45">rotation45</p>
<p class="rotation90">rotation90</p> .vertical-rl-upright {writing-mode: vertical-rl; text-orientation: upright;}
.vertical-lr-upright {writing-mode: vertical-lr; text-orientation: upright;}
.rotation-90 {transform: rotate(-90deg);}
.rotation-45 {transform: rotate(-45deg);}
.rotation45 {transform: rotate(45deg);}
.rotation90 {transform: rotate(90deg);} |
Hello @GreatHumorist , Here a working html exemple : https://codepen.io/anon/pen/EwvRJX Best regards |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Too bad the request was interesting for us :( |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Html text rotation was added by PR #2960 in July 2022. |
您好,我是罗扬,您的邮件我已经收到,我会尽快回复您。
|
This is:
What is the expected behavior?
Have the text vertically from an attribute of a td
What is the current behavior?
The rotation is not done
Which versions of PhpSpreadsheet and PHP are affected?
The current version :
1.0.0-beta
The text was updated successfully, but these errors were encountered: