Extend Support for Border Manipulation Properties in Word Online
Hello Team,
We are developing an Office Add-in that manipulates style border properties (e.g., outsideBorderType, outsideBorderWidth, and outsideBorderColor) to customize table and paragraph formatting in Word. Our testing shows that when running our code on the desktop version of Word these properties are populated and function as expected. However, when executing the same code in Word Online, the aforementioned border properties remain undefined.
Reference to Documentation:
We followed the guidelines provided in the Word.BorderCollection documentation, which indicates that this functionality is part of the [API set: WordApiDesktop 1.1].
Request for Clarification:
- Are these border manipulation properties intended to be supported in Word Online?
- If they are currently unsupported, are there any plans to extend this functionality to the online environment?
- Alternatively, if this behavior is unintended or represents a bug, could you provide guidance or recommended workarounds?
Additional References and Test Project:
To further illustrate the issue, we have prepared videos and screenshots demonstrating the differing behavior between Word Desktop and Word Online:
- https://informationmappingintl-my.sharepoint.com/:v:/g/personal/ranisimov_informationmapping_com/EVwCDvJkZ4ZNgn5Ug3ZD4cMBAlsPn77WfDavRVnQJSzWkQ?e=BOXcg1&nav=eyJwbGF5YmFja09wdGlvbnMiOnt9LCJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJUZWFtcyIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJwb3N0cm9sbC1jb3B5bGluayIsInJlZmVycmFsUGxheWJhY2tTZXNzaW9uSWQiOiI1MjYyNWYzMy1kNjU5LTQzNjUtOGQzMy0wYWVmMjY4NmM1NzIifX0%3D
- https://informationmappingintl-my.sharepoint.com/:v:/g/personal/ranisimov_informationmapping_com/EQhtUTEZT2xEuwWohnBWJQwBxssR9B_JCKZlS3nqrRftiQ?e=3P6dh8&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D
Additionally, we have attached a test project (https://informationmappingintl-my.sharepoint.com/:u:/g/personal/ranisimov_informationmapping_com/EbxiR6xkYAZEjLn9JEMpd6gBYwuYK9gFGS9445-nx2OfUA?e=iZ3ycY) that reproduces the issue. To run the test project:
- Open the project in Visual Studio Code.
- Run npm install in the terminal.
- Run npm start.
Thank you for your time and assistance. We look forward to your feedback, as resolving this issue would help ensure a consistent experience for our users across all platforms.
Sincerely,
Bart
1 Comment
- bdefourCopper Contributor
URL of the Documentation for the Word.BorderCollection class we followed:
https://learn.microsoft.com/en-us/javascript/api/word/word.bordercollection?view=word-js-preview