CN101078989A - Visio file cross-platform network browser implementation method and software - Google Patents

Visio file cross-platform network browser implementation method and software Download PDF

Info

Publication number
CN101078989A
CN101078989A CN 200710142828 CN200710142828A CN101078989A CN 101078989 A CN101078989 A CN 101078989A CN 200710142828 CN200710142828 CN 200710142828 CN 200710142828 A CN200710142828 A CN 200710142828A CN 101078989 A CN101078989 A CN 101078989A
Authority
CN
China
Prior art keywords
visio
document
platform
java
cross
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200710142828
Other languages
Chinese (zh)
Inventor
阮俊杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200710142828 priority Critical patent/CN101078989A/en
Publication of CN101078989A publication Critical patent/CN101078989A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method to construct span flatform Visio document network browser with network programming language and uniform document marking language of spam flatform, which is characterized by the following: setting Visio document browser element as the core; comprising Visio XML document analyzer, Visio XML document converter, Visio image element object library, drawing board functional library and interface library; realizing relative function of the Visio XML document span flatform network browser; connecting to the other application program with static state or dynamic mode; basing on Java; combining to an integral body on logic and function through the interface library and the application program of the element.

Description

The implementation method of Visio file cross-platform network browser and software
Technical field
The present invention relates to utilize cross-platform network programming language Java and cross-platform unified document markup Language XML to make up the method for cross-platform Visio document web browser, realize the Java library of object assembly and the browser software of this method.
Background technology
Visio is a powerful, historical comparatively long, the office's vector graphics software systems that have large customer base that Microsoft company does exploitation, manages and safeguards, but can only under the Windows operating system environment, move at present, make that the lot of V isio document that had existed already can only be consulted or print under the Windows environment.Be a dark horse at cross-platform (SuSE) Linux OS, the today that is widely used with the Java technology and the XML standard of platform independence, the Visio document has objectively limited the application and the shared scope of lot of V isio document resources to the dependence of Windows operating system, and is also incompatible with country such as China E-Government exploitation standard, international standard standard institute simultaneously.
In order to overcome the dependence of Visio to Windows operating system, particularly in document distribution, browse and function such as printing on to the dependence of Windows, be necessary to adopt and strictly regulated in the world at present by standardization body, the multi-platform software technology of in the industry cycle extensively being approved and being widely applied, particularly Java technology and XML technology, distribution to the Visio document, browse, operation and printing function are reconstructed, to strengthen the soft of Visio document viewer, hardware platform independence and be convenient to the distribution Network Based of lot of V isio document, management and the availability of sharing.
Summary of the invention
The technical problem to be solved in the present invention provides the Visio document web browser software that a kind of and computing machine are soft, hardware environment is irrelevant, and can be packaged into assembly, so that static or dynamically be embedded in any application program based on Java.
In order to solve the above-mentioned technical matters that prior art exists, according to basic scheme of the present invention, a kind of Visio document web browser that can be cross-platform is provided, its ingredient comprises: Visio XML document resolver, Visio XML Schema based on Microsoft company announces resolves to read form and content wherein document; The Visio file convertor by giving up the methods such as ICON (icon) object in the Visio original document, is changed the Visio document, to reduce its file size, improve document analysis efficient, to be convenient to net distribution and transmission; Visio graphics primitive object storehouse utilizes the data model or the data structure of Java language, and correlogram meta object, affiliated partner and document object in the Visio document are reconstructed, and forms the memory object model of document and required management function collection; Drawing board function storehouse, utilize figure and the literal API of Java, the vector graphics and the text fragment that on equipment drawing board (screen, printer or plotting apparatus), represent the Visio document, and can be on screen to the document figure amplify, dwindle, operation such as rotation, stretching; Interface library comprises document interface object, event interface object, coordinate interface object and drawing board interface object, to realize and the docking of other application programs.
According to a preferred version of the present invention (scheme one), described Visio document web browser can be packaged into a Java assembly, and can dock with any application program based on Java, to increase the function of browse of Visio document or to enrich the graphical representation ability of application program.Butt joint is to finish by the interface library of described browser component, at first, utilizes the document interface object, can open or close Visio document long-range on this locality and the network or its conversion document; Secondly, it is integrated to utilize control event such as mouse that event interface and concrete application system are taken place to carry out, and can be connected as a single entity on control mode with application program of user; The 3rd, by the call back function function that the coordinate interface is provided, drawing board (screen) coordinate that logical coordinates or device coordinate and this assembly of user's application system can be managed connects; The 4th, utilize the drawing board interface, can make application program of user specify multiple document drawing output slab freely, comprise windows different on the screen, printer and plotting apparatus etc.
According to another preferred version of the present invention (scheme two), described Visio document web browser itself just can be made an independently application system, to browse or to print the Visio XML document on this locality and the network.
Description of drawings
Fig. 1 is a composition structural representation of the present invention.
Fig. 2 is based on the present invention program one the first embodiment software configuration synoptic diagram.
Fig. 3 is based on the present invention program one first embodiment, and Visio document web browser assembly is embedded in the electronic map system, marks and draws the effect synoptic diagram of function to realize map.
Fig. 4 is based on the present invention program two the second embodiment software configuration synoptic diagram.
Fig. 5 is based on the present invention program two the shown Visio document effect synoptic diagram of second embodiment.
Embodiment
The framework inside that dotted line defined among Fig. 1 is that the core of Visio browser 10 of the present invention is formed structural representation, Visio XML document resolver 11 wherein is used to open and resolve original Visio XML document long-range on this locality or the network, the Visio original document that Visio XML document converter 12 is used for opening is converted to inner XML form, Visio graphics primitive object storehouse 13 is by resolving Visio XML original document or the generation of the XML document through changing Visio pel, the memory mapping model of association and document object, 14 the contents in drawing board function storehouse according to Visio graphics primitive object storehouse, on the drawing interface of appointment, show vector graphics and text fragment in the Visio document, interface library 15 provides four interface object, to dock with any application program based on Java.
In order to realize aforesaid Visio XML document resolver 11, can utilize the SAXAPI mechanism of Java SDK, this mechanism is with the mode analyzing XML file mark of incident, and finishes data processing in the mode of call back function.Based on the Visio XMLSchema that Microsoft company announces, this resolver both can generate Visio graphics primitive object storehouse 13, also can utilize Visio XML document converter 12 to generate Visio conversion document.
Because Visio XML document converter 12 needs to realize to the conversion of Visio document and the XML document file of generation inside, therefore need utilize DOM Document Object Model (DOM) standard of W3C tissue to generate the document object tree and finish required conversion, be stored in then in the new file.Read for the follow-up of this new file, still the SAXAPI mechanism with Java SDK is first-selection, to improve analytic efficiency.
In the process that XML original document or its conversion document of Visio are resolved, resolve call back function and can call the relevant object or the function in Visio graphics primitive object storehouse 13 according to document markup, generate and the corresponding graphics primitive object of mark, affiliated partner and document object, thereby set up the memory mapping model of Visio document.Close the Visio document of opening subsequently.
The control in drawing board function storehouse 14 with call down, the content in the Visio graphics primitive object storehouse 13 can the mode with vector graphics represent on the drawing panel of appointment.Wherein under the way of output of screen drawing, the relevant controlling function in the drawing board function storehouse 14 can respond incidents such as mouse capturing the Visio graphics primitive object, and to its amplify, dwindle, operation such as rotation, stretching, tiling, printing.
Interface library 15 provides four interface object---and be document interface object, event interface object, coordinate interface object and drawing board interface object, to dock with any application program based on Java.Wherein the document interface object makes application program can open or close Visio document long-range on this locality and the network or its conversion document; The event interface object provides the action listener function, is convenient to application program it is registered to the action listener formation of Java, and return result after to event response, thereby Visio browser 10 and application program are combined on flow of event; The coordinate interface object provides coordinate transform call back function interface, so that realize connecting each other and changing of logical coordinates, device coordinate and screen coordinate, thereby can melt application program and Visio browser 10 as a whole on graphic interface; The drawing board interface object can make the output medium in application setting, selection or change Visio drawing board function storehouse 14, to realize multiple functions such as document browsing, printing or electronic chart plotting.
Figure 2 shows that the first embodiment of the invention synoptic diagram, the Visio browser 10 that is about among Fig. 1 is encapsulated as the java library component, and can be embedded into the embodiment in local application 21 or the web application 22.Wherein the dotted line in the web application 22 represents that Visio browser 10 can be downloaded through network 24 by the library of object load mechanism of Java JVM and dynamically be connected, thereby logically forms an ingredient of web application 22.
As shown in Figure 2, application program can be called the interface library of Visio browser 10 of the present invention, open Visio document long-range on this locality or the network or its conversion document, specify the drawing panel to show the content in the Visio document, by capturing the Visio object on the screen and carry out translation with the integrated of event interface, amplify, dwindle, rotation, stretch, tiling, operations such as printing, thereby realize browsing to the Visio document, print or utilize Visio document construction drawing to be marked with professional figures such as electronic chart such as are marked and drawed at multiple function, wherein the case effect that electronic chart is marked and drawed as shown in Figure 3.
Figure 4 shows that the second embodiment of the invention synoptic diagram, this embodiment provides a kind of Visio XML document (or its conversion document) browser of special use, can open the Visio XML document in the mode of multiple document interface, and can carry out translation to it, amplify, dwindle, operations such as rotation, stretching, tiling, printing, its interface and as shown in Figure 5 to the demonstration case effect of Visio document.

Claims (3)

1. the implementation method of a Visio file cross-platform network browser, described method comprises the following steps:
By resolving or the XML format file of conversion Visio software, thereby form the unified document data form of cross-platform and transmission Network Based.
Utilize data model or the data structure of cross-platform network programming language (for example Java), by XML document or its XML document after conversion of resolving Visio, and then the Visio document memory mapping model of formation browser software.
Utilize the figure and the literal API of cross-platform network programming language (for example Java), drawing function to the whole objects of Visio document (comprising the Windows Drawing Object that embeds in the document) realizes one by one, thereby can accurately represent the content of Visio document on the panel of screen, printer or plotting apparatus in the mode of polar plot.
The object operation method of emulation Visio can and be formed operations such as object carry out translation, amplifies, dwindles, rotation, stretching, tiling to the content of Visio document on screen.
Utilize computer network to the XML document of Visio or its conversion document is distributed, manages, browses, printed and other are handled, thereby realize the full functionality of cross-platform, based on network Visio browser.
The feature of described method is to have adopted cross-platform document markup language (as XML) and cross-platform software programming language (as Java), realized the Visio document storage form irrelevant with soft, hardware platform, document data reads and mapping mode, document in vector graphics and text fragment represent function and control and operator scheme, really realized the basic demand of the Cross Platform Technology of software circle known " place writes, operation everywhere ".
2. the Visio file cross-platform network browser assembly based on Java utilizes the described method of claim 1 to make up, and its ingredient comprises:
Visio XML document resolver can be resolved the Visio XML document of Local or Remote;
Visio XML document converter can be converted to the Visio XML document document of the Network Transmission of being more convenient for;
Visio graphics primitive object storehouse by the parsing to Visio XML document or its conversion document, generates the memory mapping model of Visio pel, association and document object;
The vector graphics or the text fragment of Visio document can be exported in drawing board function storehouse on the drawing interface of appointment;
Interface library utilizes interface object wherein to dock with any other this locality or web application based on Java.
Described assembly is characterised in that: utilize the described method of claim 1, make up based on Java language, round Realization the correlation function of Visio XML document cross-platform network browser; Its ingredient is packaged into a Java library of object, self can not independent operating, but can be statically or the storehouse load mechanism by JVM dynamically be connected in other application programs based on Java, and can on functions such as interface, incident, document and coordinate transform, be combined into as a whole by the interface library of this assembly with this application program.
3. the Visio file cross-platform network browser software based on Java utilizes the assembly of claim 2 constructed, it is characterized in that:
Be one can be on various soft, hardware platforms the software of independent operating, have to Visio XML document long-range on this locality or the network browse, change, printing and translation, amplify, dwindle, correlation function such as rotation, stretching, tiling, printing.
CN 200710142828 2007-07-31 2007-07-31 Visio file cross-platform network browser implementation method and software Pending CN101078989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710142828 CN101078989A (en) 2007-07-31 2007-07-31 Visio file cross-platform network browser implementation method and software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710142828 CN101078989A (en) 2007-07-31 2007-07-31 Visio file cross-platform network browser implementation method and software

Publications (1)

Publication Number Publication Date
CN101078989A true CN101078989A (en) 2007-11-28

Family

ID=38906475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710142828 Pending CN101078989A (en) 2007-07-31 2007-07-31 Visio file cross-platform network browser implementation method and software

Country Status (1)

Country Link
CN (1) CN101078989A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375815A (en) * 2010-08-10 2012-03-14 鸿富锦精密工业(深圳)有限公司 Three-dimensional network user interface applied to embedded device and implementation method thereof
CN102799581A (en) * 2011-05-23 2012-11-28 同济大学 System and method for achieving cross-platform graphic library
CN103295248A (en) * 2012-02-23 2013-09-11 镇江华扬信息科技有限公司 Publication platform graph generating method based on 'cloud computing'
CN103455290A (en) * 2013-09-06 2013-12-18 苏州百慧华业精密仪器有限公司 Visio document-based general report template print method
CN103617505A (en) * 2013-12-05 2014-03-05 用友软件股份有限公司 Dynamic analysis and display system and method for enterprise flow chart
CN104572050A (en) * 2013-10-18 2015-04-29 镇江鼎拓科技信息有限公司 Publication platform graph generating method based on SAAS (software as a service)
CN104636121A (en) * 2013-11-08 2015-05-20 北京赛四达科技股份有限公司 Word display technology based on embedded type VAPS XT software
CN105094753A (en) * 2014-04-18 2015-11-25 阿里巴巴集团控股有限公司 Method, device, and system for drawing wireframe
CN106933781A (en) * 2015-12-30 2017-07-07 航天信息软件技术有限公司 A kind of word document data writing systems and method
CN107229503A (en) * 2016-03-23 2017-10-03 北京京东尚科信息技术有限公司 Visio document conversion methods and system
CN109857996A (en) * 2019-01-25 2019-06-07 深圳供电局有限公司 Communication scheduling operation graph data generation method and system
CN118069773A (en) * 2024-04-18 2024-05-24 杭州涂鸦信息技术有限公司 Map construction system and method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375815A (en) * 2010-08-10 2012-03-14 鸿富锦精密工业(深圳)有限公司 Three-dimensional network user interface applied to embedded device and implementation method thereof
CN102799581A (en) * 2011-05-23 2012-11-28 同济大学 System and method for achieving cross-platform graphic library
CN102799581B (en) * 2011-05-23 2016-02-17 同济大学 A kind of system and method realizing cross-platform graphic library
CN103295248A (en) * 2012-02-23 2013-09-11 镇江华扬信息科技有限公司 Publication platform graph generating method based on 'cloud computing'
CN103455290A (en) * 2013-09-06 2013-12-18 苏州百慧华业精密仪器有限公司 Visio document-based general report template print method
CN104572050A (en) * 2013-10-18 2015-04-29 镇江鼎拓科技信息有限公司 Publication platform graph generating method based on SAAS (software as a service)
CN104636121A (en) * 2013-11-08 2015-05-20 北京赛四达科技股份有限公司 Word display technology based on embedded type VAPS XT software
CN103617505A (en) * 2013-12-05 2014-03-05 用友软件股份有限公司 Dynamic analysis and display system and method for enterprise flow chart
CN103617505B (en) * 2013-12-05 2017-12-22 用友软件股份有限公司 The dynamic analysis and display systems and method of corporate process figure
CN105094753A (en) * 2014-04-18 2015-11-25 阿里巴巴集团控股有限公司 Method, device, and system for drawing wireframe
CN106933781A (en) * 2015-12-30 2017-07-07 航天信息软件技术有限公司 A kind of word document data writing systems and method
CN107229503A (en) * 2016-03-23 2017-10-03 北京京东尚科信息技术有限公司 Visio document conversion methods and system
CN109857996A (en) * 2019-01-25 2019-06-07 深圳供电局有限公司 Communication scheduling operation graph data generation method and system
CN118069773A (en) * 2024-04-18 2024-05-24 杭州涂鸦信息技术有限公司 Map construction system and method

Similar Documents

Publication Publication Date Title
CN101078989A (en) Visio file cross-platform network browser implementation method and software
US7426734B2 (en) Facilitating presentation functionality through a programming interface media namespace
JP5550636B2 (en) Techniques for editing documents using latent transfer indication
US10008009B1 (en) Method for generating dynamic vector graphics
CN110187913B (en) Method and device for issuing and running applet
US7284192B2 (en) Architecture for ink annotations on web documents
CN102129364B (en) Method for embedding widget toolbar in application program and rapid widget accessing method
US6801224B1 (en) Method, system, and program for generating a graphical user interface window for an application program
US7685534B2 (en) Method and apparatus for a three-dimensional web-navigator
AU2004202235B2 (en) Web page rendering mechanism using external programmatic themes
AU2004205327B2 (en) Programming interface for a computer platform
US5987256A (en) System and process for object rendering on thin client platforms
US7509659B2 (en) Programming portal applications
US20060031755A1 (en) Sharing inking during multi-modal communication
US20040046789A1 (en) Extensible user interface (XUI) framework and development environment
CN101876897A (en) System and method used for processing Widget on Web browser
CN110968944A (en) Method for displaying and operating CAD drawing at Web front end
AU2007336810A1 (en) Managed execution environment for software application interfacing
CN114895891A (en) Graphic software processing method and device, electronic equipment and storage medium
JP2003531429A (en) Digital document processing
CN109918598B (en) Web page rendering method based on Android television browser
TW201443666A (en) System and method for displaying three-dimensional image
JP2006526180A (en) A declarative mechanism for defining a hierarchy of objects
Sang et al. Development of CORBA-based engineering applications from legacy Fortran programs
Mikkonen et al. Lively for Qt: A platform for mobile web applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication