wopi

How to let office online own the style of view mode?

|▌冷眼眸甩不掉的悲伤 提交于 2020-04-18 06:54:25
问题 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

WOPI Host implementation, trying to render doc in iframe asp.net mvc

梦想的初衷 提交于 2019-12-24 01:44:45
问题 I'm trying to get Wopi host implementation in Asp.net MVC application. Using this project https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6 I don't get any calls hitting my api Controler Discovery URL <action name="view" ext="docx" default="true" urlsrc="http://word-edit.officeapps.live.com/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><showpagestats=PERFSTATS&>" /> URL generated by my application http://word-edit.officeapps.live.com/we/wordeditorframe.aspx?WOPISrc