CN1326071C - Electronic file display and treatment method and system - Google Patents

Electronic file display and treatment method and system Download PDF

Info

Publication number
CN1326071C
CN1326071C CNB2003101030190A CN200310103019A CN1326071C CN 1326071 C CN1326071 C CN 1326071C CN B2003101030190 A CNB2003101030190 A CN B2003101030190A CN 200310103019 A CN200310103019 A CN 200310103019A CN 1326071 C CN1326071 C CN 1326071C
Authority
CN
China
Prior art keywords
file
window
display
module
data object
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.)
Expired - Fee Related
Application number
CNB2003101030190A
Other languages
Chinese (zh)
Other versions
CN1612129A (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.)
Inventec Corp
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2003101030190A priority Critical patent/CN1326071C/en
Publication of CN1612129A publication Critical patent/CN1612129A/en
Application granted granted Critical
Publication of CN1326071C publication Critical patent/CN1326071C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to an electronic file display and treatment method and a system. An information platform is established, a character string of an electronic file with a specific format is displayed in a specific mode, and the contents of the electronic file, such as characters, patterns, forms, etc. are displayed on a computer screen by a specific window. The electronic file display and treatment method and the system of the present invention at least comprises a reading module, a display window establishment module, a dot array chart establishing module, a data object tracing module, a blank eliminating module and a display control module. The present invention has the advantages that a blank part in displayed file contents is eliminated, and the displayed file contents have a beautiful typesetting effect.

Description

E-file display processing method and system
Technical field
The invention relates to a kind of computer information technology, particularly about a kind of e-file display processing method and system, can carry to information platform, the information platform under the (SuSE) Linux OS for example, in order to character string to the e-file of specific format, the character string of the e-file of PDF (PortableDocument Format) form for example, carry out the display process of ad hoc fashion, content with the PDF e-file, comprise literal, figure, form etc., by a kind of specific window, QT window for example, be shown on the computer screen, it can eliminate the blank parts in the shown file content, makes the file content that shows have composing effect more attractive in appearance.
Background technology
PDF (Portable Document Format) is a kind of electronic document format that is widely used in government and establishment, it has cross-platform characteristic, therefore can be presented on the different computerized information platforms, the computerized information platform under Linux, Windows, the Unix operating system for example allows between the government that uses different information platforms and establishment or the user swap file data easily.
Yet when the PDF e-file was shown by different windows, when for example showing by the QT window, the form Chang Wufa decided at the higher level but not officially announced of some in the PDF e-file was presented in the QT window by required mode.For example, include many frameworks in the most PDF e-file, when these frameworks are presented at the QT window, on display page, have many blank parts usually, make the integral body of display page set type not attractive in appearance.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of e-file display processing method and system, when it can be presented at computer screen on by the QT window content of PDF e-file, can eliminate the blank parts on the display page, make the file content that shows have composing effect more attractive in appearance.
Based on above-mentioned and other purpose, e-file display processing method of the present invention and system can carry to information platform, the information platform under the (SuSE) Linux OS for example, character string to a kind of e-file of specific format, the character string of the e-file of PDF (Portable Document Format) form for example, carry out the display process of ad hoc fashion, whereby with the content of PDF e-file, comprise literal, figure, form etc., by a kind of specific window, for example the QT window is shown on the computer screen.
E-file display processing system of the present invention comprises at least: read module, can read the character string of this e-file, and obtain each data object that comprised in this e-file and relevant display properties thereof; Display window is set up module, can set up display window in this window, shows the content of this e-file in this display window; Dot matrix figure sets up module, can set up dot matrix figure in this display window; Data object is described module, each data object that this read module read can be described to this dot matrix figure according to its relevant display properties; Blank cancellation module, can be when this data object be described module and is being described in the process to find that there is blank parts in the side of some data objects, blank cancellation module is activated with position, the upper left corner and position, the lower right corner roughly overlapping upper left corner coordinate and lower right corner coordinate to its display frame with this data object, eliminates this blank parts whereby; Then making this data object describe module will eliminate the content of the data object after the blank and describe to this dot matrix figure; And display control module, this data object can be described the dot matrix figure that module is described to finish, be presented at by this window on the screen of this computerized information platform.
E-file display processing method of the present invention comprises at least: read the character string of this e-file, obtain each data object that comprised in this e-file and relevant display properties thereof; In this window, set up display window; In this display window, set up dot matrix figure; Each data object that reads is described to this dot matrix figure according to its relevant display properties; If when finding that there is blank parts in the side of some data objects, then, eliminate this blank parts whereby with position, the upper left corner and position, the lower right corner roughly overlapping upper left corner coordinate and the lower right corner coordinate of this data object to its display frame; Then will eliminate the content of the data object after the blank describes to this dot matrix figure; And the dot matrix figure that will describe to finish is presented on the screen of computerized information platform by this window.
In sum, the blank parts in the shown file content can be eliminated by e-file display processing method of the present invention and system, makes the file content that shows have composing effect more attractive in appearance.
Description of drawings
Fig. 1 is the system architecture synoptic diagram of the Object Oriented OO component model of e-file display processing method of the present invention and system;
Fig. 2 is the process flow diagram that the performed blank of e-file display processing method of the present invention and system is eliminated the operational method of program;
Fig. 3 A is the synoptic diagram of the blank parts in the existing shown file content of display processing method;
Fig. 3 B is the synoptic diagram of the example after display processing method of the present invention is eliminated blank parts.
Embodiment
Embodiment
Below be conjunction with figs., describe the embodiment of e-file display processing method of the present invention and system in detail.
Fig. 1 is the basic structure of the Object Oriented OO component model (object-oriented component model) of e-file display processing system of the present invention (part that comprises as the frame of broken lines of label 100 indications).As shown in the figure, in practical application, e-file display processing system 100 of the present invention carries to computerized information platform 10, the computerized information platform under the (SuSE) Linux OS for example, character string to a kind of e-file 20 of specific format, the character string of the e-file 20 of PDF (PortableDocument Format) form for example, carry out the display process of an ad hoc fashion, whereby with the content of this e-file, comprise literal, picture, form etc., by a kind of specific window, for example the QT window is shown on the computer screen 11 of computerized information platform 10; It can eliminate the blank parts in the shown file content, makes the file content that shows have composing effect more attractive in appearance.
The Object Oriented OO component model of e-file display processing system 100 of the present invention comprises at least: (a) read module 110; (b) display window is set up module 120; (c) dot matrix figure sets up module 130; (d) data object is described module 140; (e) blank cancellation module 150; And (f) display control module 160.
Read module 110 is in order to read the character string of PDF e-file 20, to obtain all data objects (for example literal, figure, form etc.) in this PDF e-file 20, and the relevant display properties of these data objects, comprise text formatting (font, pattern, size, color etc.), graphic presentation attribute, form display properties etc.
Display window is set up module 120 can set up display window in the QT window, show the content of this PDF e-file 20 by this display window.It is to utilize that this display window is set up module 120, for example the XcreateGC among the Xlib of X Window sets up, and with wherein each graph window display properties, comprise foreground, background colour, live width etc., be stored in drawing environment (GraphicContext, GC) in.
Dot matrix figure sets up module 130 and can be used to set up dot matrix Figure 131, utilizes this dot matrix Figure 131 to depict the content of this PDF e-file 20, comprises literal, figure, form etc.It is to utilize that this dot matrix figure sets up module 130, and for example the XcreatePixmap among the Xlib sets up.
Data object is described module 140 can read above-mentioned read module 110 from this PDF e-file 20 each data object, comprise lteral data object, graphic data object, list data object etc., according to the predetermined display properties of each data object, describe to set up on dot matrix Figure 131 that module 130 set up to above-mentioned dot matrix figure in the dot matrix mode.If data object is described module 140 and find some data objects in being described process, example literal data object 30 as shown in Figure 3A, when in framework 132, showing, and there is blank parts 31 between the side of framework 132, then can sends a blank active information of eliminating to blank cancellation module 150.
Blank cancellation module 150 can respond above-mentioned data object and describe blank that module 140 sends and eliminate active information and carry out blank elimination program, and the blank parts 31 of the side of this literal data object 30 is eliminated.The basic conception of this blank elimination program is, with position, the upper left corner (TX of literal data object 30 1, TY 1) and position, the lower right corner (TX 2, TY 2) overlapping upper left corner coordinate (X to its display frame 132 1, Y 1) and lower right corner coordinate (X 2, Y 2), its operational method is as shown in Figure 2.Eliminate after the blank, blank cancellation module 150 promptly can make data object describe the data object 30 that module 140 will eliminate after the blank and describe to dot matrix Figure 131.Fig. 3 B is the example that again literal data object 30 is shown in after blank parts shown among Fig. 3 A 31 is eliminated in the framework 132.
Display control module 160 can be described above-mentioned data object literal that module 140 describes in the dot matrix mode, figure, form etc. on this dot matrix Figure 131, be shown in by the QT window on the screen 11 of this computerized information platform 10.
When practical operation, e-file display processing system 100 of the present invention, at first make read module 110 read the character string of PDF e-file 20, obtain all data objects (for example comprising literal, figure, form etc.) in this PDF e-file 20, and the relevant display properties of these data objects, comprise text formatting (font, pattern, size, color etc.), graphic presentation attribute, form display properties etc.; And activate display window simultaneously and set up module 120, in the QT window, set up display window, (Graphic Context GC), sets up display window to the drawing environment that utilization is just built in advance in the QT window; Set up module 130 by dot matrix figure again and set up dot matrix Figure 131.
Then, make data object describe module 140 reads above-mentioned read module 110 from this PDF e-file 20 each data object,, describe to dot matrix Figure 131 in the dot matrix mode according to the relevant display properties of each data object.If data object is described module 140 and find some data objects in being described process, for example the literal data object 30, when there is blank parts 31 in side, even blank cancellation module 150 is carried out flow process shown in Figure 2, eliminate the blank parts 31 of these data object 30 sides, then make data object describe module 140 again and will eliminate the content of the data object 30 after the blank and describe to dot matrix Figure 131.Make display control module 160 that above-mentioned data object is described literal that module 140 describes in the dot matrix mode, figure, form etc. at last on this dot matrix Figure 131, be presented at by the QT window on the screen 11 of this computerized information platform 10.
In a word, the invention provides a kind of e-file display processing method and system of novelty, it can carry to information platform, in order to the character string of the e-file of specific format is carried out the display process of ad hoc fashion, the content with this e-file is shown on the computer screen by a kind of specific window whereby; Its characteristics are, can eliminate the blank parts in the shown file content, make the file content that shows have composing effect more attractive in appearance.Therefore the present invention has better progressive and practicality than prior art.

Claims (8)

1. e-file display processing method, can carry to the computerized information platform, the character string of the e-file of one specific format is carried out the display process of ad hoc fashion, be presented at the content of this e-file on the screen of this computerized information platform by specific window; It is characterized in that this e-file display processing method comprises at least:
Read the character string of this e-file, obtain each data object that comprised in this e-file and relevant display properties thereof;
In this window, set up display window;
In this display window, set up dot matrix figure;
Each data object that reads is described to this dot matrix figure according to its relevant display properties;
If when finding that there is blank parts in the side of some data objects, the position, the upper left corner of this data object and lower right corner location overlap to the upper left corner coordinate and the lower right corner coordinate of its display frame, are eliminated this blank parts whereby; Then will eliminate the content of the data object after the blank describes to this dot matrix figure; And
The dot matrix figure that describes to finish is presented on the screen of this computerized information platform by this window.
2. e-file display processing method as claimed in claim 1 is characterized in that, this computerized information platform is the computerized information platform under the (SuSE) Linux OS.
3. e-file display processing method as claimed in claim 1 is characterized in that, the e-file of this specific format is the e-file of PDF.
4. e-file display processing method as claimed in claim 1 is characterized in that, this window is the QT window.
5. e-file display processing system, can carry to the computerized information platform, the character string of the e-file of one specific format is carried out the display process of ad hoc fashion, be shown in the content of this e-file on the screen of this computerized information platform by specific window; It is characterized in that this e-file display processing system comprises at least:
Read module can read the character string of this e-file, obtains each data object that comprised in this e-file and relevant display properties thereof;
Display window is set up module, can set up display window in this window, shows the content of this e-file in this display window;
Dot matrix figure sets up module, can set up dot matrix figure in this display window;
Data object is described module, each data object that this read module read can be described to this dot matrix figure according to its relevant display properties;
Blank cancellation module, when this data object is described module and is being described in the process to find that there is blank parts in the side of some data objects, this blank cancellation module is activated, the position, the upper left corner of this data object and lower right corner location overlap to the upper left corner coordinate and the lower right corner coordinate of its display frame, are eliminated this blank parts whereby; Then making this data object describe module will eliminate the content of the data object after the blank and describe to this dot matrix figure; And
Display control module can be described this data object the dot matrix figure that module describes to finish and be presented on the screen of this computerized information platform by this window.
6. e-file display processing system as claimed in claim 5 is characterized in that, this computerized information platform is the computerized information platform under the (SuSE) Linux OS.
7. e-file display processing system as claimed in claim 5 is characterized in that, the e-file of this specific format is the e-file of PDF.
8. e-file display processing system as claimed in claim 5 is characterized in that, this window is the QT window.
CNB2003101030190A 2003-10-29 2003-10-29 Electronic file display and treatment method and system Expired - Fee Related CN1326071C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101030190A CN1326071C (en) 2003-10-29 2003-10-29 Electronic file display and treatment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101030190A CN1326071C (en) 2003-10-29 2003-10-29 Electronic file display and treatment method and system

Publications (2)

Publication Number Publication Date
CN1612129A CN1612129A (en) 2005-05-04
CN1326071C true CN1326071C (en) 2007-07-11

Family

ID=34756497

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101030190A Expired - Fee Related CN1326071C (en) 2003-10-29 2003-10-29 Electronic file display and treatment method and system

Country Status (1)

Country Link
CN (1) CN1326071C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100816184B1 (en) * 2006-08-10 2008-03-21 한국전자거래진흥원 System of electronic document repository which guarantees authenticity of the electronic document and issues certificates and method of registering, reading, issuing, transferring, a certificate issuing performed in the system
CN101923723B (en) * 2009-06-16 2012-11-28 汉王科技股份有限公司 Method for realizing display of electronic document
CN111179164A (en) * 2019-11-28 2020-05-19 泰康保险集团股份有限公司 Method and device for generating thumbnail

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1381795A (en) * 2001-04-18 2002-11-27 无敌科技(西安)有限公司 Automatic format setting method for palm-type browser
US20030112223A1 (en) * 2001-12-19 2003-06-19 Samsung Electronics Co., Inc. Method for inputting characters in portable device having limited display size and number of keys, and portable device using the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1381795A (en) * 2001-04-18 2002-11-27 无敌科技(西安)有限公司 Automatic format setting method for palm-type browser
US20030112223A1 (en) * 2001-12-19 2003-06-19 Samsung Electronics Co., Inc. Method for inputting characters in portable device having limited display size and number of keys, and portable device using the same

Also Published As

Publication number Publication date
CN1612129A (en) 2005-05-04

Similar Documents

Publication Publication Date Title
US6377262B1 (en) Rendering sub-pixel precision characters having widths compatible with pixel precision characters
CN103136769A (en) Method and device of generation of writing style font of user
US7629976B2 (en) Display device, control method for the same, and information storage medium
JPWO2008015825A1 (en) Written font data and character output system
US8341546B2 (en) Method for visualizing a change caused by scrolling in a scrolling direction of a section of a text and/or graphic displayed on an optical display means
US7965398B2 (en) Character rendering device, display device, and printing device
CN108961361B (en) Method and system for generating special effect text image and computer equipment
US20070013700A1 (en) Mobile communication terminal having function of animating input characters
JPH1091346A (en) Handwriting input device and medium storing handwriting input device control program
CN1326071C (en) Electronic file display and treatment method and system
US7154511B2 (en) Fast rendering of ink
CN112395529B (en) Page loading method, device, equipment and storage medium
CN102902658A (en) Colorful character displaying method and device
EP0062669A1 (en) Graphic and textual image generator for a raster scan display.
US20150379750A1 (en) Image processing device, image processing method, information storage medium, and program
US10424271B2 (en) Display control device for left-to-right written language and right-to-left written language
JP5238334B2 (en) Lightning display system
JPS6385695A (en) Serial character generation system
JP3109727B2 (en) Character processing method and character processing device
CN104714763A (en) Method for printing electronic signature on mobile terminal
Brooks et al. PHP Graphics
JPH02310764A (en) Document preparing device
JPH0293592A (en) Character font generation system
CA2498391A1 (en) Method of rendering text on an output device
JPS61263765A (en) Character output device

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070711

Termination date: 20101029