Home > front end >  Jquery. Wordexport. Js plug-in export Word how to set the default view for the page views, and set t
Jquery. Wordexport. Js plug-in export Word how to set the default view for the page views, and set t

Time:12-03

When using jquery. Wordexport. Js plug-in export word when two problems, the consult
1, download the file by default open view as a web layout view, how can set to the default page view
2, can't set the margins, is always the default page, could you tell me how to set up

CodePudding user response:

Have a great god give directions? I also encountered this problem

CodePudding user response:

1, open the jquery. Wordexport. Js
2, find a MHTML node, the original model is: "Web format view
"Have replaced the original content is as follows:
MHTML: {
Top: "Mime - Version: 1.0 \ nContent - Base:" + location. The href + "\ nContent -type: Multipart/related; A boundary=\ "NEXT. ITEM - a boundary "; Type=\ \ "text/HTML" \ n \ n - NEXT ITEM - a BOUNDARY \ nContent - type: text/HTML. Utf-8 charset=\ '\ \ "nContent - Location:" + Location. Href + "\ n \ n \ n + "
"" ,
The head: "& lt; head> \ n \ n_styles_ \ n</style> \ n Print False False False False EN - US Useful - CN X - NONE MicrosoftInternetExplorer4 & lt;/w: BrowserLevel> \ n ",
Body: "& lt; body> _body_ & lt;/body>"
}

This is ok, don't thank
  • Related