WO2013097799A1 - 版式文件的处理方法和装置 - Google Patents
版式文件的处理方法和装置 Download PDFInfo
- Publication number
- WO2013097799A1 WO2013097799A1 PCT/CN2012/087998 CN2012087998W WO2013097799A1 WO 2013097799 A1 WO2013097799 A1 WO 2013097799A1 CN 2012087998 W CN2012087998 W CN 2012087998W WO 2013097799 A1 WO2013097799 A1 WO 2013097799A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- interactive object
- xml file
- dynamic interactive
- layout
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
- G06F40/143—Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Definitions
- the present invention relates to the field of digital publishing, and in particular to a method and apparatus for processing a layout file. Background technique
- the layout file converts files of various formats into a unified format, and truly maintains the layout and information of text, graphics, formulas and colors in the original file in the conversion, and achieves consistent display results on different terminal devices and reading software. Sex.
- the layout file adopts a static absolute description method. In the customized coordinate system, the position and size of each primitive (such as characters, pictures, tables, etc.) are clearly recorded, so that the document is printed.
- the results are consistent with the results of browsing on a computer, and display consistency in any computer environment (such as the operating system of a desktop computer, notebook, tablet, smart phone, etc.), to ensure that the original appearance of the document is truly reproduced.
- the layout file is determined by its own characteristics, the content can only be statically displayed, although it also supports some multimedia interactive functions, such as audio and video file playback, but for more complex dynamic interaction capabilities, such as virtual Real-world scene roaming, game functions, etc. Due to the complexity of interactive content, the uncertainty of interaction behavior, the diversity of interactive platforms, the scalability of interactive functions, and so on, the interaction effect in the layout file# It is very difficult to define a complete and detailed definition.
- An aspect of the present application provides a method for processing a layout file, including: a generated xml file, wherein the xml file includes parameters of a dynamic interactive object; and setting in a description of the layout file for opening the The action of the xml file, such that after the action is triggered to open the xml file, the effects and behavior of the dynamic interactive object are displayed.
- the device can include:
- An xml file generation module for generating an xml file including parameters of the dynamic interactive object
- a data creation module configured to set an action for opening the xml file in a description of the layout file, so that after the action is triggered to open the xml file, displaying the effect and behavior of the dynamic interactive object .
- the processing device of the layout file may further include a data display module, configured to trigger the action to open the xml file to obtain the dynamic interactive object when the layout file is opened by a reader. Thereby the effects and behavior of the dynamic interactive object are presented at the reader.
- Another aspect of the present application also provides a computer readable storage medium having stored in the storage medium:
- An instruction for opening the xml file in a description of the layout file such that after the action is triggered to open the xml file, an instruction for the effect and behavior of the dynamic interactive object is displayed.
- the storage medium may further be configured to: when the layout file is opened by the reader, trigger the action to open the xml file to obtain the Dynamically interactive objects, thereby presenting instructions of the dynamic interactive object's effects and behavior at the reader.
- the processing method and apparatus for the layout file of the present invention overcomes the problem that the layout file of the prior art can only be statically displayed because the dynamic interactive object is described by xml, and the dynamic effect is displayed in the layout file.
- Figure 1 is a block diagram showing an apparatus for processing a layout file according to an embodiment of the application.
- Figure 2 shows a method for processing a layout file according to an embodiment of the present application.
- Figure 3 illustrates a flow chart of a method for processing a layout file in accordance with another embodiment of the present application. detailed description
- the apparatus 100 includes an XML file generation module 10 and a data creation module 20.
- the XML file generation module 10 is for generating an xml file having parameters of the dynamic interactive object therein.
- Dynamic interactive objects can include at least one of audio, video, images, three-dimensional data files, and applications.
- Ground, the parameters of a dynamically interactive object include the layout position, size, and interactive behavior definition that these objects will be set to. These parameters can be described in the xml file and referenced to dynamic interactive objects. This will be further described below.
- the data creation module 20 is configured to set an action for opening the xml file in the description of the layout file, so that after the action is triggered to open the xml file, the effect and behavior of the dynamic interactive object are displayed. That is, the display of dynamic effects is implemented in the layout file.
- the apparatus 100 for processing a layout file may further include a data display module 30.
- the module 30 is configured to trigger the above set action to open the xml file when the layout file is opened (for example, on the reader), and obtain the dynamic interactive object referenced in the xml file, thereby displaying (for example, at the application layer of the reader) The effects and behavior of dynamic interactive objects.
- Methods 200 and 300 for processing a layout file provided in accordance with another aspect of the present application will now be described with reference to FIGS. 2 and 3. Those skilled in the art will further understand the specific cooperative relationships between modules 10-30 described above by way of the description of methods 200 and 300.
- FIG. 2 illustrates a method 200 for processing a layout file in accordance with an embodiment of the present application.
- the method 200 begins at step S210.
- the XML file generation module 10 generates an xml file.
- the generated xml file includes the resources used by the dynamic interactive object and its parameters.
- the xml file generated by the resources and parameters of the dynamic interactive object can be implemented by the existing typesetting technology. For example, in a fixed page range, objects of different types, such as text, tables, graphics, images, etc., are placed to achieve the best aesthetic rendering, which attracts attention or brings a comfortable reading experience. .
- step S220 the data creation module 20 sets an action for opening the xml file in the description of the layout file, so that after the trigger action opens the xml file, the effect and behavior of the dynamic interactive object are displayed.
- the layout file is described by xml, which breaks through the static effect of the traditional layout file, and has almost unlimited expansion capability in the way the content is displayed. Any new interaction method can be quickly and conveniently embedded into the layout file.
- the two-way communication channel between the reader and the media has been established, and the user has also greatly improved in reading body 3.
- the interactive object is different from the static page object contained in the traditional typesetting.
- the reader can interact with the content presented by the layout, which expands the reading dimension and deepens the reading experience.
- the xml file describes the parameters and references the resources.
- the xml file is a single data storage language, using one
- the tag of the series is described in terms of data, and these tags can be created in a convenient manner to facilitate understanding and use in different applications and platforms.
- the event that triggers the action can be called by the reader, such as some reading behavior, such as scrolling to the layout where the xml file is located, or clicking on the area associated with the xml file on the layout.
- a reader is a layout file interpreter that can parse an xml configuration file for an interactive object. Such readers can implement the effects and behavior of the defined interactive objects at the application layer level depending on the type of system platform in which they are located. Different system platforms are implemented differently, but through xml description, the final effect should be consistent.
- a method 300 for processing a layout file is shown.
- steps S310 and 320 are the same as steps S210 and S220 described above. Therefore, it will not be repeated.
- the data presentation module 30 operates to open the layout file. For example, open the layout file in the reader.
- the data presentation module 30 triggers an action to open the xml file to obtain a dynamically interactive object, and then in step S350, the effect and behavior of the dynamic interactive object is displayed at a reader (e.g., the application layer of the reader).
- Actions are activated by events, which are actions that the reader produces when reading a layout file, such as opening or closing a page, clicking on an area on the page, and so on. At the same time, the execution of the event is valid in a specific area on the page. This area is called the Region.
- An event is generated in the hot zone, so that the activated actions can be divided into multiple classes, one of which is a Uniform Resource Identifier (URI), which is a string used to uniquely identify a resource. The string describes the network path or local path of the resource.
- URI Uniform Resource Identifier
- the path address of the aforementioned xml file is saved as a URI action in the layout file, so that an association can be established between the layout file and the interactive object.
- the action hotspot can cover the entire page range or an area on the page.
- the interactive object corresponding to the former is called a page-level interactive object.
- the triggering event of such an interactive object is generally "opening the page”.
- the interactive object is specified on the layout. Rendering position; the interactive object corresponding to the latter is called a component-level interactive object.
- Such interactive object is generally triggered by "user clicks on a certain area of the page”.
- typesetting the interactive object does not have to occupy the page, but Presented by pop-up.
- the interactive object is placed on the layout.
- the preferred embodiment of the present invention sets some rules for this, and divides the xml file description of the interactive object into two parts: a public setting and a private setting.
- the public settings mainly include the properties of the interactive object, the related information of the typesetting, and the appearance setting of the interactive object. For example, the type of object, the ID of the object, the location and size of the area placed in the layout, the background color or background image of the object, the transparency of the background, the border type of the object, and the width and color of the border.
- the private settings vary depending on the type of interaction object. The following points need to be noted: 1. If the object resource reference is involved in the parameter setting, the reference path should use the relative path as much as possible to avoid the representation of the absolute path. 2. When multiple parameter groups with similar structures are encountered, you can use The array (Array) + dictionary ( Dictionary ) xmU ii format, which helps the reader to quickly and easily obtain parameter information when parsing interactive objects.
- the following uses the interactive object panorama browsing as an example to illustrate the xml format.
- the resources of the panorama are six images, which respectively correspond to the images of the front, right, back, left, upper and lower directions of the browsing scene.
- the user can place the observation viewpoint in the center of the scene and change the viewing angle by interaction. Get a seamless view of the scene in all directions.
- An example of the description of its xml file is as follows:
- the texts in ⁇ key> and ⁇ /key> are keywords.
- Function—Type, ID, and Bound—Box are all public settings, and the remaining parameters are private settings. Since each orientation image requires two attributes to describe: the orientation identifier and the image path. Therefore, the image parameters of each orientation are organized into a dictionary ⁇ dict> ⁇ /dict>, and then six orientation images are placed in the array description. That is, between ⁇ array> and ⁇ /array>, the array parameter is finally indexed according to the private setting Image_List. This is just the most straightforward description, and the user can add more parameter descriptions depending on the desired effect.
- the reader interprets the layout file processed in the above manner, it will locate the xml file of the interactive component through the URI, and then obtain the configuration parameters and resource paths of the component, and then implement the final component in the application layer of the platform according to these settings. effect.
- the disclosed and other embodiments and the functional operations described in this specification can be implemented in digital circuits or computer software, firmware or hardware including the structures disclosed in the specification and their structural equivalents, or one of them. Or a combination of multiples to implement.
- the disclosed and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer readable medium for execution or control of operation by a data processing device.
- the computer readable medium can be a machine readable storage device, a machine readable storage substrate, a memory device, a synthetic material that affects a machine readable propagated signal, or a combination of one or more of them.
- data processing apparatus encompasses all apparatus, devices, and machines for processing data, including, for example, a programmable processor, a computer, a plurality of processors, or a computer.
- the apparatus can include code to create an execution environment for the computer program in question, such as code that forms processor firmware, a protocol branch, a database management system, and an operating system, or one or more combinations thereof.
- a propagated signal is an artificially generated signal, such as a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to an appropriate receiver device.
- a computer program (also referred to as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted language, and can be deployed in any form, including as a stand-alone program. Or as a module, component, subroutine or other unit suitable for use in a computing environment.
- the computer program does not need to correspond to a file in the file system.
- the program can be stored in other programs or data (for example, save One part of a file stored in one or more scripts in a markup language document, in a single file dedicated to the program in question, or multiple collaborative files (for example, storing one or more modules, subroutines, or code parts) In the file).
- the computer program can be deployed to be executed on one computer or on a plurality of computers located in one location or distributed across multiple locations and interconnected by a communication network.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014526381A JP5930497B2 (ja) | 2011-12-31 | 2012-12-31 | テンプレートファイルの処理方法及び装置 |
US14/129,875 US20140149847A1 (en) | 2011-12-31 | 2012-12-31 | Method and apparatus for processing fixed layout files |
EP12861183.7A EP2711846A4 (en) | 2011-12-31 | 2012-12-31 | METHOD AND DEVICE FOR PROCESSING DOCUMENT FILES |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110461688XA CN103186655A (zh) | 2011-12-31 | 2011-12-31 | 版式文件的处理方法和装置 |
CN201110461688.X | 2011-12-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013097799A1 true WO2013097799A1 (zh) | 2013-07-04 |
Family
ID=48677824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/087998 WO2013097799A1 (zh) | 2011-12-31 | 2012-12-31 | 版式文件的处理方法和装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20140149847A1 (zh) |
EP (1) | EP2711846A4 (zh) |
JP (1) | JP5930497B2 (zh) |
CN (1) | CN103186655A (zh) |
WO (1) | WO2013097799A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423779A (zh) * | 2013-08-26 | 2015-03-18 | 鸿合科技有限公司 | 一种交互显示实现方法及装置 |
CN113822025A (zh) * | 2021-11-25 | 2021-12-21 | 深圳市明源云链互联网科技有限公司 | 办公文件自动生成方法、装置、设备及存储介质 |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104516891B (zh) * | 2013-09-27 | 2018-05-01 | 北大方正集团有限公司 | 一种版面分析方法及系统 |
CN104572598A (zh) * | 2013-10-24 | 2015-04-29 | 北大方正集团有限公司 | 数字出版物的排版方法和装置 |
US20150169529A1 (en) * | 2013-12-16 | 2015-06-18 | Sap Ag | Mobile device data rendering |
US9626336B2 (en) | 2014-08-22 | 2017-04-18 | Microsoft Technology Licensing, Llc | Remote management of a graphical user interface |
CN104997506B (zh) * | 2015-06-15 | 2018-12-07 | 深圳市理邦精密仪器股份有限公司 | 一种对心电报告进行灵活配置的方法及装置 |
CN105279254B (zh) * | 2015-10-12 | 2018-10-23 | 江苏中威科技软件系统有限公司 | 版式数据流文件系统及其操作装置和其操作装置的实现方法 |
CN105302626B (zh) * | 2015-11-09 | 2021-07-23 | 深圳市巨鼎医疗股份有限公司 | Xps结构化数据的解析方法 |
CN105512100B (zh) * | 2015-12-01 | 2018-08-07 | 北京大学 | 一种版面分析方法及装置 |
CN105701073A (zh) * | 2015-12-31 | 2016-06-22 | 北京中科江南信息技术股份有限公司 | 版式文件的生成方法及装置 |
CN113157276A (zh) * | 2021-04-09 | 2021-07-23 | 北京沃东天骏信息技术有限公司 | 布局文件转换方法、装置、电子设备和计算机可读介质 |
CN117910438B (zh) * | 2024-03-13 | 2024-06-21 | 江苏中威科技软件系统有限公司 | 一种动态版式文件dlf的生成装置 |
CN117875263B (zh) * | 2024-03-13 | 2024-05-24 | 江苏中威科技软件系统有限公司 | 一种dlf动态版式文件的阅读方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937754A (zh) * | 2006-08-23 | 2007-03-28 | 深圳创维-Rgb电子有限公司 | 一种数字媒体终端播放广告的方法 |
CN101271463A (zh) * | 2007-06-22 | 2008-09-24 | 北大方正集团有限公司 | 版式文件逻辑结构信息的表示方法和系统 |
CN101489125A (zh) * | 2009-01-19 | 2009-07-22 | 孟智平 | 基于xml的视频控制方法及其系统 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001092712A (ja) * | 1999-09-27 | 2001-04-06 | Hitachi Information Systems Ltd | マルチメディアWebページとそのマルチメディア連携方法およびその処理プログラムを記録した記録媒体 |
US7559034B1 (en) * | 2000-10-19 | 2009-07-07 | DG FastChannel, Inc. | Method and system for using a hyperlink, banner, or graphical icon to initiate the overlaying of an object on a window |
TWI282926B (en) * | 2005-10-06 | 2007-06-21 | Fashionow Co Ltd | Template-based multimedia editor and editing method thereof |
JP2008204444A (ja) * | 2007-01-23 | 2008-09-04 | Just Syst Corp | データ処理装置、データ処理方法及び検索装置 |
CN102298575A (zh) * | 2010-06-28 | 2011-12-28 | 北大方正集团有限公司 | 一种带格式的Word文件内容拷贝和粘贴的方法及系统 |
-
2011
- 2011-12-31 CN CN201110461688XA patent/CN103186655A/zh active Pending
-
2012
- 2012-12-31 US US14/129,875 patent/US20140149847A1/en not_active Abandoned
- 2012-12-31 EP EP12861183.7A patent/EP2711846A4/en not_active Withdrawn
- 2012-12-31 JP JP2014526381A patent/JP5930497B2/ja not_active Expired - Fee Related
- 2012-12-31 WO PCT/CN2012/087998 patent/WO2013097799A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937754A (zh) * | 2006-08-23 | 2007-03-28 | 深圳创维-Rgb电子有限公司 | 一种数字媒体终端播放广告的方法 |
CN101271463A (zh) * | 2007-06-22 | 2008-09-24 | 北大方正集团有限公司 | 版式文件逻辑结构信息的表示方法和系统 |
CN101489125A (zh) * | 2009-01-19 | 2009-07-22 | 孟智平 | 基于xml的视频控制方法及其系统 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2711846A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423779A (zh) * | 2013-08-26 | 2015-03-18 | 鸿合科技有限公司 | 一种交互显示实现方法及装置 |
CN113822025A (zh) * | 2021-11-25 | 2021-12-21 | 深圳市明源云链互联网科技有限公司 | 办公文件自动生成方法、装置、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN103186655A (zh) | 2013-07-03 |
JP5930497B2 (ja) | 2016-06-08 |
JP2014524623A (ja) | 2014-09-22 |
EP2711846A1 (en) | 2014-03-26 |
EP2711846A4 (en) | 2016-06-15 |
US20140149847A1 (en) | 2014-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013097799A1 (zh) | 版式文件的处理方法和装置 | |
US11902377B2 (en) | Methods, systems, and computer program products for implementing cross-platform mixed-reality applications with a scripting framework | |
CN108279966B (zh) | 网页截图方法、装置、终端及存储介质 | |
JP2014524623A5 (zh) | ||
CN105518614B (zh) | 用于多屏幕应用程序的屏幕录制的方法、设备和计算机可读介质 | |
Boulos et al. | Web GIS in practice VIII: HTML5 and the canvas element for interactive online mapping | |
US11790158B1 (en) | System and method for using a dynamic webpage editor | |
US20150279058A1 (en) | Page Rendering Method and Apparatus | |
US20200294307A1 (en) | Displaying rich text on 3d models | |
WO2015196822A1 (zh) | 一种网页适应屏幕排版方法及装置 | |
US9886465B2 (en) | System and method for rendering of hierarchical data structures | |
CN105096368B (zh) | 三维对象处理方法和相关装置 | |
CN113411664B (zh) | 基于子应用的视频处理方法、装置和计算机设备 | |
CN112052416A (zh) | 用于展示图像元素的方法和装置 | |
US20170091152A1 (en) | Generating grid layouts with mutable columns | |
CN113032708A (zh) | 一种无代码Web开发系统 | |
WO2023169252A1 (zh) | 多媒体内容处理方法、装置、设备、程序产品及存储介质 | |
CN113655999A (zh) | 一种页面控件的渲染方法、装置、设备及存储介质 | |
CN109190078A (zh) | 网页构建方法、装置和存储介质 | |
CN117093386A (zh) | 页面截图方法、装置、计算机设备和存储介质 | |
US20140215295A1 (en) | Three-dimensional image displaying system and method | |
CN115994517A (zh) | 信息处理方法、装置、存储介质、设备及程序产品 | |
CN112417345B (zh) | 渲染方法、装置、电子设备及存储介质 | |
CN107609050A (zh) | 基于html5的新型页面系统及其作品生成方法 | |
US10769354B2 (en) | System and method for triggering state changes in content with initiation of multi-media playback |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12861183 Country of ref document: EP Kind code of ref document: A1 |
|
REEP | Request for entry into the european phase |
Ref document number: 2012861183 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012861183 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2014526381 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14129875 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |