question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setHorizontalAlign - TableCellProperties

See original GitHub issue

Are there any plans of implementing setHorizontalAlign for cells? If not, would it be helpful if I do a PR with the method? I think it would be similar to #146.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
supervanyacommented, Dec 26, 2019

You are right! I have discovered the same behavior on my own. Thanks for looking into it thought!

0reactions
dolanmiucommented, Nov 24, 2019

This is a non-issue

I just tried to do it in Word, and reverse engineer how Microsoft Word does it.

I have found that it simply makes the paragraph horizontally aligned

I do not think there is such thing as horizontal alignment for a table

Feel free to prove me wrong otherwise

Check the screenshot

Screen Shot 2019-11-24 at 02 49 12

Read more comments on GitHub >

github_iconTop Results From Across the Web

setVerticalAlign · Issue #146 · dolanmiu/docx - GitHub
I am trying to set the vertical alignement of a cell in my tabel to be "centre" but I am not succeeding. const...
Read more >
org.odftoolkit.odfdom.dom.element.OdfStyleBase ... - Tabnine
TableCellProperties, OdfName . ... TableCellProperties, OdfName . ... public void setHorizontalAlignment(String horizontalAlignment) { if ...
Read more >
Class SelectionBase | Telerik Document Processing API ...
Gets a value indicating whether text wrapping is used. Declaration. public RangePropertyValue<bool> GetIsWrapped() ...
Read more >
Example usage for com.lowagie.text Element ALIGN_MIDDLE
setHorizontalAlignment (Element. ... getTableCellProperties(); if (tableCellProperties == null) ... isNotEmpty(backgroundColor)) { tableCellProperties.
Read more >
TableCellProperties - (table) - CKEditor
The table cell properties feature. Enables support for setting properties of table cells (size, border, background, etc.).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found