Replies: 8 comments 10 replies
-
Is there more to your question than you are asking? I can certainly add an RTL text run to a comment, and it will display RTL. Is your problem that the overall comment is aligned LTR? Or are you having trouble with mixed RTL and LTR? Or some other problem? |
Beta Was this translation helpful? Give feedback.
-
Hi The comments are always both aligned LTR and aligned left. $objPhpSpreadsheet->getActiveSheet()->getStyle("A1")->getAlignment()->setReadorder(Alignment::READORDER_RTL); but this does not affect the comment. Can you share an example of how i can get the comment to be both RTL and Aligned right? |
Beta Was this translation helpful? Give feedback.
-
There is not currently a way to right-align the comment. I think I see how it might be done on write; however, reading and recognizing that a comment is right-aligned looks like it would be considerably more difficult. I am investigating. |
Beta Was this translation helpful? Give feedback.
-
Should be fixed by PR #4006. |
Beta Was this translation helpful? Give feedback.
-
Should i do anything in my code to get this to work? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you, I have downloaded and what you show matches what I see. I will work with that. However, I'm still not sure about the 2 "messed up" lines I show above - the lines with |
Beta Was this translation helpful? Give feedback.
-
See PR #4065. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to set a Cell Comment to RTL?
Please note I'm not talking about the cell's content but a comment added by createTextRun().
Thanks
Beta Was this translation helpful? Give feedback.
All reactions