Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for loading OCX control

A folder and format file technology, applied in the field of data processing, can solve the problems of unable to automatically play slideshow FLASH or HTML5 resources, unable to load OCX controls correctly, etc.

Active Publication Date: 2017-07-18
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the prepared PPTX format file is transferred to another path, the absolute path of the OCX control contained in the slideshow changes, and the corresponding resource cannot be found according to the link address of the OCX control added during the production process, resulting in the failure to load the OCX correctly control so that no FLASH or HTML5 resources contained in the slideshow will autoplay

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for loading OCX control
  • Method and system for loading OCX control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0062] S1. Parse the PPTX format file to a preset temporary folder;

[0063] Among them, decompress the PPTX format file to the temporary folder Temp, when the PPTX format file is closed, the system will automatically delete the temporary folder Temp.

[0064]Get the page number "#" of the current slide show in full screen state, parse the #th page slide, and get the serialized file of the #th page slide and the link file of the #th page slide. The slide serialization file on page # is in XML document format, storing all object data contained in the slide on this page, for example: the slide serialization file on page 2 is saved as slide2.xml. The slide link file on page # is a rels format file, which stores the link addresses of all object data such as pictures, videos, audios, controls, etc. For example, the slide link file on page 2 is saved as slide2.xml.rels.

[0065] S2. Acquiring the original path of the OCX control included in the slideshow in the PPTX format file;

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of data processing and particularly relates to a method and system for loading an OCX plug-in control. The method comprises the steps of analyzing a PPTX format file to a preset folder; obtaining an original path of the OCX control contained by a slide in the PPTX format file, wherein the slide is in a projection state; obtaining a current absolute path of the OCX control according to the original path of the OCX control and an absolute path of a temporary folder; and loading the OCX control according to the current absolute path. Under the condition that the absolute path of the OCX control is taken as a link address for production of the slide, the OCX control contained by the currently projected slide can be accurately loaded by storing the PPTX format file under any path.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method and system for loading OCX controls. Background technique [0002] FLASH or HTML5 resources can be played in the slideshow through the OCX control, which enriches the content of the slideshow. Existing PPT creation tools, such as Microsoft Office Power Point 2007, use the absolute path of the OCX control as the link address. When the prepared PPTX format file is transferred to another path, the absolute path of the OCX control contained in the slideshow changes, and the corresponding resource cannot be found according to the link address of the OCX control added during the production process, resulting in the failure to load the OCX correctly control so that no FLASH or HTML5 assets contained in the slideshow will autoplay. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method and system for loading OCX co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F17/30
CPCG06F9/44526G06F16/4393
Inventor 刘德建郭玉湖方振华危波
Owner FUJIAN TIANQUAN EDUCATION TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products