[go: up one dir, main page]

CN100565513C - Document processing method and related pattern display method - Google Patents

Document processing method and related pattern display method Download PDF

Info

Publication number
CN100565513C
CN100565513C CNB2006101263442A CN200610126344A CN100565513C CN 100565513 C CN100565513 C CN 100565513C CN B2006101263442 A CNB2006101263442 A CN B2006101263442A CN 200610126344 A CN200610126344 A CN 200610126344A CN 100565513 C CN100565513 C CN 100565513C
Authority
CN
China
Prior art keywords
file
static
dynamic
document
processing method
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.)
Active
Application number
CNB2006101263442A
Other languages
Chinese (zh)
Other versions
CN101136017A (en
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.)
Iadea Corp
Original Assignee
Iadea Corp
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 Iadea Corp filed Critical Iadea Corp
Priority to CNB2006101263442A priority Critical patent/CN100565513C/en
Publication of CN101136017A publication Critical patent/CN101136017A/en
Application granted granted Critical
Publication of CN100565513C publication Critical patent/CN100565513C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

一种文件处理方法,用以处理具有动态成分以及静态成分的文件,包含:将文件分隔成动态文件以及静态文件,其中文件的动态成分形成动态文件,而文件的静态成分形成静态文件;以及根据文件标头执行动态文件及静态文件的处理操作,其中文件标头是位于动态文件及静态文件其中之一当中。本发明亦揭露了相关的图案显示方法。

Figure 200610126344

A file processing method for processing a file having a dynamic component and a static component, comprising: separating the file into a dynamic file and a static file, wherein the dynamic component of the file forms a dynamic file, and the static component of the file forms a static file; and performing processing operations of the dynamic file and the static file according to a file header, wherein the file header is located in one of the dynamic file and the static file. The present invention also discloses a related pattern display method.

Figure 200610126344

Description

文件处理方法及其相关的图案显示方法 File processing method and related pattern display method

技术领域 technical field

本发明是有关于一种文件处理方法及相关图案显示方法,特别有关于一种处理具有动态成分以及静态成分的文件的文件处理方法以及相关图案显示方法。The present invention relates to a file processing method and a related pattern display method, in particular to a file processing method for processing files with dynamic components and static components and a related pattern display method.

背景技术 Background technique

一般而言,许多文件如PPT文件、Flash文件、World文件、Excel文件以及PDF文件等都具有静态成分和动态成分。举例来说,一个PPT文件的静态成分为其文字,而动态成分为其卷动时的效果或显示时的特效。而这些静态成分和动态成分都储存于同一个文件中,然后通过同一个处理单元(如计算机的CPU等)处理。然而,此种动静态交杂处理的方式会使得计算度较为复杂且速度较为缓慢。Generally speaking, many files such as PPT files, Flash files, World files, Excel files, and PDF files have static components and dynamic components. For example, the static component of a PPT file is its text, and the dynamic component is its effect when scrolling or special effect when it is displayed. These static components and dynamic components are all stored in the same file, and then processed by the same processing unit (such as the CPU of a computer, etc.). However, this kind of dynamic and static hybrid processing method will make the calculation more complex and slower.

除此之外,此类文件的处理方法通常还包含将图案放大(zoom in)或缩小(zoom out)的功能,而一般的作法为将原本的图案缩小至一定大小,然后再依所须图案大小调整尺寸并显示。然而,这样的作法必须针对每一像素点作处理,因此会使得计算度相当的大。In addition, the processing method of such files usually includes the function of enlarging (zoom in) or reducing (zoom out) the pattern, and the general practice is to reduce the original pattern to a certain size, and then adjust the pattern according to the desired pattern. Resize and display. However, such an approach has to be processed for each pixel, thus making the computation cost quite large.

因此,需要一种新的文件处理方法来解决上述问题。Therefore, a new file processing method is needed to solve the above problems.

发明内容 Contents of the invention

因此,本发明的一目的为提供一种文件处理方法,以将文件中的动态成分以及静态成分分开计算处理。Therefore, an object of the present invention is to provide a file processing method to separately calculate and process the dynamic components and the static components in the file.

本发明的另一目的为提供一种图案显示方法,以提供计算复杂度较低的图案显示方法。Another object of the present invention is to provide a pattern display method to provide a pattern display method with low computational complexity.

本发明的实施例揭露了一种文件处理方法,用以处理具有动态成分以及静态成分的文件,包含:将文件分隔成动态文件以及静态文件,其中该文件的动态成分形成动态文件,而文件的静态成分形成静态文件;以及根据文件标头执行动态文件及静态文件的处理操作,其中文件标头是位于动态文件及该静态文件其中之一当中。The embodiment of the present invention discloses a file processing method for processing files with dynamic components and static components, including: separating the files into dynamic files and static files, wherein the dynamic components of the file form a dynamic file, and the file’s The static component forms a static file; and performs processing operations on the dynamic file and the static file according to the file header, wherein the file header is located in one of the dynamic file and the static file.

其中上述文件是从PowerPoint文件、Flash文件、Word文件、Excel文件、PDF文件所组成的群组中至少择一。或者,亦可为可打印的文件。Wherein the above-mentioned file is at least one selected from the group consisting of PowerPoint files, Flash files, Word files, Excel files, and PDF files. Alternatively, it can be a printable file.

上述文件标头可包含静态文件索引,用以指示静态文件的数据的位置,以及文件标头亦可还包含动态文件索引,用以指示动态文件的数据的位置。The above-mentioned file header may include a static file index to indicate the location of the data of the static file, and the file header may further include a dynamic file index to indicate the location of the data of the dynamic file.

除此之外,文件标头可还包含缩图索引,用以指示缩图的位置。而在本发明的较佳实施例中,缩图为原始图案的一部分。且利用缩图的大小切割原始图案,且每一相邻切割区有重复切割部分。其中重复切割部分是使得原始图案得以被缩图完整切割而无不足或多余的部分。In addition, the file header may also include a thumbnail index to indicate the location of the thumbnail. However, in a preferred embodiment of the present invention, the thumbnail image is a part of the original pattern. And use the size of the thumbnail to cut the original pattern, and each adjacent cutting area has a repeated cutting part. Among them, the repeated cutting part is to make the original pattern be completely cut by the thumbnail without insufficient or redundant parts.

本发明的实施例亦揭露了一种图案显示方法,包含:利用预定大小切割原始图案以形成多数缩图,且每一相邻切割区有重复切割部分;以及当欲显示原始图案的某部分时,显示对应欲显示部分的缩图。The embodiment of the present invention also discloses a pattern display method, including: using a predetermined size to cut the original pattern to form a plurality of thumbnails, and each adjacent cutting area has repeated cutting parts; and when a certain part of the original pattern is to be displayed , to display the thumbnail corresponding to the part to be displayed.

通过上述处理方法,可以大幅降低文件处理的复杂度并降低显示缩图时的计算量并使缩图显示时更有弹性,由此可证本发明不啻为新颖的发明。Through the above-mentioned processing method, the complexity of file processing can be greatly reduced, the amount of calculation when displaying thumbnails can be reduced, and the display of thumbnails can be more flexible, which proves that the present invention is nothing less than a novel invention.

附图说明 Description of drawings

图1绘示了根据本发明的文件处理方法的较佳实施例的示意图。FIG. 1 is a schematic diagram of a preferred embodiment of the file processing method according to the present invention.

图2绘示了根据本发明的文件处理方法的较佳实施例的示意图。FIG. 2 is a schematic diagram of a preferred embodiment of the file processing method according to the present invention.

图3绘示了根据本发明的图案显示方法的较佳实施例的示意图。FIG. 3 is a schematic diagram of a preferred embodiment of the pattern display method according to the present invention.

图4绘示了根据本发明的图案显示方法的较佳实施例的示意图。FIG. 4 is a schematic diagram of a preferred embodiment of the pattern display method according to the present invention.

[主要元件标号说明][Description of main component labels]

100              静态文件100 static files

101              文件标头101 file header

103、105、107    静态文件索引103, 105, 107 static file index

109、111、113    静态文件数据109, 111, 113 static file data

200              动态文件200 dynamic files

201、203、205    动态文件索引201, 203, 205 dynamic file index

207、209、211    动态文件数据207, 209, 211 Dynamic file data

300              原始图案300 original patterns

301、303、305    缩图301, 303, 305 Thumbnails

307              重复切割部分307 Repeated cutting part

309    切割部分309 cutting part

具体实施方式 Detailed ways

图1绘示了根据本发明的文件处理方法的较佳实施例的示意图。如图1所示,静态文件100包含有文件标头101,而文件标头101包含有多数静态文件索引103、105、107,其分别对应至静态文件数据109、111和113。当欲处理静态文件数据109、111和113时,会先根据静态文件索引103、105、107找出静态文件数据109、111和113的位置再进行相关处理。FIG. 1 is a schematic diagram of a preferred embodiment of the file processing method according to the present invention. As shown in FIG. 1 , a static file 100 includes a file header 101 , and the file header 101 includes a plurality of static file indexes 103 , 105 , 107 corresponding to static file data 109 , 111 , and 113 . When the static file data 109 , 111 and 113 are to be processed, the locations of the static file data 109 , 111 and 113 are first found out according to the static file indexes 103 , 105 , and 107 and then related processing is performed.

而且,如图2所示,文件标头101中还包含动态文件索引201、203和205,其分别对应至动态文件200中的动态文件数据207、209和211,当欲处理动态文件数据207、209和211时,会先根据动态文件索引201、203、205找出动态文件数据207、209和211的位置再进行相关处理。Moreover, as shown in Figure 2, the file header 101 also includes dynamic file indexes 201, 203 and 205, which correspond to the dynamic file data 207, 209 and 211 in the dynamic file 200 respectively, when the dynamic file data 207, 209 and 211, the location of the dynamic file data 207, 209, and 211 will be found out according to the dynamic file index 201, 203, and 205, and then related processing will be performed.

须注意的是,在图1和图2中,虽然文件标头101是位于静态文件100中,但亦可位于动态文件200中,其亦不脱本发明的范围。It should be noted that, in FIG. 1 and FIG. 2 , although the file header 101 is located in the static file 100 , it can also be located in the dynamic file 200 , and it does not depart from the scope of the present invention.

除此之外,根据本发明的文件标头101中可还包含缩图索引(未绘示),以指出相关缩图的位置。而此缩图是由本发明的图案显示方法所处理,将于底下的图3和图4详述。In addition, the file header 101 according to the present invention may further include a thumbnail index (not shown) to indicate the position of the relevant thumbnail. The thumbnail image is processed by the pattern display method of the present invention, which will be described in detail in FIG. 3 and FIG. 4 below.

图3绘示了根据本发明的图案显示方法的较佳实施例的示意图。如图3所示,根据本发明的图案显示方法是利用预定大小的缩图301、缩图303......缩图305切割原始图案300,而每一相邻的缩图皆具有重复切割部分307。此重复切割部分用以使缩图的显示更有弹性,也就是说,若无此重复切割部分,则原始图案300有些部分将难以显示,尤其是原始图案300中间的部分。而且,在一开始进行切割时,可能会有些切割部分会超出原始图案300,如图3中的切割部分309。此时,根据本发明的图案显示方法会如图4所示般调整重复切割部分307,使得原始图案300可被具有预定大小的缩图完整切割。举例来说,若图3中重复切割部分307具有宽度M,切割部分309的宽度为a,整个原始图案300具有n个重复切割部分,则在图4的重复切割部分307会具有

Figure C20061012634400051
的宽度,如此可使原始图案300完整的被缩图切割而不会有多余或不足的部分。FIG. 3 is a schematic diagram of a preferred embodiment of the pattern display method according to the present invention. As shown in FIG. 3 , the pattern display method according to the present invention is to use thumbnails 301 , 303 . Cut part 307 . The repeated cutting part is used to make the display of the thumbnail more flexible, that is, without the repeated cutting part, some parts of the original pattern 300 will be difficult to display, especially the middle part of the original pattern 300 . Moreover, when cutting at the beginning, there may be some cut parts that exceed the original pattern 300, such as the cut part 309 in FIG. 3 . At this time, the pattern display method according to the present invention adjusts the repeated cutting part 307 as shown in FIG. 4 so that the original pattern 300 can be completely cut by the thumbnail having a predetermined size. For example, if the repeated cutting portion 307 in FIG. 3 has a width M, the width of the cutting portion 309 is a, and the entire original pattern 300 has n repeated cutting portions, then the repeated cutting portion 307 in FIG. 4 will have
Figure C20061012634400051
In this way, the original pattern 300 can be completely cut by the thumbnail without redundant or insufficient parts.

须注意的是,图3以及图4虽仅以原始图案的其中一边作说明,但另一边亦可以同样的规则处理,其亦不脱本发明的范围。It should be noted that although FIG. 3 and FIG. 4 only use one side of the original pattern for illustration, the other side can also be handled in the same way, and it does not depart from the scope of the present invention.

通过上述处理方法,可以大幅降低文件处理的复杂度并降低显示缩图时的计算量并使缩图显示时更有弹性,由此可证本发明不啻为新颖的发明。Through the above-mentioned processing method, the complexity of file processing can be greatly reduced, the amount of calculation when displaying thumbnails can be reduced, and the display of thumbnails can be more flexible, which proves that the present invention is nothing less than a novel invention.

以上所述仅为本发明的较佳实施例,凡依本发明权利要求范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.

Claims (6)

1.一种文件处理方法,用以处理具有动态成分以及静态成分的文件,包含:1. A file processing method for processing files with dynamic components and static components, comprising: 将该文件分隔成动态文件以及静态文件,其中该文件的动态成分形成该动态文件,而该文件的静态成分形成该静态文件;以及separating the document into a dynamic document and a static document, wherein the dynamic component of the document forms the dynamic document and the static component of the document forms the static document; and 根据文件标头执行该动态文件及该静态文件的处理操作,其中该文件标头是位于该动态文件及该静态文件其中之一当中,performing processing operations on the dynamic file and the static file according to a file header, wherein the file header is located in one of the dynamic file and the static file, 其中该文件标头包含静态文件索引,用以指示该静态文件的数据的位置,以及该文件标头还包含动态文件索引,用以指示该动态文件的数据的位置。Wherein the file header includes a static file index, used to indicate the location of the data of the static file, and the file header also includes a dynamic file index, used to indicate the location of the data of the dynamic file. 2.根据权利要求1所述的文件处理方法,其中该文件是从PowerPoint文件、Flash文件、Word文件、Excel文件、PDF文件所组成的群组中至少择一。2. The file processing method according to claim 1, wherein the file is at least one selected from the group consisting of PowerPoint files, Flash files, Word files, Excel files, and PDF files. 3.根据权利要求1所述的文件处理方法,其中该文件为可打印的文件。3. The document processing method according to claim 1, wherein the document is a printable document. 4.根据权利要求1所述的文件处理方法,其中该文件标头还包含缩图索引,用以指示缩图的位置。4. The file processing method according to claim 1, wherein the file header further includes a thumbnail index to indicate the location of the thumbnail. 5.根据权利要求4所述的文件处理方法,还包含利用该缩图的大小切割该原始图案,且每一相邻切割区有重复切割部分。5. The file processing method according to claim 4, further comprising cutting the original pattern according to the size of the thumbnail, and each adjacent cutting area has a repeated cutting portion. 6.根据权利要求5所述的文件处理方法,其中该重复切割部分是使得该原始图案得以被该缩图完整切割而无不足或多余的部分。6 . The document processing method according to claim 5 , wherein the repeatedly cut part is such that the original pattern can be completely cut by the thumbnail without any insufficient or redundant parts. 7 .
CNB2006101263442A 2006-08-30 2006-08-30 Document processing method and related pattern display method Active CN100565513C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101263442A CN100565513C (en) 2006-08-30 2006-08-30 Document processing method and related pattern display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101263442A CN100565513C (en) 2006-08-30 2006-08-30 Document processing method and related pattern display method

Publications (2)

Publication Number Publication Date
CN101136017A CN101136017A (en) 2008-03-05
CN100565513C true CN100565513C (en) 2009-12-02

Family

ID=39160118

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101263442A Active CN100565513C (en) 2006-08-30 2006-08-30 Document processing method and related pattern display method

Country Status (1)

Country Link
CN (1) CN100565513C (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1268847A (en) * 1999-03-25 2000-10-04 索尼公司 Editing device and editing method
EP1211601A1 (en) * 1999-08-13 2002-06-05 Fujitsu Limited File processing method, data processing device and storage medium
US20030078907A1 (en) * 2001-10-22 2003-04-24 Michael Soemo Partially embedded database and an embedded database manager for a control system
CN1813251A (en) * 2004-03-22 2006-08-02 网飞亚技术公司 A streaming based contents distribution network system and methods for splitting, merging and retrieving files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1268847A (en) * 1999-03-25 2000-10-04 索尼公司 Editing device and editing method
EP1211601A1 (en) * 1999-08-13 2002-06-05 Fujitsu Limited File processing method, data processing device and storage medium
US20030078907A1 (en) * 2001-10-22 2003-04-24 Michael Soemo Partially embedded database and an embedded database manager for a control system
CN1813251A (en) * 2004-03-22 2006-08-02 网飞亚技术公司 A streaming based contents distribution network system and methods for splitting, merging and retrieving files

Also Published As

Publication number Publication date
CN101136017A (en) 2008-03-05

Similar Documents

Publication Publication Date Title
US20130305145A1 (en) A Method of Publishing Digital Content
JP2017016686A5 (en)
US20100153834A1 (en) Business form creating system, network system using the same, and business form creating method
US20090327853A1 (en) Comparing And Selecting Form-Based Functionality
US20130174024A1 (en) Method and device for converting document format
EP3729300A1 (en) A heuristic method for analyzing content of an electronic document
US20060282769A1 (en) Method of identifying redundant text in an electronic document
EP2002352B1 (en) Applying effects to a merged text path
KR20150099936A (en) Method and apparatus for applying an alternate font for maintaining document layout
CN104516868B (en) The streaming restoring method and system in a kind of space of a whole page space
US7337393B2 (en) Methods and systems for providing an editable visual formatting model
US9218327B2 (en) Optimizing the layout of electronic documents by reducing presentation size of content within document sections so that when combined a plurality of document sections fit within a page
US9619700B2 (en) Image processing device, image processing method, program, and information storage medium
US20120102385A1 (en) Determining heights of table cells
US8839095B2 (en) User interface to define and/or communicate space between objects
US8582165B2 (en) Document processing apparatus
JP5255483B2 (en) Method, apparatus and program for facilitating object selection
CN113962193A (en) Form layout method, device, electronic device and storage medium
CN100565513C (en) Document processing method and related pattern display method
KR101368960B1 (en) System and method for displaying electronic documents
US9984053B2 (en) Replicating the appearance of typographical attributes by adjusting letter spacing of glyphs in digital publications
JP6108105B2 (en) Article image reconstruction device
US20130031460A1 (en) Using a common input/output format to generate a page of an electronic document
US20180373680A1 (en) Document stamping system and method
JP2008204053A (en) Information processor, information processing system, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant