CN1612129A - Electronic file display and treatment method and system - Google Patents
Electronic file display and treatment method and system Download PDFInfo
- Publication number
- CN1612129A CN1612129A CN 200310103019 CN200310103019A CN1612129A CN 1612129 A CN1612129 A CN 1612129A CN 200310103019 CN200310103019 CN 200310103019 CN 200310103019 A CN200310103019 A CN 200310103019A CN 1612129 A CN1612129 A CN 1612129A
- 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.)
- Granted
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention is an electronic file display processing method and system, able to be carried by an information platform, making special-mode display processing on character string of the electronic file, and displaying the contents of the electronic file, such as characters, figures, forms, etc, on a computer screen through a special window; it includes at least: a read module, a display window establishing module, a dot array chart establishing module, a data object describing module, a blank eliminating module and a display control module; and its advantages: it can eliminate the blank parts in the display file, thus making the displayed file content have more beautiful compositing effect.
Description
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.
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,, 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 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, 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, eliminate this blank parts whereby to its display frame; 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.
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 true CN1612129A (en) | 2005-05-04 |
CN1326071C 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101326517B (en) * | 2006-08-10 | 2010-06-02 | 韩国电子去来振兴阮 | System of electronic document repository and method of registering, reading, issuing, transferring, a certificate issuing |
CN101923723A (en) * | 2009-06-16 | 2010-12-22 | 汉王科技股份有限公司 | Method for realizing display of electronic document |
CN111179164A (en) * | 2019-11-28 | 2020-05-19 | 泰康保险集团股份有限公司 | Method and device for generating thumbnail |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1177287C (en) * | 2001-04-18 | 2004-11-24 | 无敌科技(西安)有限公司 | Automatic format setting method for palm-type browser |
KR20030050741A (en) * | 2001-12-19 | 2003-06-25 | 삼성전자주식회사 | Method for inputting character fast and easily in portable device having limited display size and number of key, and Portable device using the same |
-
2003
- 2003-10-29 CN CNB2003101030190A patent/CN1326071C/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101326517B (en) * | 2006-08-10 | 2010-06-02 | 韩国电子去来振兴阮 | System of electronic document repository and method of registering, reading, issuing, transferring, a certificate issuing |
CN101923723A (en) * | 2009-06-16 | 2010-12-22 | 汉王科技股份有限公司 | Method for realizing display of electronic document |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN1326071C (en) | 2007-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100989010B1 (en) | Systems and methods for generating visual representations of graphical data and digital document processing | |
CN110321788B (en) | Training data processing method, device, equipment and computer readable storage medium | |
US20120246554A1 (en) | Performing binary composition of images onto an html canvas element | |
WO2005045558A3 (en) | Dynamic window anatomy | |
CN101404152A (en) | Information display device | |
CN111221596B (en) | Font rendering method, apparatus and computer readable storage medium | |
JP5211070B2 (en) | Method for visualizing changes caused by scrolling in the scroll direction of a section of text and / or graphics displayed on an optical display means | |
CN111915705B (en) | Picture visual editing method, device, equipment and medium | |
US7136067B2 (en) | Using externally parameterizeable constraints in a font-hinting language to synthesize font variants | |
US20070013700A1 (en) | Mobile communication terminal having function of animating input characters | |
CN1924794B (en) | Digital document processing system, data processing system and peripheral equipment | |
WO2008021660A1 (en) | Display simulator | |
CN1612129A (en) | Electronic file display and treatment method and system | |
US7154511B2 (en) | Fast rendering of ink | |
WO2007070293A1 (en) | Transparency printing | |
US20140333511A1 (en) | Moving image display apparatus | |
CA2159764C (en) | Text optimization | |
EP1210708B1 (en) | Rendering sub-pixel precision characters having widths compatible with pixel precision characters | |
CN102902658A (en) | Colorful character displaying method and device | |
US5734873A (en) | Display controller with accelerated drawing of text strings | |
KR102549590B1 (en) | LED digital signage that displays reduced characters | |
JPS63187331A (en) | Data displaying system by multi-window | |
US10424271B2 (en) | Display control device for left-to-right written language and right-to-left written language | |
CN100342372C (en) | Form display method and system in electronic file and forms | |
JPH0293592A (en) | Character font generation system |
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 |