Text frame position has to be optional
See original GitHub issueMe greetings 😃
According to my investigation the frame position properties have to be optional.
If w:x
and w:y
specified then alignment properties are ignored (w:xAlign
, w:yAlign
)
https://github.com/dolanmiu/docx/blob/853219d/src/file/paragraph/frame/frame-properties.ts#L32
Proof of the concept: Initial outlook Source code Deleted w:x & w:y Output in a proper place
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
(Legacy) InDesign CS3: Positioning Text in a Text Frame
NOTE: Choosing Justify will position the text evenly between the top and bottom of the frame. (Optional) If Justify is chosen, ...
Read more >Create text and text frames in InDesign - Adobe Support
(Optional) Select Fixed Column Width to maintain column width when you resize the frame. If this option is selected, resizing the frame can ......
Read more >Set text direction and position in a shape or text box in Word
(Optional) To remove the text box outline, right-click the text box, select Outline in the mini toolbar that appears, and choose No Outline....
Read more >Javascript: TextFrameCollection.addAnchored Method
Creates and inserts a new text frame which is anchored to the specified text position. It has the specified horizontal alignment and a ......
Read more >optional - CSS: Cascading Style Sheets - MDN Web Docs
The :optional CSS pseudo-class represents any , , or element that does not have the required attribute set on it.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What about a union type?
Marvellous! 😃