WO2007076717A1 - Procédé de génération de fichier en format informatique et procédé d'ouverture - Google Patents
Procédé de génération de fichier en format informatique et procédé d'ouverture Download PDFInfo
- Publication number
- WO2007076717A1 WO2007076717A1 PCT/CN2006/003730 CN2006003730W WO2007076717A1 WO 2007076717 A1 WO2007076717 A1 WO 2007076717A1 CN 2006003730 W CN2006003730 W CN 2006003730W WO 2007076717 A1 WO2007076717 A1 WO 2007076717A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- layout file
- file
- layout
- picture
- computer
- 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/12—Use of codes for handling textual entities
- G06F40/123—Storage facilities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/93—Document management systems
Definitions
- the present invention relates to a method for processing a computer word processing file, and more particularly to a computer layout file generating method and an opening method. Background technique
- Word Proces sor software is widely used as a tool for text editing, form processing, and text and text in government, corporate, and personal offices.
- files created by different software or different typesetting mechanisms of the same software sometimes produce different display and printing effects, even if the files made using the same software and typesetting mechanism are on different printers. When outputting, sometimes there may be different print results.
- word processing software handles objects such as text, graphics, and tables in different ways.
- the text is arranged word by word according to the flow irrigation method.
- Graphic objects are positioned according to their different layout methods, some depending on the distance from the horizontal and vertical pages, and some are positioned relative to the paragraph according to the anchor point of the paragraph in which they are located, as is the table.
- the processing of text processing by word processing is very complicated, and the direct influence on the text arrangement effect includes the following factors:
- Punctuation For the treatment of punctuation, in order to make the arrangement of words and punctuation more harmonious, the punctuation is often compressed. The compression ratios of different positions and different punctuation are different, such as pre-punctuation, post-punctuation and Chinese processing punctuation. Habits and so on.
- characters different characters in the view display different, especially English characters, Chinese characters are generally the same character width, and English is not equal, such as the letter "I” and the letter "r, the gap is very large, Depends on the design of its font.
- Fonts The same characters in different fonts also look different in the view. For example, the words “Song” and “Song” are displayed differently.
- Breaking rules The rules for breaking lines between English words and Chinese characters are different.
- character spacing The distance between characters and characters varies from character to character, and English and English characters, English characters and Chinese characters, English characters and numbers, etc., the spacing between them is different.
- Line spacing The line spacing is expressed in the vertical direction. The line spacing is affected by factors such as paragraph spacing, pre-segment spacing, post-segment spacing and character height, and character position.
- Grid setting In order to facilitate object alignment, the grid is often used as an auxiliary tool for object positioning, and the grid is also directly positioned by characters.
- the printer is different, the driver is different and the printed results are different.
- a first object of the present invention is to provide a computer layout file generation method, which stores a content of a spool file in a current image in a picture format, so that the generated layout file is configured under different operating systems and different environments. Always consistent display and print results. Further of! It is to make the generated layout file have practical functions such as content retrieval, find and locate page number, edit or view, while minimizing the storage space of the layout file.
- a second object of the present invention is to provide a computer layout file opening method for ensuring that the layout file has the same display and printing effect by reading and displaying the pictures stored in the layout file.
- a further objective is to have open layout files with useful functions such as content retrieval, finding and locating page numbers, editing or reviewing content, and continuing to edit the original file based on instructions opened in edit mode.
- the present invention provides a computer layout file generating method, which includes the steps of:
- Step A20 Convert the content of the spool file in the current environment into a picture in the current environment;
- Step A30 Generate layout file information describing the number, format, and storage location related information of the picture;
- Step A40 Encapsulate the picture and the layout file information into a layout file.
- step A20 may be: converting each page content of the spool file in the current environment into a corresponding page of each page, or may be a whole process of spooling the word processing document in the current environment.
- the content is converted to a corresponding image.
- the picture may be stored in a color, black and white, grayscale or watermark form by compression processing and/or setting picture display parameters.
- the layout file information includes file header information storing image size, format, identification, storage location related information, and total page number information reflecting the size of the layout file.
- the step of counting the total number of pages of the word processing document may be included to quickly generate the total page number information; or the step of setting the layout file attribute description area may be included, and in one step, the setting file may be included.
- the step of thumbnail description area at the same time converting the picture into a thumbnail of each page for the page file retrieval of the layout file, saved in the thumbnail description area; may also include a layout file reader package that can be embedded in the webpage operation The steps stored in the layout file. The steps of the file data.
- the present invention proposes a computer layout file opener Law, which includes steps:
- Step B1 G Read the file header information
- Step B20 Obtain a total number of pages of the file
- Step B30 Read and display the picture in the layout file according to the parsing of the file header information and the total number of pages of the file.
- the step B30 may include the step of decompressing the picture, and may further include the step of setting the picture display parameter, so that the picture may be displayed in a color, black and white, grayscale or watermark form.
- the step of reading the thumbnail of each page for page number retrieval in the thumbnail description area of the layout file may be included, and the step of detecting whether the layout file is accompanied by the layout file reader may be included, if any, Running the layout file reader, loading the image in the layout file into the layout file reader; further, further comprising the step of detecting whether the layout file stores the layout file document data, and if yes, editing To open the instructions of the layout file, perform the following steps:
- Step C30 creating a new S white paper to process the document
- Step C40 reading the document data of the layout file
- Step C50 Input the document data into a word processing document, and perform layout and typesetting.
- the technical idea of a computer layout file generation method and an opening method of the present invention is as follows: The picture is a formatted, non-editable display layout, and the display and printing effects are always consistent under different operating systems and different environment configurations.
- the present invention skillfully utilizes this feature of the picture format to store the contents of the spool file in the current environment in a picture format, thereby generating a layout file whose display and print effects are always consistent. At the same time, by reading and displaying the pictures in the layout file, you can have the same display and print effects when the layout file is opened under different operating systems and different environment configurations.
- the computer layout file generating method of the invention utilizes the image format to consistently display and print the effect under different operating systems and different environment configurations, and skillfully stores the content of the spool file in the current environment into a picture format. Simple and effective way to provide an implementation The layout of the word processing file is always consistent with how the layout file is generated.
- the technical solution of the present invention provides two ways to generate a layout file:
- the layout file saves the image to ensure that the layout has the same effect.
- Generation method 2 Save the layout file and document layout file.
- the layout file saves both the document data and the image, and sets different opening instructions for the layout file generated by the generation method, and can open the document data and the image separately.
- the layout process of the layout file may include saving the plain text content in the properties of the layout file, or storing the thumbnail of each page, realizing the content retrieval of the layout file, searching and locating the layout file page number, editing or checking the content thereof, etc.
- An extension of useful features At the same time as the layout file is generated, a layout file reader that can be embedded in the webpage operation can be saved at the same time.
- a layout file having a completely identical display effect can be distributed to the Internet (Internet), and thus the present invention provides an excellent method of distributing a layout file to the Internet (Internet).
- the image is subjected to compression processing and/or display parameter setting, thereby minimizing the storage space of the layout file.
- the computer layout file opening method of the invention utilizes the pictures stored in the layout file, and reads and writes the pictures one by one, and the display and printing effects are always consistent under the different operating systems and different environment configurations by using the picture format, which is simple and effective.
- An open method is provided that enables layout files to have the same display and print effects.
- the technical solution of the present invention provides two ways of opening:
- Open Method 1 Open the layout file as read-only. This open method only reads the picture in the layout file. When opened, it can only view the layout content, and cannot edit, but can insert digital signature, electronic signature or annotation.
- Open mode 2 Open the layout file in edit mode.
- the open mode only reads the document data of the layout file, and the document data is poured into the document according to a standard typesetting process, and the user can edit the text or the object arbitrarily.
- the opening method of the layout file may include reading the plain text content saved in the layout file attribute, or including reading the thumbnail of each page of the layout file, and realizing the content retrieval after the layout file is opened, Useful features such as finding and locating layout file page numbers, editing or viewing their content.
- the layout file is opened, it is possible to detect whether a layout file reader is included in the layout file, and if so, the layout file reader can be run to load the image in the layout file into the layout file reader.
- the present invention utilizes the layout file reader to open a layout file having a completely consistent display effect in a webpage environment, so that the present invention has the function of opening a layout file on the Internet.
- the layout file of the present invention takes the steps of performing compression processing and/or setting the picture display parameters, so that the picture can be stored in the form of color, black and white, grayscale or watermark; during the opening process, The picture is decompressed and/or displayed parameter settings to meet various needs of different users.
- FIG. 1 is a flow chart of a method for generating a computer layout file according to the present invention
- FIG. 2 is a flowchart of a method 1 for generating a computer layout file according to the present invention
- FIG. 3 is a flowchart of a second generation method of a computer layout file generating method according to the present invention
- FIG. 4 is a flowchart of pre-storing a picture in a layout file according to the present invention
- FIG. 5 is a flowchart of a method for opening a computer layout file according to the present invention.
- FIG. 6 is a flow chart showing the opening mode 1 of the computer layout file opening method of the present invention
- FIG. 7 is a flow chart showing the opening mode 2 of the computer layout file opening method of the present invention.
- Ordinary file refers to the file format saved by the word processing software by default.
- the file format saved by Microsof t Word is *. doc, or the file format saved by other word processing software.
- Layout file A special file that prints consistently in word processing software. This file can always maintain consistent printing results in different software and hardware environments. In general, open this with word processing After the file, the display effect is also the same, the original content can not be edited, but digital signature, electronic signature or annotation can be inserted.
- Editable layout file A word processing file that saves the layout and original data at the same time. After opening, you can continue to edit the original content, and automatically update the layout data when saving.
- Layout file for content retrieval On the basis of the layout file, the full text plain text content is also saved in the file attribute when the file is saved, so that the full-text search of the layout file is convenient.
- Thumbnail Reduces the display of the page into a picture, making it easy to quickly view and locate the page number.
- Pr inter Spool Fi le A temporary file generated by the operating system on a computer when the word processing software prints a word processing document. The printed file is copied to the temporary file in a special enhanced primitive format. .
- the word processing software can send the spooled file to the printer in the background. Therefore, a spooled file is the result of printing out in a specific environment including hardware and software devices and settings.
- FIG. 1 is a flowchart of a method for generating a computer layout file according to the present invention, including:
- Step A20 Convert the content of the spool file in the current environment into a picture in the current environment;
- Step A30 Generate layout file information describing the number of pictures, the format, and the information about the storage location;
- Step A40 Encapsulate the picture and the layout file information into a layout file.
- the invention skillfully utilizes the feature that the picture format is always consistent in display and printing effects under different operating systems and different environment configurations, and converts the text processing document to the content of the virtual file ( Pr inter Spool Fi le ) in the current environment.
- the image format storage the single and effectively provides a computer layout file generation method.
- the picture may be a picture of each page of the text processing document in which the content of each page of the spooled file is converted in the current environment, or may be a whole of the content conversion of the text processing document in the current environment.
- An image the latter is a special need to ensure that the word processing document layout is absolutely accurate.
- the techniques involved in the step 20 are all prior art, and only the layout is reliable and the information is comprehensive.
- the present invention includes two technical solutions for generating a layout file, wherein the generation method 1 is a layout file for saving only a picture, and the second generation method is a layout file for saving document data and a picture, FIG. 2 and FIG. 3 W shows the specific processing flow of the two generation methods.
- Step A15 Counting the total number of pages of a text processing document
- Step A20 Convert the content of the spool file in the current environment into a picture in the current environment; Step A21, perform compression processing on the picture and/or set the picture display parameter; Step A31, process file header information;
- Step A32 writing total page number information
- Step A33 Set a layout file attribute description area, and save all the text content of the word processing document in a plain text form in the attribute description area;
- Step A34 setting a layout file thumbnail description area, and converting the picture into a thumbnail of each page is saved in the thumbnail description area;
- Step A35 The layout file reader that can be embedded in the webpage is packaged and stored
- Step A40 Encapsulate all the information in the above steps into a layout file.
- step A20 includes a step A15 of counting the total number of pages of the word processing document, so that the technical solution can preset the number of conversions and storage of the picture according to the total page number information. Position, and initially plan the size of the layout file to speed up the processing of subsequent steps.
- the layout file information in the step A30 includes file header information and total page number information, wherein the file header information stores related information such as the image size, format, identifier, storage location, and the like, and the total page number information is reflected. Information about the layout file size.
- step A21 performs compression processing on the picture and/or sets the picture display parameter, so that the picture can be stored in the form of color, black and white, grayscale or watermark. Effectively reduce the storage space of the picture.
- the step A21 can be:
- the black and white display saves the image storage space than the color display;
- the present invention can store corresponding pictures according to various needs, and effectively reduce the capacity of the picture, thereby minimizing the storage space of the layout file.
- Step A33 is to set a layout file attribute description area, and save all the text content of the word processing document in plain text form in the attribute description area. Specifically, the text content is saved in the "Remarks" field of the layout file attribute, so that the user can conveniently retrieve the content of the layout file.
- Step A34 is to set a layout file thumbnail description area, and store each page thumbnail formed by the picture in the thumbnail description area, and the user can conveniently and quickly find and locate the page number of the layout file by using each page thumbnail.
- Step A35 saves the layout file reader at the same time as the layout file is generated.
- the layout file reader is a picture browser, and the layout file generated by the invention can be directly opened. More importantly, the layout file reader can be embedded in a webpage, so that the layout file generated by the invention has the function of running in a webpage environment, and provides an excellent method for distributing layout files to the Internet, and expands the application field of the invention. .
- the traditional method of publishing information on the Internet is generally to save the word processing file as a web page (Html) file, but the layout of the generated web page file is often different from the original layout in the word processing software, for applications that strictly require a consistent layout, such as Government official documents lose the authority and legal seriousness of official documents and cannot fully meet the needs.
- the layout file reader of the present invention can be embedded in a webpage operation, and the layout file generated by the method of the present invention can be combined with the layout file reader to issue a layout file having the same display effect to the Internet (Internet).
- steps A33, A34 and A35 have certain independence, and may exist separately or in any combination and in any order to the processing flow of the present invention.
- FIG. 3 is a flowchart of a second generation method in a method for generating a computer layout file according to the present invention. Step A10 is added to the technical solution shown in FIG. 2:
- Step A10 Save the data content of the word processing document into the layout file document data.
- the preferred technical solution of the present invention shown in FIG. 3 makes the present invention have wider application value, and provides users with multiple ways of using, and meets the personalized needs of the development of benefits.
- the technical solution shown in FIG. 3 generates a layout file for saving data content and a picture.
- the layout file saves data and saves the layout, and sets different opening instructions for the layout file generated by the generation method, and can open the document data separately. Or picture. If the layout file is opened by opening the document data, it can be edited and opened, and the user can typeset and edit; if the layout file is opened by opening the layout, it is opened in read-only mode, and the user cannot edit the layout content.
- the technical solution shown in Fig. 3 not only achieves the consistent purpose of the layout, but also has an editable extension function.
- the generated layout file stores both the picture and the necessary file information, and also stores the data content of the word processing document, which ensures that the layout effect is consistent and has editing.
- the way to open the layout file users can achieve typesetting and editing.
- FIG. 4 is a flow chart of pre-storing a picture of the present invention in a layout file, specifically:
- Step A20a pointing to a page of the word processing document
- Step A20b Convert the content of the spool file in the current environment to the text processing document.
- Step A21 Perform compression processing on the picture and/or set the picture display parameter;
- Step A22 temporarily store the picture in a certain area of the memory or the external storage;
- Step A23 set to the next page, determine whether there is no such page, if not, return to the execution step A ⁇ b, then execute step A24;
- Step A24 the picture pre-storage ends.
- FIG. 5 is a flowchart of a method for opening a computer layout file according to the present invention, including:
- Step B1G reading the file header information
- Step B20 Obtain a total number of pages of the file
- Step B30 reading and displaying the layout text according to parsing the file header information and the total number of pages of the file The picture in the piece.
- the computer layout file opening method of the invention fully utilizes the feature that the image format is consistent and consistent in different operating systems and different environment configurations, and is simply and efficiently provided by reading the images stored in the layout file and displaying them.
- An open method that enables layout files to ensure that the same layout is displayed and printed.
- the invention includes two opening technical solutions, wherein the opening mode 1 is to open the layout file in a read-only manner, and the opening mode 2 is to open the layout file in an editing manner, and FIG. 6 and FIG. 7 respectively show the specific processing flow of the two opening modes. .
- step B1 Q reading the header information of the layout file
- Step B20 Obtain a total number of pages of the layout file
- Step B30 parsing the file header information and the total number of pages of the file
- Step B31 Create a blank word processing document according to the related information in step B30.
- Step B32 pointing to the first picture of the layout file
- Step B33 reading the picture of the layout file
- Step B34 Perform decompression processing on the picture.
- Step B35 setting the picture display parameter
- Step B36 Insert the picture into a word processing document
- Step B37 pointing to the next picture of the layout file, determining whether there is no picture, if yes, executing step B39; otherwise, performing step B38;
- Step B38 insert a page break, and perform step B33;
- Step B39 displaying the first picture.
- step B30 shown in FIG. 5 the reading and displaying process of the picture in the layout file may be implemented in various manners, either directly in the picture format or loading the picture into the picture.
- the picture object that is the file is displayed.
- the present invention adopts a method of reading and displaying a picture of a layout file in a word processing document, and the word processing document created in step B31 is The type of the document corresponding to the layout file before conversion.
- This kind of reading mode places the picture in the same operating environment and has a more intuitive effect.
- the open mode is read-only, only for browsing, reviewing and printing.
- the layout content cannot be edited, but the areas outside the layout can be edited, such as inserting annotations, electronic signatures, and the like.
- step B34 is basically the inverse of the processing of step A21 of Fig. 2, and step B35 allows the picture to be displayed and printed in the form of color, black and white, grayscale or watermark.
- the layout file attribute can be read, specifically, the plain text content is read from the "remark" field of the layout file attribute, so that the user can conveniently retrieve the content of the layout file;
- the thumbnail of each page of the layout file allows the user to easily and quickly find and locate the layout file page number with each page thumbnail. Further, when opening the layout file, it is also possible to detect whether the layout file is accompanied by a layout file reader, if any, to run the layout file reader, and load the image in the layout file into the layout file reader. .
- the layout file reader can be an image viewer, which can be embedded in a webpage to open a layout file directly in a webpage environment. Therefore, the preferred embodiment provides an excellent method for using a layout file on the Internet (Interne t), extending the field of application of the present invention.
- the above processing process has certain independence, and may be added to the flow shown in Fig. 6 respectively, or may be added to the processing flow of the open layout file of the present invention in any combination and in any order.
- step B36 can set the inserted picture to be "floating above the text"
- step B39 can set the document to be read-only.
- Figure 7 is a flow chart of the opening method 2 of the computer file opening method of the present invention, specifically: step C10, detecting whether the layout file stores the layout file document data, if not, directly executing step B10, if yes, executing step C20; Step C20, determining the open mode, if the layout file is opened in an edit mode, step C30 is performed, and if the layout file is opened in a read-only manner, step B10 is performed;
- Step C30 creating a new blank word processing document
- Step C40 reading the document data of the layout file
- Step C50 Fill the document data into the word processing document in an ordinary manner, and perform layout and typesetting
- Step C60 Display the content of the first page or the content of the page where the cursor is located when it was last saved.
- Step B10 is a step of reading the header information in the technical solution shown in FIG. 6, that is, opening the layout file in a read-only manner.
- the technical solution can enable the user to open the layout file in two ways, which is an extension of the method for opening the layout file of the present invention.
- the layout file is opened in an edit mode
- the open mode only reads the document data of the layout file, and the document data is poured into the document according to a standard typesetting process, and the user can edit the text or the object arbitrarily.
- the layout file is opened in a read-only manner, the technical solution shown in FIG. 6 is not described here.
- the reading and displaying of the document data can also be implemented in various ways, and the technical solution shown in Fig. 7 is only one of them.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
Description
计算机版式文件生成方法和打开方法 技术领域
本发明涉及一种计算机文字处理文件的处理方法, 尤其涉及一种计算机 版式文件生成方法和打开方法。 背景技术
文字处理(Word Proces sor )软件作为文字编辑、 表格处理和图文混排 的工具在政府、 企业和个人办公中, 有着广泛的应用。 在一些应用场合, 如 政府制作、 发布公文时, 由不同软件或相同软件的不同排版机制制作的文件 有时会产生不同的显示和打印效果, 即使使用相同软件和排版机制制作的文 件在不同打印机上输出时, 有时也可能会有不同的打印结果。
导致上述问题的原因是, 文字处理软件对文字、 图形和表格等对象运用 不同的方式处理。 文字按照流式灌排方法, 逐字排列。 图形对象则根据其不 同的排版方式, 有的依据距水平和垂直页面的距离来定位, 有的依据其所在 段落的锚点来与段落相对定位, 表格也是如此。 文字处理对文字排列的处理 十分复杂, 直接影响文字排列效果包括下列因素:
1、 标点: 对标点的处理, 为了让文字与标点排列更协调, 往往会对标 点进行压缩, 不同位置和不同标点的压缩率方式各不相同, 如前置标点、 后 置标点和中文处理标点的习惯等。
2、 字符: 不同字符在视图显示的样子各不相同, 特别是英文字符, 中 文字符一般字符宽度是相等的, 而英文是不相等的, 如字母 "I" 和字母 "r, 差距很大, 取决于其字体的设计。
3、 字体: 不同字体的相同字符在视图显示的样子也各不相同, 如 "宋 体" 和 "楷体" 字显示各异。
4、 断行规则: 英文单词和汉字的断行规则各不相同。
5、 字符间距: 字符与字符之间的距离因为字符的不同而各不相同, 与 英文字符与英文字符、 英文字符与中文字符、 英文字符和数字等, 它们之间 的间距各不相同。
6、 行间距:行间距表现在垂直方向,行间距受到段落间距、段前间距、 段后间距和字符高度、 字符位置等因素的影响。
7、 网格设置: 为了方便对象对齐,往往利用网格作为对象定位的辅助 工具, 而网格也直接字符的定位。
8、 竖排: 由于竖排规则、 规律、 方向不同而造成视图显示的不同。
9、 打印机不同, 其驱动程序也不同而造成打印出来的结果不同。
不同的操作系统、 不同的环境设置(如分辨率、 系统字体大小等)等其 他因素也会影响字符的位置确定。 此外, 文字处理软件随着版本的不断升级, 功能越来越强大, 有的新增功能会对整篇文档在水平和垂直方面的排列或者 对象的定位产生直接或间接的影响, 或者排版的算法有所改变而导致排版结 果的不同, 往往导致新版本打开旧版本制作的文件后 , 不仅显示的版式效果 有一定差异, 而且打印输出的效果差异更大。
上述无法确保文档的版式和打印结果总能保持一致的技术缺陷给文字处 理软件更深入的应用带来困难。 例如, 法律文件有着不可变更性、 一致性以 及版式美观性等严格的要求,要求其文件在任何情况下均有相同的打印效果, 显然现有技术无法满足这种要求。 因此现有技术面临二方面的技术难题, 其 一是如何使文字处理软件在保存文档时不受其版本影响, 将文档保存成版式 总能保持一致的版式文件; 其二是如何使不同版本的文字处理软件在打开版 式文件时, 所打印输出的版式能保持完全一致。 发明内容
本发明的第一目的是提供一种计算机版式文件生成方法, 通过将文字处 理文件在当前环境下假脱机文件的内容以图片格式储存, 使生成的版式文件 在不同操作系统和不同环境配置下总能保持一致的显示和打印效果。 进一步
的!]的是使生成的版式文件具有内容检索、 查找和定位页码、 编辑或查阅等 实用功能, 同时最大限度地减少所述版式文件的存储空间。
本发明的第二目的是提供一种计算机版式文件打开方法, 通过读取并显 示版式文件中存储的图片, 保证所述版式文件具有相同的显示和打印效果。 进一步的目的是使打开的版式文件具有内容检索、 查找和定位页码、 编辑或 查阅内容等实用功能, 并根据以编辑方式打开的指令, 继续编辑原文件。
为了实现本发明的第一目的, 本发明提出了一种计算机版式文件生成方 法, 其中, 包括步骤:
步骤 A20、 将文字处理文档在当前环境下假脱机文件的内容转换为图片; 步骤 A30、 生成描述所述图片数量、 格式以及存储位置相关信息的版式 文件信息;
步骤 A40、 将所述图片和所述版式文件信息封装成版式文件。
具体地, 步骤 A20可以是将文字处理文档在当前环境下假脱机文件的每 一页内容转换为相应的每页图片, 也可以是将文字处理文档在当前环境下假 脱机文件的整篇内容转换为相应的一张图片。 较佳地, 所述图片可以通过压 缩处理和 /或设置图片显示参数,使所述图片可以以彩色、 黑白、 灰度或水印 形式存储。 所述版式文件信息包括存储有图片大小、 格式、 标识、 存储位置 相关信息的文件头信息和反映版式文件大小的总页数信息。
在上述技术方案中, 可以包括统计文字处理文档总页数的步驟, 以快速 生成所述总页数信息; 也可以包括设置版式文件属性描述区的步骤, 同时在 一步地, 可以包括设置版式文件缩略图描述区的步骤, 同时将所述图片转换 成用于版式文件页码检索的每页缩略图, 保存在所述缩略图描述区中; 也可 以包括将可嵌入网页运行的版式文件阅读器封装储存在版式文件中的步骤。 档数据的步骤。
为了实现本发明的第二目的, 本发明提出了一种计算机版式文件打开方
法, 其中, 包括步骤:
步骤 B1 G、 读入文件头信息;
步骤 B20、 获取文件总页数;
步骤 B30、 根据解析所述文件头信息和文件总页数, 读入并显示版式文 件中的图片。
其中所述步骤 B30中, 可以包括对所述图片进行解压缩处理的步驟, 也 可以包括设置所述图片显示参数的步骤, 使所述图片可以以彩色、 黑白、 灰 度或水印形式显示。
在上述技术方案中, 可以包括读入所述版式文件缩微图描述区中用于页 码检索的每页缩微图的步骤, 也可以包括检测版式文件是否附带版式文件阅 读器的步骤, 如有则可以运行所述版式文件阅读器, 将所述版式文件中的图 片加载到所述版式文件阅读器中; 进一步地, 还可以包括检测版式文件是否 存储版式文件文档数据的步骤,如有则可以以编辑方式打开版式文件的指令, 执行下述步骤:
L
步驟 C30、 新建 S白文竽处理文档;
步骤 C40、 读入版式文件的文档数据;
步骤 C50、 将所述文档数据输入到文字处理文档中, 进行布局和排版。 本发明一种计算机版式文件生成方法和打开方法的技术构思是这样的: 图片是一种格式固定、 不可编辑的显示版式, 在不同操作系统和不同环境配 置下显示和打印效果总是保持一致。本发明巧妙地利用图片格式的这一特性, 将文字处理文件在当前环境下假脱机文件的内容以图片格式储存, 从而生成 显示和打印效果总能保持一致的版式文件。 同时, 通过读取并显示版式文件 中的图片, 就可以在不同操作系统和不同环境配置下使版式文件打开时具有 相同的显示和打印效果。
本发明计算机版式文件生成方法利用图片格式在不同操作系统和不同环 境配置下显示和打印效果总是保持一致的特性, 巧妙地将文字处理文件在当 前环境下假脱机文件的内容储存成图片格式, 简单而有效地提供了一种实现
文字处理文件的版式总是保持一致的版式文件的生成方法。 本发明技术方案 提供了二种生成版式文件的方式:
生成方式一: 仅保存图片的版式文件。 所述版式文件保存了图片, 可以 确保版式效果一致。
生成方式二: 保存文档数据和图片的版式文件。 所述版式文件既保存了 文档数据, 又保存了图片, 对该生成方式生成的版式文件设置不同的打开指 令, 可分别打开文档数据和图片。
版式文件的生成过程可以包括在版式文件的属性中保存纯文本文字内 容, 也可以包括储存每页缩略图, 实现了对版式文件进行内容检索、 查找和 定位版式文件页码、 编辑或查阅其内容等实用功能的扩展。 在所述版式文件 生成同时, 可同时保存可嵌入网页运行的版式文件阅读器。 利用本发明方法 生成的版式文件, 结合版式文件阅读器, 可向因特网 ( Internet )发布显示 效果完全一致的版式文件, 因此本发明提供了向因特网 ( Internet )发布版 式文件的绝佳方法。 此外, 本发明版式文件生成过程中, 采取了对所述图片 进行压缩处理和 /或显示参数设置, 最大限度地减少了版式文件的存储空间。
本发明计算机版式文件打开方法利用版式文件内存储的图片, 通过逐次 读入所述图片, 利用图片格式在不同操作系统和不同环境配置下显示和打印 效果总是保持一致的特性, 简单而有效地提供了一种使版式文件具有相同显 示和打印效果的打开方法。 本发明技术方案提供二种打开方式:
打开方式一: 以只读方式打开版式文件。 该打开方式仅读入版式文件中 的图片, 打开后只能查阅版式内容, 不可编辑, 但可以插入数字签名、 电子 签章或批注等内容。
打开方式二: 以编辑方式打开版式文件。 该打开方式仅读入版式文件的 文档数据, 按照标准的排版流程将所述文档数据灌入文档中, 进行排版和显 示内容, 用户可任意编辑文字或者对象。
版式文件的打开方法可以包括读入版式文件属性中保存的纯文本内容, 也可以包括读入版式文件每页缩略图,实现了版式文件打开后进行内容检索、
查找和定位版式文件页码、 编辑或查阅其内容等实用功能。 在打开所述版式 文件时, 可检测版式文件中是否附带版式文件阅读器, 如有则可以运行所述 版式文件阅读器, 将所述版式文件中的图片加载到所述版式文件阅读器中。 本发明利用所述版式文件阅读器, 可在网页环境下打开显示效果完全一致的 版式文件, 使本发明具备在因特网 (Internet )上打开版式文件的功能。
此外, 本发明版式文件在生成过程中, 采取进行压缩处理和 /或设置所述 图片显示参数的步骤,使所述图片可以以彩色、 黑白、 灰度或水印形式存储; 在打开过程中, 采取了对所述图片进行解压缩处理和 /或显示参数设置, 满足 不同用户的各种不同需求。
下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 附图说明
图 1为本发明计算机版式文件生成方法的流程图;
图 2为本发明计算机版式文件生成方法中生成方式一的流程图;
图 3为本发明计算机版式文件生成方法中生成方式二的流程图; 图 4为本发明图片在版式文件中预存储的流程图;
图 5为本发明计算机版式文件打开方法的流程图;
图 6为本发明计算机版式文件打开方法中打开方式一的流程图; 图 7为本发明计算机版式文件打开方法中打开方式二的流程图。 具体实施方式
为更清晰地描述本发明的技术方案, 现将本发明中涉及的相关术语予以 说明。
普通文件: 指文字处理软件默认保存的文件格式, 如 Microsof t Word默 认保存的文件格式为 *. doc, 或其它文字处理软件所保存的文件格式。
版式文件: 指在文字处理软件中打印一致的特殊文件, 该文件在不同软 硬件环境下总是能够保持打印效果一致。 一般情况下, 用文字处理打开这种
文件后, 其显示效果也是一致的, 不可编辑原有内容, 但可以插入数字签名、 电子签章或批注等内容。
可编辑的版式文件: 指同时保存版式和原数据的文字处理文件, 打开后 可继续编辑原有内容, 保存时自动更新版式数据。
可进行内容检索的版式文件: 在版式文件的基础上, 保存文件时同时将 全文纯文本内容保存在文件属性中, 方便对版式文件进行全文检索。
缩略图: 将页面显示内容缩小显示成图片, 便于快速查阅和定位页码。 假脱机文件 ( Pr inter Spool Fi le ) : 文字处理软件打印文字处理文档 时, 操作系统在计算机中生成的临时文件, 将打印的文件用一种特殊的增强 图元格式复制到该临时文件中。 当假脱机文件创建完毕后, 文字处理软件可 以在后台将假脱机文件送往打印机。 因此, 假脱机文件是在特定环境包括软 硬件设备和设置而打印出的结果。
图 1为本发明计算机版式文件生成方法的流程图, 包括:
步骤 A20、 将文字处理文档在当前环境下假脱机文件的内容转换为图片; 步驟 A30、 生成描述图片数量、 格式以及存储位置相关信息的版式文件 信息;
步骤 A40、 将所述图片和所述版式文件信息封装成版式文件。
本发明巧妙地利用了图片格式在不同操作系统和不同环境配置下显示和 打印效果总是保持一致的特性, 将文字处理文档在当前环境下假脱机文件 ( Pr inter Spool Fi le ) 的内容转换成图片格式储存, 筒单而有效地提供了 一种计算机版式文件生成方法。 其中, 所述图片可以是文字处理文档在当前 环境下假脱机文件的每一页内容转换的每页图片, 也可以是文字处理文档在 当前环境下假脱机文件的整篇内容转换的一张图片, 后者是一种特殊需要的 处理方法, 可以确保文字处理文档版式的绝对精确。 所述步骤 20所涉及的技 术均为现有技术, 只需保证版式可靠、 信息全面即可。
本发明包括二种生成版式文件的技术方案, 其中生成方式一为仅保存图 片的版式文件, 生成方式二为保存文档数据和图片的版式文件, 图 2和图 3
W 分别示出了二种生成方式的具体处理流程。
图 2为本发明计算机版式文件生成方法中生成方式一的流程图,具体为: 步骤 A15、 统计文字处理文档总页数;
步骤 A20、 将文字处理文档在当前环境下假脱机文件的内容转换为图片; 步骤 A21、 对所述图片进行压缩处理和 /或设置所述图片显示参数; 步骤 A31、 处理文件头信息;'
步骤 A32、 写入总页数信息;
步骤 A33、 设置版式文件属性描述区, 同时在所述属性描述区中以纯文 本形式保存文字处理文档的全部文字内容;
步骤 A34、 设置版式文件缩略图描述区, 同时将所述图片转换成每页缩 略图保存在该缩略图描述区中;
步骤 A35、 将可嵌入网页运行的版式文件阅读器封装储存;
步骤 A40、 将上述步驟的所有信息封装成版式文件。
在图 1所示的本发明优选技术方案中, 步骤 A20前包括统计文字处理文 档总页数的步骤 A15 , 使本技术方案可根据所述总页数信息预先设置所述图 片的转换次数和存储位置, 并初步规划所述版式文件的大小, 加快后续步骤 的处理速度。 步骤 A30中的版式文件信息包括文件头信息和总页数信息, 其 中, 所述文件头信息中存储有所述图片大小、 格式、 标识、 存储位置等相关 信息, 所述总页数信息是反映版式文件大小的相关信息。
在图 2所示的本发明优选技术方案中, 步骤 A21对所述图片进行压缩处 理和 /或设置所述图片显示参数, 使所述图片可以以彩色、 黑白、 灰度或水印 形式存储, 可有效地减少所述图片的存储空间。 所述步骤 A21可以是:
( A )采用压缩算法对所述图片进行压缩处理;
( B )降^ ί氐分辨率, 将用于屏幕显示的图片的分辨率减少到 96 dpi , 将用 于打印的图片的分辨率减少到 200 dpi;
( C )改变图片颜色显示方式, 提供彩色、 黑白、 灰度和水印等效果选择, 显然, 黑白显示比彩色显示节省了图片存储空间;
通过步骤 A21 , 本发明可根据各种需要存储相应形式的图片, 并有效地 减少图片的容量, 最大限度地减少了版式文件的存储空间。
在图 2所示的本发明优选技术方案中, 通过在所述版式文件中添加相关 内容等步骤, 可在所述版式文件中附带更多的信息, 进一步扩展版式文件的 功能,使用户方便、快捷地浏览和查找版式文件的版式和内容。其中步驟 A33 为设置版式文件属性描述区, 并在所述属性描述区中以纯文本形式保存文字 处理文档的全部文字内容。 具体地说, 将所述文字内容保存在版式文件属性 的 "备注" 字段中, 使用户方便对版式文件进行内容检索。 步骤 A34为设置 版式文件缩略图描述区, 将利用所述图片形成的每页缩略图储存在所述缩略 图描述区中, 用户可以通过每页缩略图方便、 快速地查找和定位版式文件的 页码。 步骤 A35为在版式文件生成的同时, 一并保存版式文件阅读器。 所述 版式文件阅读器为图片浏览器, 可直接打开本发明生成的版式文件。 更重要 的是所述版式文件阅读器可嵌入网页运行, 使本发明生成的版式文件具备在 网页环境下运行的功能, 提供了向因特网发布版式文件的绝佳方法, 扩展了 本发明的应用领域。
因特网发布信息的传统方法一般为是将文字处理文件保存为网页 ( Html ) 文件,但是生成的网页文件的版式往往与文字处理软件中原有版式差别炯异, 对于严格要求版式一致的应用场合, 如政府公文, 就失去了公文的权威性和 法律上的严肃性, 无法完全满足需要。 本发明版式文件阅读器可嵌入网页运 行, 利用本发明方法生成的版式文件, 结合版式文件阅读器, 可向因特网 ( Internet )发布显示效果完全一致的版式文件。
显然, 上述步骤 A33 、 A34和 A35具有一定的独立性, 既可以单独存在, 也可以以任意组合、 任意次序加入到本发明的处理流程中。
通过步骤 A15—A40的处理,所生成的版式文件中已经存储了图片和必要 的版式文件信息, 确保了显示和打印时版式效果的一致。 但由于该保存方式 的版式文件只保存的图片, 所以只能以只读方式打开, 用于浏览和查阅, 不 可编辑显示内容, 但可以插入数字签名、 电子签章或批注等内容。
图 3为本发明计算机版式文件生成方法中生成方式二的流程图, 在图 2 所示的技术方案中增加步驟 A10:
步骤 A10、 将所述文字处理文档的数据内容保存成版式文件文档数据。 图 3所示的本发明优选技术方案使本发明具有更广泛的应用价值, 为用 户提供多种使用方式, 满足曰益发展的个性化需求。 图 3所示的技术方案生 成了一种保存数据内容和图片的版式文件, 该版式文件既保存数据, 又保存 版式, 对该生成方式生成的版式文件设置不同的打开指令, 可分别打开文档 数据或图片。 如果以打开文档数据的方式打开版式文件, 则为以编辑方式打 开, 用户可进行排版和编辑; 如果以打开版式的方式打开版式文件, 则为以 只读方式打开, 用户不可编辑版式内容。 显然, 图 3所示的技术方案不仅实 现了版式一致的发明目的, 而且具有可编辑的扩展功能。
通过图 3所示的步骤 A10— A40的处理,所生成的版式文件中既存储了图 片和必要的文件信息, 也存储了文字处理文档的数据内容, 既确保了版式效 果一致, 又具备以编辑方式打开版式文件的功能, 用户可实现排版和编辑。
图 4为本发明图片在版式文件中预存储的流程图, 具体为:
步骤 A20a、 指向文字处理文档的笫一页;
步骤 A20b、 将文字处理文档此页在当前环境下假脱机文件的内容转换为 图片;
步骤 A21、 对所述图片进行压缩处理和 /或设置所述图片显示参数; 步骤 A22、 将所述图片暂存到内存或外存的某个区域;
步骤 A23、 置成下一页, 判断是否为无此页, 不是则返回执行步骤 A^b, 是则执行步骤 A24;
步骤 A24、 图片预存储结束。 .
图 5为本发明计算机版式文件打开方法的流程图, 包括:
步骤 B1G、 读入文件头信息;
步驟 B20、 获取文件总页数;
步骤 B30、 根据解析所述文件头信息和文件总页数, 读入并显示版式文
件中的图片。
本发明计算机版式文件打开方法充分利用了图片格式在不同操作系统和 不同环境配置下显示和打印效果总是保持一致的特性, 通过读入版式文件中 储存的图片并显示, 简单而有效地提供了一种使版式文件保证显示和打印相 同版式的打开方法。 本发明包括二种打开技术方案, 其中打开方式一为以只 读方式打开版式文件, 打开方式二为以编辑方式打开版式文件, 图 6和图 7 分别示出了二种打开方式的具体处理流程。
图 6为本发明计算机版式文件打开方法中打开方式一的流程图,具体为: 步骤 B1 Q、 读入版式文件头信息;
步骤 B20、 获取版式文件总页数;
步驟 B30、 解析所述文件头信息和文件总页数;
步驟 B31、 根据步驟 B30的相关信息创建空白文字处理文档;
步骤 B32、 指向版式文件的第一张图片;
步驟 B33、 读入版式文件此张图片;
步骤 B34、 对所述图片进行解压缩处理;
步骤 B35、 设置所述图片显示参数;
步骤 B36、 将所述图片插入到文字处理文档中;
步骤 B37、 指向版式文件的下一张图片, 判断是否已无图片, 是则执行 步驟 B39; 否则执行步骤 B38;
步驟 B38、 插入一个分页符, 执行步骤 B33;
步骤 B39、 显示第一张图片。
通过步骤 B10— B39的处理,完全读入了版式文件中的图片和必要文件信 息, 并实现了与原版式的一致。 应说明的是, 在图 5所示的步骤 B30中, 版 式文件中图片的读入及显示处理可采用多种方式实现, 既可以是直接以图片 格式显示, 也可以是将所述图片装载到相应文档中, 作为该文件的图片对象 显示出来。 在图 6所示的优选技术方案中, 本发明采用将版式文件的图片装 载在文字处理文档中的读入、 显示方式, 步骤 B31所创建的文字处理文档为
所述版式文件转换前所对应的文档类型。 该种读入方式将所述图片放置在相 同的运行环境下, 具有更直观的效果。 显然, 该打开方式为只读方式, 只用 于浏览、 查阅和打印, 不可编辑版式内容, 但可以对版式之外的区域进行编 辑, 如插入批注、 电子签章等。
在图 6所示的优选技术方案中, 考虑到对显示和打印效果的不同需求, 本发明设置了步骤 B34和 B35, 对所读入的图片进行解压缩处理以及显示参 数设置, 最大限度地给用户提供更丰富的选择。 步骤 B34的处理过程基本上 是图 2步骤 A21处理的逆过程, 步骤 B35可使所述图片以彩色、 黑白、 灰度 或水印形式显示和打印。
在图 6所示的优选技术方案中, 版式文件打开过程中还可以同时读入版 式文件附带的其它信息, 为用户后续浏览、 查找操作提供数据。 可以读入所 述版式文件属性中以纯文本形式保存的内容, 具体地说, 是从版式文件属性 的 "备注" 字段中读入纯文本内容, 使用户方便对版式文件内容进行检索; 也可以读入版式文件的每页缩略图, 使用户可以通过每页缩略图方便、 快速 地查找和定位版式文件页码。 更进一步地, 在打开版式文件时, 还可以检测 版式文件是否附带版式文件阅读器, 如有则运行所述版式文件阅读器, 将所 述版式文件中的图片加载到所述版式文件阅读器中。 所述版式文件阅读器可 以是图片阅览器, 能嵌入网页运行, 实现在网页环境下直接打开版式文件。 因此, 本优选方案为在因特网 ( Interne t )上使用版式文件提供了绝佳的方 法, 扩展了本发明的应用领域。 上述的处理过程具有一定的独立性, 既可以 分别加入到图 6所示的流程中, 也可以以任意组合、 任意次序加入到本发明 打开版式文件的处理流程中。
在图 6所示的打开版式文件的具体流程中, 步骤 B36可以将所插入的图 片设置成 "浮在文字上方" , 步骤 B39可以设置文档为只读状态。
图 7为本发明计算机版式文件打开方法中打开方式二的流程图,具体为: 步骤 C10、 检测版式文件是否存储版式文件文档数据, 如没有则直接执 行步骤 B10, 如有则执行步骤 C20;
步骤 C20、 确定打开方式, 如以编辑方式打开版式文件则执行步骤 C30, 如以只读方式打开版式文件则执行步骤 B10;
步骤 C30、 新建空白文字处理文档;
步驟 C40、 读入版式文件文档数据;
步骤 C50、 将所述文档数据按照普通方式灌入所述文字处理文档, 进行 布局和排版;
步骤 C60、 显示第一页内容或上次保存时光标所在位置页内容。
其中步骤 B10为图 6所示技术方案中读入文件头信息步骤, 即以只读方 式打开版式文件。 本技术方案可以使用户采用二种方式打开版式文件, 是本 发明打开版式文件方法的扩展。 当采用以编辑方式打开版式文件时, 该打开 方式仅读入版式文件的文档数据 , 按照标准的排版流程将所述文档数据灌入 文档中, 进行排版和显示内容, 用户可任意编辑文字或者对象。 当采用以只 读方式打开版式文件时, 同图 6所示的技术方案, 这里不再赘述。
同样, 在图 7所示的打开方式中, 所述文档数据的读入和显示也可以釆 用多种方式实现, 图 7所示的技术方案只是其中一种方式。 实际上, 也可以 采用载入文字处理软件, 用所述文字处理软件直接打开文档数据的方式, 这 里不再 说明。
所应说明的是, 以上实施例仅用以说明本发明的技术方案而非限制, 尽 管参照较佳实施例对本发明进行了详细说明, 本领域的普通技术人员应当理 解, 可以对本发明的技术方案进行修改或者等同替换, 而不脱离本发明技术 方案的精神和范围。
Claims
1.一种计算机版式文件生成方法, 其中, 包括步骤:
步骤 A20、 将文字处理文档在当前环境下假脱机文件的内容转换为图片; 步骤 A30、 生成描述图片数量、 格式以及存储位置相关信息的版式文件 信息;
步驟 A40、 将所述图片和所述版式文件信息封装成版式文件。
2.如权利要求 1所述的计算机版式文件生成方法, 其中, 步驟 A20具体 为: 将文字处理文档在当前环境下假脱机文件的每一页内容转换为相应的每 页图片。
3.如权利要求 1所述的计算机版式文件生成方法, 其中, 步骤 A20具体 为: 将文字处理文档在当前环境下假脱机文件的整篇内容转换为相应的一张 图片。
4.如权利要求 1所述的计算机版式文件生成方法, 其中, 所述步骤 A30 中的版式文件信息包括存储有图片大小、 格式、 标识、 存储位置相关信息的 文件头信息和反映版式文件大小的总页数信息。
5.如权利要求 1所述的计算机版式文件生成方法,其中,在所述步骤 A20 和 A30 之间还包括对所述图片进行压缩处理和 /或设置所述图片显示参数的 步骤, 使所述图片可以以彩色、 黑白、 灰度或水印形式存储。
6.如权利要求 1— 5任一所述的计算机版式文件生成方法, 其中, 还包括 统计文字处理文档总页数的步驟, 以快速生成所述总页数信息。
7.如权利要求 1— 5任一所述的计算机版式文件生成方法, 其中, 还包括 设置版式文件属性描述区的步骤, 同时在所述属性描述区中以纯文本形式保 存用于版式文件内容检索的文字内容。
8.如权利要求 1一 5任一所述的计算机版式文件生成方法, 其中, 还包括 设置版式文件缩略图描述区的步骤, 同时将所述图片转换成用于版式文件页 码检索的每页缩略图, 保存在所述缩略图描述区中。
9.如权利要求 1— 5任一所述的计算机版式文件生成方法, 其中, 还包括
10.如权利要求 1—5任一所述的计算机版式文件生成方法, 其中, 还包
11.一种计算机版式文件打开方法, 其中, 包括下述步骤:
步骤 B10、 读入文件头信息;
步骤 B20、 获取文件总页数;
步骤 B30、 根据解析所述文件头信息和文件总页数, 读入并显示版式文 件中的图片。
12.如权利要求 11所述的计算机版式文件打开方法,其中,所述步骤 B30 中读入版式文件的图片进一步包括对所述图片进行解压缩处理的步驟。
1 3.如权利要求 11所述的计算机版式文件打开方法,其中,所述步骤 B30 中显示版式文件的图片进一步包括设置所述图片显示参数的步骤, 使所述图 片可以以彩色、 黑白、 灰度或水印形式显示。
14.如权利要求 11所述的计算机版式文件打开方法, 其中, 还包括读入 所述版式文件缩 图描述区中用于页码检索的每页缩微图的步骤。
15.如权利要求 11— 14任一所述的计算机版式文件打开方法, 其中, 还 包括检测版式文件是否附带版式文件阅读器的步驟, 如有则可以运行所述版 式文件阅读器, 将所述版式文件中的图片加载到所述版式文件阅读器中。
16.如权利要求 11一 14任一所述的计算机版式文件打开方法, 其中, 还 包括检测版式文件是否存储版式文件文档数据的步骤 , 如有则可以以编辑方 式打开版式文件的指令, 执行下述步骤:
步骤 C30、 新建空白文字处理文档;
步驟 C40、 读入版式文件的文档数据;
步驟 C5 Q、 将文档数据输入到所述文字处理文档中, 进行布局和排版。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP06840760A EP1975812A4 (en) | 2005-12-31 | 2006-12-30 | METHOD FOR GENERATING COMPUTER FORMAT DOCUMENT AND METHOD FOR OPENING |
JP2008547840A JP2009522626A (ja) | 2005-12-31 | 2006-12-30 | コンピュータの組版ファイルを作成及び開く方法 |
US12/165,409 US20080320379A1 (en) | 2005-12-31 | 2008-06-30 | Method for Generating and Opening Computer Forme File |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510137834.8 | 2005-12-31 | ||
CNB2005101378348A CN100356372C (zh) | 2005-12-31 | 2005-12-31 | 计算机版式文件生成方法和打开方法 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/165,409 Continuation US20080320379A1 (en) | 2005-12-31 | 2008-06-30 | Method for Generating and Opening Computer Forme File |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007076717A1 true WO2007076717A1 (fr) | 2007-07-12 |
Family
ID=36805669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2006/003730 WO2007076717A1 (fr) | 2005-12-31 | 2006-12-30 | Procédé de génération de fichier en format informatique et procédé d'ouverture |
Country Status (5)
Country | Link |
---|---|
US (1) | US20080320379A1 (zh) |
EP (1) | EP1975812A4 (zh) |
JP (1) | JP2009522626A (zh) |
CN (1) | CN100356372C (zh) |
WO (1) | WO2007076717A1 (zh) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271463B (zh) * | 2007-06-22 | 2014-03-26 | 北大方正集团有限公司 | 版式文件的结构处理方法和系统 |
JP5120011B2 (ja) * | 2008-03-25 | 2013-01-16 | 富士通モバイルコミュニケーションズ株式会社 | 携帯電話機 |
CN101308488B (zh) * | 2008-06-05 | 2010-06-02 | 北京大学 | 基于版式文件的文档流式信息处理方法及装置 |
KR101383326B1 (ko) | 2008-10-07 | 2014-04-10 | 삼성전자주식회사 | 썸네일 표시 방법 및 화상형성장치 |
CN101751526B (zh) * | 2008-12-19 | 2012-11-21 | 鸿富锦精密工业(深圳)有限公司 | 电子文档保护系统及方法 |
CN101882130B (zh) * | 2009-05-07 | 2012-10-03 | 安凯(广州)微电子技术有限公司 | 一种fat格式文件系统中加速打开/关闭文件的方法 |
CN102087692B (zh) * | 2009-12-02 | 2013-11-06 | 北大方正集团有限公司 | 一种版式文件数据防复制方法及系统 |
CN102467538B (zh) * | 2010-11-11 | 2013-11-27 | 北大方正集团有限公司 | 一种浏览版面的方法及装置 |
CN102541820B (zh) * | 2010-12-27 | 2015-08-05 | 北京大学 | 一种多版式复合文档生成和展示方法及系统 |
JP5709632B2 (ja) * | 2011-04-27 | 2015-04-30 | キヤノン株式会社 | 情報処理装置、情報処理方法、プログラム |
CN102222059A (zh) * | 2011-06-14 | 2011-10-19 | 汉王科技股份有限公司 | 实现电子阅读器多格式信息显示方法、设备及系统 |
CN103678348B (zh) * | 2012-09-10 | 2017-06-16 | 腾讯科技(深圳)有限公司 | 一种运行计算机文件的方法和装置 |
CN103246235B (zh) * | 2013-05-03 | 2016-04-20 | 陈洪铎 | 一种应用于数控系统的工件程序汉字备注及检索方法 |
CN104239221B (zh) * | 2013-06-20 | 2017-07-25 | 赛恩倍吉科技顾问(深圳)有限公司 | 阅读器内存优化系统及方法 |
CN104217170A (zh) * | 2014-09-26 | 2014-12-17 | 广州金山移动科技有限公司 | 一种文档只读方法及装置 |
CN104537117A (zh) * | 2015-01-23 | 2015-04-22 | 小米科技有限责任公司 | 文章处理的方法及装置 |
CN106313907A (zh) * | 2016-08-16 | 2017-01-11 | 江苏科技大学 | 一种基于图像转换的热敏打印机文字打印方法及系统 |
CN106681615A (zh) * | 2016-12-30 | 2017-05-17 | 深圳市创凯智能股份有限公司 | 一种文档查看方法及装置 |
CN110874522B (zh) * | 2018-09-03 | 2024-04-30 | 珠海金山办公软件有限公司 | 文件格式转换方法、装置、电子设备及存储介质 |
CN110554872B (zh) * | 2019-08-08 | 2023-10-10 | 北京曲田科技有限公司 | 一种基于阅读器sdk的数据处理方法以及阅读器sdk |
CN112784546B (zh) * | 2020-05-09 | 2023-06-20 | 珠海金山办公软件有限公司 | 一种公文页码设置方法、装置、设备及存储介质 |
CN112486431A (zh) * | 2020-12-03 | 2021-03-12 | 江苏中威科技软件系统有限公司 | 一种对ofd版式文件内容选择打印的方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1245935A (zh) * | 1999-06-21 | 2000-03-01 | 李虹 | 名片全自动识别录入与检索系统 |
US20040230620A1 (en) * | 2003-05-16 | 2004-11-18 | Chung-I Lee | System and method for electronic document control |
US20040246515A1 (en) * | 2003-06-03 | 2004-12-09 | Sharp Laboratories Of America, Inc. | System and method for delivering native structure document printing instructions |
CN1677390A (zh) * | 2005-02-02 | 2005-10-05 | 广州网上新生活软件技术服务有限公司 | 一种嵌入式系统多种字体及大小和样式的显示系统和方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2679353B1 (fr) * | 1991-07-17 | 1997-01-03 | Bull Sa | Procede de mise en page de documents structures. |
US6924904B2 (en) * | 2001-02-20 | 2005-08-02 | Sharp Laboratories Of America, Inc. | Methods and systems for electronically gathering and organizing printable information |
CN1389809A (zh) * | 2001-06-04 | 2003-01-08 | 黎明网络有限公司 | 电子公文表示方法和系统 |
US20050050452A1 (en) * | 2003-08-27 | 2005-03-03 | Weitzel Wade D. | Systems and methods for generating an electronically publishable document |
-
2005
- 2005-12-31 CN CNB2005101378348A patent/CN100356372C/zh active Active
-
2006
- 2006-12-30 WO PCT/CN2006/003730 patent/WO2007076717A1/zh active Application Filing
- 2006-12-30 JP JP2008547840A patent/JP2009522626A/ja active Pending
- 2006-12-30 EP EP06840760A patent/EP1975812A4/en not_active Withdrawn
-
2008
- 2008-06-30 US US12/165,409 patent/US20080320379A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1245935A (zh) * | 1999-06-21 | 2000-03-01 | 李虹 | 名片全自动识别录入与检索系统 |
US20040230620A1 (en) * | 2003-05-16 | 2004-11-18 | Chung-I Lee | System and method for electronic document control |
US20040246515A1 (en) * | 2003-06-03 | 2004-12-09 | Sharp Laboratories Of America, Inc. | System and method for delivering native structure document printing instructions |
CN1677390A (zh) * | 2005-02-02 | 2005-10-05 | 广州网上新生活软件技术服务有限公司 | 一种嵌入式系统多种字体及大小和样式的显示系统和方法 |
Non-Patent Citations (1)
Title |
---|
See also references of EP1975812A4 * |
Also Published As
Publication number | Publication date |
---|---|
EP1975812A4 (en) | 2010-08-11 |
JP2009522626A (ja) | 2009-06-11 |
EP1975812A1 (en) | 2008-10-01 |
CN1794218A (zh) | 2006-06-28 |
CN100356372C (zh) | 2007-12-19 |
US20080320379A1 (en) | 2008-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2007076717A1 (fr) | Procédé de génération de fichier en format informatique et procédé d'ouverture | |
US6925597B2 (en) | Systems and methods for digital document processing | |
US7055092B2 (en) | Directory for multi-page SVG document | |
CN104346322B (zh) | 文档格式处理装置和文档格式处理方法 | |
KR100743781B1 (ko) | 디지털 문서 처리용 시스템 및 방법 | |
US20020013795A1 (en) | Serial storage of ink and its properties | |
US8023135B2 (en) | Interface for building a print container | |
US20090282389A1 (en) | Abstracting Test Cases From Application Program Interfaces | |
US20030070146A1 (en) | Information processing apparatus and method | |
US20060262336A1 (en) | Manual annotation document reformation | |
US20130318435A1 (en) | Load-Time Memory Optimization | |
US6956970B2 (en) | Information storage using tables and scope indices | |
US8015213B2 (en) | Content having native and export portions | |
CN111881651A (zh) | 一种uot流式文档转换成ofd版式文档的方法 | |
US8213037B2 (en) | Multifunctional peripheral print container modification | |
US20100141976A1 (en) | Information processing apparatus, information processing method, and storage medium | |
WO2001080069A1 (en) | Systems and methods for digital document processing | |
Sikos et al. | Optimized Appearance | |
Merz et al. | Adobe Acrobat and PDF | |
JP2004038463A (ja) | 出力制御装置および出力制御方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2008547840 Country of ref document: JP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2006840760 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 2006840760 Country of ref document: EP |