word
2 TopicsHow to trigger in Office Read-only yellow ribbon message?
Hi, Is there a way how i can show/trigger in Office (Word, Excel) a yellow ribbon message "Read-only This document was opened in read-only mode..."? I have my custom WebDAV server where i serve my files (Word, Excel files) Already tried: - To return 403 Forbidden on LOCK. (didnt worked) - Removed MS-Author-Via Header (Didnt worked) Also is there a way how i can show that Session is expired?1.8KViews0likes2CommentsOn dropping text/html content to MS Word document the mso-element is not recognized
When i select text (text/html MIME type) from WYSIWYG editor and drop it to Word document all tags (like <span>) with styles are converted to Word document ooxml except the fields mso-element:field-begin in <span>... Is there a way how they can be also rendered after i drop the html? The html that i try to drop: <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <body> <span style="color: red;"> <span style="mso-element:field-begin"></span> IF ""="" "YES" "NO" <span style="mso-element:field-separator"></span>YES<span style="mso-element: field-end"></span> </span> </body> </html> The result that i get: IF ""="" "YES" "NO" YES (Text color is red) Expected result: Word field YES (Text color is red) Also i discovered if i create a file (drop.html) on my computer with the same html content from above and drop it to MS Word document then it creates YES mso field like it is expected.1.5KViews0likes0Comments