Recently, I would like to use the “edit mode” of Office Online Server to open the Microsoft Word file as follows:
http://office-online/we/wordeditorframe.aspx?WOPISrc=...&access_token=...
However, I notice that there is no gap between two consecutive pages, please see the following screenshot.
In addition, when I use the “view mode” to view a word document with wordviewframe.aspx, the presentation of page is normal.
http://officeonline/wv/wordviewerframe.aspx?WOPISrc=...&access_token=...
But this time I discover that the Edit in Browser button(in the top right-hand corner)cannot be used.
I have added the attributes such as
HostEditUrl
, EditModePostMessage
in CheckFileInfo
described in official document.
So I have two questions:
1) How to let “edit mode” own the style of “view model”? Namely, there is some space between two word page.
2) How to switch to edit-mode from view mode?
Thanks very much.