CN103186505B - A kind of method and apparatus determining display mode of electronic document - Google Patents

A kind of method and apparatus determining display mode of electronic document Download PDF

Info

Publication number
CN103186505B
CN103186505B CN201110457686.3A CN201110457686A CN103186505B CN 103186505 B CN103186505 B CN 103186505B CN 201110457686 A CN201110457686 A CN 201110457686A CN 103186505 B CN103186505 B CN 103186505B
Authority
CN
China
Prior art keywords
document
size
display mode
length
screen
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
CN201110457686.3A
Other languages
Chinese (zh)
Other versions
CN103186505A (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.)
New Founder Holdings Development Co ltd
Pku Founder Information Industry Group Co ltd
Peking University Founder Group Co Ltd
Founder Apabi Technology Ltd
Original Assignee
Founder Information Industry Holdings Co Ltd
Peking University Founder Group Co Ltd
Beijing Founder Apabi Technology Co Ltd
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 Founder Information Industry Holdings Co Ltd, Peking University Founder Group Co Ltd, Beijing Founder Apabi Technology Co Ltd filed Critical Founder Information Industry Holdings Co Ltd
Priority to CN201110457686.3A priority Critical patent/CN103186505B/en
Priority to US14/119,175 priority patent/US8898561B2/en
Priority to KR1020137030782A priority patent/KR20140053002A/en
Priority to EP12863765.9A priority patent/EP2718799A4/en
Priority to JP2014520529A priority patent/JP5789719B2/en
Priority to PCT/CN2012/088011 priority patent/WO2013097804A1/en
Publication of CN103186505A publication Critical patent/CN103186505A/en
Application granted granted Critical
Publication of CN103186505B publication Critical patent/CN103186505B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/114Pagination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a kind of method and apparatus determining display mode of electronic document, the method comprises: obtain the screen size of equipment and the original space of a whole page size of electronic document; Determine the length of writing direction in the original space of a whole page size of described electronic document, obtain document typesetting length; Determine the length of current screen reading direction in described screen size, obtain screen reading length; The size of more described document typesetting length and screen reading length, determines to adopt format display mode or streaming display mode.The method and apparatus determining display mode of electronic document provided by the invention, by comparing the length on current screen reading direction and the length on typesetting electronic document direction, determine to adopt format display mode or streaming display mode, solving current version streaming document and can extract the format document of data stream cannot according to the problem of different screen size determination optimum display modes.

Description

A kind of method and apparatus determining display mode of electronic document
Technical field
The present invention relates to digital publishing technical field, particularly relate to a kind of method and apparatus determining display mode of electronic document.
Background technology
Electronic document common is at present according to the difference of display mode, mainly can be divided into format document and streaming document two kinds, wherein, format document adopts a kind of mode of absolute fix, record display position and the size of each pel in document, according to the overall convergent-divergent of different display screen size, but can all use consistent typesetting format (aspect such as format, font and paper document keep completely the same), therefore display effect is all consistent; And streaming document only records the ordinal relation between the size of pel and pel, display effect can demonstrate different typesetting effects according to the difference of screen size, that is can according to the line feed of the width adjustment paragraph of screen and font size etc.
Format document can be divided into again following two kinds: a kind of is can not from the document wherein extracting data stream, as scanned the document obtained; Another kind is the document that can extract data stream, typical in PDF (PortableDocumentFormat, portable file layout) document, this document can when ignoring absolute fix, according to the sequencing that data content stores, by data content again typesetting.
Except format document described above and streaming document, also has a kind of version streaming document, this document both have recorded size and the absolute position of each pel, have recorded again the ordinal relation between pel, therefore version streaming document both can show according to format pattern, also can show according to streaming pattern.
In sum, version streaming document and the format document (as PDF document) that can extract data stream can have two kinds of selections, namely or according to the display of format pattern, or show according to streaming pattern.Current version streaming document, what adopt compared with acquiescence on large display screen at office computer etc. is the display of format pattern, and on the mobile devices such as mobile phone, acquiescence adopts the display of streaming pattern.But along with the diversified development of various electronic equipment, display mode is selected to be very insecure according to device type simply, as more and more compact in panel computer etc., and the more and more widescreen such as cell phone apparatus, the size of device screen is uneven, if also still according to existing acquiescence display mode, best display effect often may be can not get.
Summary of the invention
The invention provides a kind of method and apparatus determining display mode of electronic document, in order to solve in prior art, version streaming document and the format document of data stream can be extracted cannot according to the problem of different screen size determination optimum display modes.
The inventive method comprises:
Determine a method for display mode of electronic document, comprising:
The screen size of acquisition equipment and the original space of a whole page size of electronic document;
Determine the length of writing direction in the original space of a whole page size of described electronic document, obtain document typesetting length;
Determine the length of current screen reading direction in described screen size, obtain screen reading length;
The size of more described document typesetting length and screen reading length, determine to adopt format display mode or streaming display mode, described format display mode is the pattern of the original typesetting format display according to electronic document, and described streaming display mode is the pattern to showing after electronic document again typesetting.
Determine a device for display mode of electronic document, comprising:
Dimension acquisition module, for the original space of a whole page size of the screen size and electronic document that obtain equipment;
Typesetting length modules, for determining the length of writing direction in the original space of a whole page size of described electronic document, obtains document typesetting length;
Reading length module, for determining the length of current screen reading direction in described screen size, obtains screen reading length;
Mode decision module, for the size of more described document typesetting length and screen reading length, determine to adopt format display mode or streaming display mode, described format display mode is the pattern of the original typesetting format display according to electronic document, and described streaming display mode is the pattern to showing after electronic document again typesetting.
Beneficial effect of the present invention is as follows:
The method and apparatus determining display mode of electronic document provided by the invention, by comparing the length on current screen reading direction and the length on typesetting electronic document direction, determine to adopt format display mode or streaming display mode, solving current version streaming document and can extract the format document of data stream cannot according to the problem of different screen size determination optimum display modes.
Accompanying drawing explanation
Fig. 1 is a kind of method flow diagram determining display mode of electronic document provided by the invention;
Fig. 2 is a kind of structure drawing of device determining display mode of electronic document provided by the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the embodiment of the method for determination display mode of electronic document of the present invention is described in further detail.
The invention provides a kind of method determining display mode of electronic document, as shown in Figure 1, the method comprises the following steps:
Step 101, obtains the screen size of equipment and the original space of a whole page size of electronic document;
Step 102, determines the length of writing direction in the original space of a whole page size of described electronic document, obtains document typesetting length;
Step 103, determines the length of current screen reading direction in described screen size, obtains screen reading length;
Step 104, the size of more described document typesetting length and screen reading length, determine to adopt format display mode or streaming display mode, described format display mode is the pattern of the original typesetting format display according to electronic document, and described streaming display mode is the pattern to showing after electronic document again typesetting.
The method and apparatus determining display mode of electronic document provided by the invention, by comparing the length on current screen reading direction and the length on typesetting electronic document direction, determine to adopt format display mode or streaming display mode, solving current version streaming document and can extract the format document of data stream cannot according to the problem of different screen size determination optimum display modes.
Preferably, obtaining device screen size in step 101 can in the following ways: calculate the screen resolution of described equipment and the ratio of device resolution, obtain the screen size of described equipment, described screen resolution is whole number of pixels of described screen display, and described device resolution is the number of pixels on described screen shown by per inch.
Obtain device screen size in this method step 101 and can adopt any mode that can reach this object, as the mode by program computation or automatic acquisition or manual typing, the present invention is not construed as limiting the mode obtaining device screen size.Concrete, by the API (ApplicationProgrammingInterface, application programming interface) of described equipment, screen resolution and the device resolution of described equipment can be obtained.
Preferably, the size of more described document typesetting length and screen reading length in step 104, determine to adopt format display mode or streaming display mode, specifically comprise: judge whether described document typesetting length is less than screen reading length, if, then determine to adopt format display mode, otherwise, determine to adopt streaming display mode.
Size due to screen is not the original space of a whole page size being always greater than electronic document, therefore, need according to the comparative result of screen size and the original space of a whole page size of electronic document, show again after determining whether to need to reset electronic document, namely determine it is according to format display mode, or streaming display mode.All there is at present horizontal screen display as the display device such as mobile phone, panel computer show and erect screen display and show two kinds of patterns, and electronic document generally also has horizontally-arranged or vertical setting of types two kinds of writing directions, therefore, the present invention should compare, if determine display mode again according to this comparative result for the length (screen reading length) on current screen reading direction and the length (document typesetting length) on typesetting electronic document direction.
Preferably, the size of more described document typesetting length and screen reading length in step 104, determine to adopt format display mode or streaming display mode, specifically comprise:
For described original space of a whole page size, determine document zoom factor, and calculate the product of described document typesetting length and described document zoom factor, obtain document scaled size, judge whether described document scaled size is less than described screen reading length, if, then determine to adopt format display mode, and show described electronic document according to described document scaled size, otherwise, determine to adopt streaming display mode.
Generally, the space of a whole page consistent size that the original space of a whole page size of electronic document is all used with printing and publishing, as the A4 space of a whole page, the B5 space of a whole page etc., and a lot of device display screen curtain all can be less than printing and publishing space of a whole page size used, in fact, when screen reading length is slightly less than document typesetting length, not all need to carry out typesetting again to electronic document, such as when screen reading length only less than document typesetting length 0.01 inch time, can not reset electronic document, and by reducing (in the scope that human eye can be watched convergent-divergent) also can reach good display effect by suitable for original for electronic document space of a whole page size.That is, when screen reading length and document typesetting length difference within the specific limits time, rearrangement display can not be carried out by electronic document, but adopt the original layout according to electronic document, the mode that its original space of a whole page size reduces slightly is shown, namely do not adopt streaming display mode, but adopt the format display mode after slightly reducing original space of a whole page size.
Wherein, determine it is adopt streaming display mode, or adopt the format display mode after slightly reducing original space of a whole page size, except can by judging that the difference of screen reading length and document typesetting length is whether except the mode in certain limit (described certain limit can set according to actual conditions) is determined, also can determine in the following ways: for described original space of a whole page size, determine document zoom factor, and calculate the product of described document typesetting length and described document zoom factor, obtain document scaled size, judge whether described document scaled size is less than described screen reading length, if, then determine to adopt format display mode, and show described electronic document according to described document scaled size, otherwise, determine to adopt streaming display mode.
Concrete, a tables of data can be provided in a program, wherein contain the document zoom factor of the original space of a whole page size of the various document of the correspondence determined according to practical experience, program can determine corresponding document zoom factor according to the planar dimension of the original space of a whole page size of the electronic document that will open and current device, by the product of the document typesetting length and described document zoom factor that calculate described electronic document, obtain document scaled size, then contrast with current screen reading length.Herein, the occurrence of document zoom factor should determine according to the original space of a whole page size of document, its occurrence should be able to ensure: human eye is when watching document and showing according to described document scaled size (being obtained by the product of document typesetting length and described document zoom factor), and visual experience is better.
Preferably, the inventive method, after determining to adopt streaming display mode, also comprises:
Step one, according to described screen reading length with preset every row typesetting number of words, calculates font size when described screen presets every row typesetting number of words display document with every behavior on current reading direction;
Step 2, whether the font size calculated described in judgement is less than default font size, if so, then adopts described default font size to show described electronic document, otherwise, show described electronic document with the described font size calculated.
No matter watch electronic document owing to using any equipment, the visual experience of human eye is all mainly by font, the impact of font size and often row typesetting number of words, in order to ensure to watch on any equipment, beholder can obtain preferably visual experience, namely can not because occurring that font is too small or excessive, often row typesetting number of words is very few or too much cause the situation of human eye perceives discomfort, according to the best typesetting number of words of often going being applicable to human eye viewing in practical experience, program can determine that one presets often row typesetting number of words, and the minimum font size can differentiated when normal viewing distance according to human eye in practical experience determines that one presets font size, and following process is performed after determining to adopt streaming display mode: according to described screen reading length and default often row typesetting number of words, calculate font size when described screen presets every row typesetting number of words display document with every behavior on current reading direction, whether the font size calculated described in judgement is less than default font size, if so, then adopts described default font size to show described electronic document, otherwise, show described electronic document to preset often row typesetting number of words described in every behavior.Like this, when just can ensure described electronic document employing streaming display mode again typesetting electronic document, or preset often row typesetting number of words display document with every behavior, or with default font size display document, both can obtain the display result of applicable human eye viewing.
Below in conjunction with specific embodiment, the method for determination display mode of electronic document of the present invention is described in further detail.
Embodiment one
Panel computer is opened the e-book of an A4 space of a whole page size, specifically comprises the following steps:
Steps A 1, obtains the screen size of this panel computer and the original space of a whole page size of e-book.
Concrete, the screen resolution obtaining this panel computer is 768 pixel × 1024 pixels, device resolution is 132 pixel/inch, calculate the ratio of described screen resolution and device resolution, the screen size obtaining this panel computer is 5.82 inches × 7.76 inches, wherein, when this panel computer is horizontal screen display mode, screen reading length (length in screen size on current screen reading direction) is 5.82 inches, during for perpendicular screen display mode, screen reading length is 7.76 inches; Be that the A4 space of a whole page its original space of a whole page known is of a size of wide 8.27 inches × high 11.69 inches according to this e-book, wherein, document typesetting length (length in the original space of a whole page size of electronic document on writing direction) is 8.27 inches.
Steps A 2, determines that current document zoom factor is 0.7, and calculates the document typesetting length of this e-book and the product of described document zoom factor, obtains document scaled size.
Concrete, calculating document typesetting length 8.27 inches is the product of 0.7 with document zoom factor, and obtaining document scaled size is 5.79 inches.
Steps A 3, judges whether described document scaled size is less than current screen reading length, if so, then determines to adopt format display mode, and according to described document scaled size display, otherwise, determine to adopt streaming display mode.
Concrete, if this panel computer adopts horizontal screen display mode, its screen reading length 5.82 inches is greater than document scaled size 5.79 inches, therefore determines to adopt format display mode, namely according to the original typesetting format of this e-book, and with this e-book of described document scaled size 5.79 inches display;
If this panel computer adopts perpendicular screen display mode, its screen reading length 7.76 inches is greater than document scaled size 5.79 size, therefore also determine to adopt format display mode, namely according to the original typesetting format of this e-book, and with this e-book of described document scaled size 5.79 inches display.
Embodiment two
Mobile phone is opened the e-book of an A4 space of a whole page size, specifically comprises the following steps:
Step B1, obtains the screen size of this mobile phone and the original space of a whole page size of e-book.
Concrete, the screen resolution obtaining this mobile phone is 640 pixel × 960 pixels, device resolution is 326 pixel/inch, calculate the ratio of described screen resolution and device resolution, the screen size obtaining this mobile phone is 1.96 inches × 2.94 inches, wherein, when this mobile phone is horizontal screen display mode, screen reading length is 1.96 inches, and during for perpendicular screen display mode, screen reading length is 2.94 inches; Be that the A4 space of a whole page its original space of a whole page known is of a size of wide 8.27 inches × high 11.69 inches according to this e-book, wherein document typesetting length is 8.27 inches.
Step B2, determines that current document zoom factor is 0.7, and calculates the product of described document typesetting length and described document zoom factor, obtain screen scaling size.
Concrete, calculating document typesetting length 8.27 inches is the product of 0.7 with document zoom factor, and obtaining document scaled size is 5.79 inches.
Step B3, judges whether described document scaled size is less than current screen reading length, if so, then determines to adopt format display mode, and according to described document scaled size display, otherwise, determine to adopt streaming display mode.
Concrete, if this mobile phone adopts horizontal screen display mode, its screen reading length 1.96 inches is less than described document scaled size 5.79 inches, therefore determines to adopt streaming display mode, and performs next step; If this mobile phone adopts perpendicular screen display mode, its screen reading length 2.94 inches is less than described document scaled size 5.79 inches, therefore also determines to adopt streaming display mode, and performs next step.
Step B4, according to described screen reading length with preset every row typesetting number of words, calculates font size when described screen presets every row typesetting number of words display document with every behavior on current reading direction; Whether the font size calculated described in judgement is less than default font size, if so, then adopts described default font size to show described electronic document, otherwise, show described electronic document to preset often row typesetting number of words described in every behavior.
Concrete, determine to preset that often row typesetting number of words is 20 words and default font size is 12 pounds.
When this mobile phone adopts horizontal screen display mode, its screen reading length is 1.96 inches, be 7 pounds with font size during every behavior 20 words display document, through judging that this font size known is less than described default font size 12 pounds, therefore adopt and presetting font size 12 pounds of typesettings and show this electronic document;
When this mobile phone adopts perpendicular screen display mode, its screen reading length is 2.94 inches, be 10 pounds with font size during every behavior 20 words display document, through judging that this font size known is less than described default font size 12 pounds, therefore also adopt and presetting font size 12 pounds of typesettings and show this electronic document.
The present invention also provides a kind of device determining display mode of electronic document, as shown in Figure 2, comprising:
Dimension acquisition module 201, for the original space of a whole page size of the screen size and electronic document that obtain equipment;
Typesetting length modules 202, for determining the length of writing direction in the original space of a whole page size of described electronic document, obtains document typesetting length;
Reading length module 203, for determining the length of current screen reading direction in described screen size, obtains screen reading length;
Mode decision module 204, for the size of more described document typesetting length and screen reading length, determine to adopt format display mode or streaming display mode, described format display mode is the pattern of the original typesetting format display according to electronic document, and described streaming display mode is the pattern to showing after electronic document again typesetting.
Preferably, described dimension acquisition module 201 obtains the screen size of equipment, specifically comprises:
The screen resolution of computing equipment and the ratio of device resolution, obtain the screen size of described equipment, and described screen resolution is whole number of pixels of described screen display, and described device resolution is the number of pixels on described screen shown by per inch.
Preferably, the size of the more described document typesetting length of described mode decision module 204 and screen reading length, determine to adopt format display mode or streaming display mode, specifically comprise: judge whether described document typesetting length is less than screen reading length, if, then determine to adopt format display mode, otherwise, determine to adopt streaming display mode.
Preferably, the size of the more described document typesetting length of described mode decision module 204 and screen reading length, determine to adopt format display mode or streaming display mode, specifically comprise: for described original space of a whole page size, determine document zoom factor, and calculate the product of described document typesetting length and described document zoom factor, obtain document scaled size, judge whether described document scaled size is less than described screen reading length, if, then determine to adopt format display mode, and show described electronic document according to described document scaled size, otherwise, determine to adopt streaming display mode.
Preferably, describedly determine that the device of display mode of electronic document also comprises:
Streaming type-setting module 205, for determine to adopt streaming display mode at described mode decision module after, according to described screen reading length with preset every row typesetting number of words, calculate font size when described screen presets every row typesetting number of words display document with every behavior on current reading direction;
Whether the font size calculated described in judgement is less than default font size, if so, then adopts described default font size to show described electronic document, otherwise, show described electronic document to preset often row typesetting number of words described in every behavior.
Describedly determine that the specific implementation function of each module in the device of display mode of electronic document is see the above-mentioned specific implementation process determining display mode of electronic document, does not repeat them here.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (9)

1. determine a method for electronic document acquiescence display mode, it is characterized in that, comprising:
The screen size of acquisition equipment and the original space of a whole page size of electronic document;
Using the length of writing direction in original for described electronic document space of a whole page size as document typesetting length;
Using the length of current screen reading direction in described screen size as screen reading length;
The size of more described document typesetting length and screen reading length, determine to adopt format display mode or streaming display mode, described format display mode is the pattern of the original typesetting format display according to electronic document, and described streaming display mode is the pattern to showing after electronic document again typesetting; The size of described document typesetting length and screen reading length, determine to adopt format display mode or streaming display mode comprises:
According to described original space of a whole page size and screen size, determine document zoom factor, and calculate the product of described document typesetting length and described document zoom factor, obtain document scaled size, judge whether described document scaled size is less than described screen reading length, if, then determine to adopt format display mode, and show described electronic document according to described document scaled size, otherwise, determine to adopt streaming display mode.
2. the method for claim 1, is characterized in that, obtains the screen size of equipment, specifically comprises:
The screen resolution of computing equipment and the ratio of device resolution, obtain the screen size of described equipment, and described screen resolution is whole number of pixels of described screen display, and described device resolution is the number of pixels on described screen shown by per inch.
3. the method for claim 1, is characterized in that, the size of more described document typesetting length and screen reading length, determines to adopt format display mode or streaming display mode, specifically comprises:
Judge whether described document typesetting length is less than screen reading length, if so, then determine to adopt format display mode, otherwise, determine to adopt streaming display mode.
4. the method for claim 1, is characterized in that, after determining to adopt streaming display mode, also comprises:
According to described screen reading length with preset every row typesetting number of words, calculate font size when described screen presets every row typesetting number of words display document with every behavior on current reading direction;
Whether the font size calculated described in judgement is less than default font size, if so, then adopts described default font size to show described electronic document, otherwise, show described electronic document with the described font size calculated.
5. determine a device for electronic document acquiescence display mode, it is characterized in that, comprising:
Dimension acquisition module, for the original space of a whole page size of the screen size and electronic document that obtain equipment;
Typesetting length modules, for using the length of writing direction in original for described electronic document space of a whole page size as document typesetting length;
Reading length module, for using the length of current screen reading direction in described screen size as screen reading length;
Mode decision module, for the size of more described document typesetting length and screen reading length, determine to adopt format display mode or streaming display mode, described format display mode is the pattern of the original typesetting format display according to electronic document, and described streaming display mode is the pattern to showing after electronic document again typesetting; The size of described document typesetting length and screen reading length, determine to adopt format display mode or streaming display mode comprises:
According to described original space of a whole page size and screen size, determine document zoom factor, and calculate the product of described document typesetting length and described document zoom factor, obtain document scaled size, judge whether described document scaled size is less than described screen reading length, if, then determine to adopt format display mode, and show described electronic document according to described document scaled size, otherwise, determine to adopt streaming display mode.
6. device as claimed in claim 5, is characterized in that, described dimension acquisition module obtains the screen size of equipment, specifically comprises:
The screen resolution of computing equipment and the ratio of device resolution, obtain the screen size of described equipment, and described screen resolution is whole number of pixels of described screen display, and described device resolution is the number of pixels on described screen shown by per inch.
7. device as claimed in claim 5, is characterized in that, the size of the more described document typesetting length of described mode decision module and screen reading length, determines to adopt format display mode or streaming display mode, specifically comprises:
Judge whether described document typesetting length is less than screen reading length, if so, then determine to adopt format display mode, otherwise, determine to adopt streaming display mode.
8. device as claimed in claim 5, is characterized in that, the size of the more described document typesetting length of described mode decision module and screen reading length, determines to adopt format display mode or streaming display mode, specifically comprises:
For described original space of a whole page size, determine document zoom factor, and calculate the product of described document typesetting length and described document zoom factor, obtain document scaled size, judge whether described document scaled size is less than described screen reading length, if, then determine to adopt format display mode, and show described electronic document according to described document scaled size, otherwise, determine to adopt streaming display mode.
9. device as claimed in claim 5, is characterized in that, also comprise:
Streaming type-setting module, for determine to adopt streaming display mode at described mode decision module after, according to described screen reading length with preset every row typesetting number of words, calculate font size when described screen presets every row typesetting number of words display document with every behavior on current reading direction;
Whether the font size calculated described in judgement is less than default font size, if so, then adopts described default font size to show described electronic document, otherwise, show described electronic document with the described font size calculated.
CN201110457686.3A 2011-12-30 2011-12-30 A kind of method and apparatus determining display mode of electronic document Expired - Fee Related CN103186505B (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN201110457686.3A CN103186505B (en) 2011-12-30 2011-12-30 A kind of method and apparatus determining display mode of electronic document
US14/119,175 US8898561B2 (en) 2011-12-30 2012-12-31 Method and device for determining a display mode of electronic documents
KR1020137030782A KR20140053002A (en) 2011-12-30 2012-12-31 Method and device for determining a display mode of electronic documents
EP12863765.9A EP2718799A4 (en) 2011-12-30 2012-12-31 Method and device for determining a display mode of electronic documents
JP2014520529A JP5789719B2 (en) 2011-12-30 2012-12-31 Method and apparatus for determining the display mode of an electronic document
PCT/CN2012/088011 WO2013097804A1 (en) 2011-12-30 2012-12-31 Method and device for determining a display mode of electronic documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110457686.3A CN103186505B (en) 2011-12-30 2011-12-30 A kind of method and apparatus determining display mode of electronic document

Publications (2)

Publication Number Publication Date
CN103186505A CN103186505A (en) 2013-07-03
CN103186505B true CN103186505B (en) 2015-12-02

Family

ID=48677676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110457686.3A Expired - Fee Related CN103186505B (en) 2011-12-30 2011-12-30 A kind of method and apparatus determining display mode of electronic document

Country Status (6)

Country Link
US (1) US8898561B2 (en)
EP (1) EP2718799A4 (en)
JP (1) JP5789719B2 (en)
KR (1) KR20140053002A (en)
CN (1) CN103186505B (en)
WO (1) WO2013097804A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035664A (en) * 2014-06-06 2014-09-10 北京安兔兔科技有限公司 Display method and device for user interface of application program
CN104216868B (en) * 2014-09-10 2019-02-01 武汉钢铁(集团)公司 A kind of adaptation method and device of document display format
JP5967159B2 (en) * 2014-09-10 2016-08-10 日本電気株式会社 Display device, display method, and display program
CN105159645B (en) * 2015-10-19 2017-12-12 华中师范大学 A kind of mobile terminal Tang poetry self-adaptive layout method
US11556233B2 (en) * 2018-02-13 2023-01-17 Lenovo (Singapore) Pte. Ltd. Content size adjustment
CN110297686B (en) * 2019-07-03 2023-05-12 北京梧桐车联科技有限责任公司 Content display method and device
CN110413766B (en) * 2019-07-31 2023-07-21 联想(北京)有限公司 Data processing method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004357092A (en) * 2003-05-30 2004-12-16 Casio Comput Co Ltd Information device, digital camera, and method of data display
WO2008030879A2 (en) * 2006-09-06 2008-03-13 Apple Inc. Portable electronic device, method, and graphical user interface for displaying structured electronic documents
CN101241416A (en) * 2008-02-21 2008-08-13 北大方正集团有限公司 Electronic reading processing method and system adapting to screen resolution
CN101894168A (en) * 2010-06-30 2010-11-24 优视科技有限公司 Method and system for layout display of web page of mobile terminal
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN101923723A (en) * 2009-06-16 2010-12-22 汉王科技股份有限公司 Method for realizing display of electronic document
CN101937428A (en) * 2010-08-11 2011-01-05 优视科技有限公司 Method and system for rearranging pictures with literal contents for mobile terminal equipment
JP2011123577A (en) * 2009-12-09 2011-06-23 Hitachi Ins Software Ltd Format conversion system
CN102184249A (en) * 2011-05-23 2011-09-14 广州市动景计算机科技有限公司 Webpage layout method and device based on mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10326244A (en) * 1997-05-27 1998-12-08 Toyota Motor Corp Method for transmitting data and server used for the same
JPH11250009A (en) * 1998-03-04 1999-09-17 Uniden Corp Server device and web data converting system
JP2002108757A (en) * 2000-10-04 2002-04-12 Kyocera Communication Systems Co Ltd Server device equipped with image rotating function
CN101840693B (en) 2010-03-05 2013-08-14 惠州Tcl移动通信有限公司 Electronic document display method
WO2011130868A1 (en) * 2010-04-19 2011-10-27 Hewlett-Packard Development Company, L. P. Segmenting a web page into coherent functional blocks
US20120096344A1 (en) * 2010-10-19 2012-04-19 Google Inc. Rendering or resizing of text and images for display on mobile / small screen devices
US20130007602A1 (en) * 2011-06-29 2013-01-03 Apple Inc. Fixed layout electronic publications

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004357092A (en) * 2003-05-30 2004-12-16 Casio Comput Co Ltd Information device, digital camera, and method of data display
WO2008030879A2 (en) * 2006-09-06 2008-03-13 Apple Inc. Portable electronic device, method, and graphical user interface for displaying structured electronic documents
CN101241416A (en) * 2008-02-21 2008-08-13 北大方正集团有限公司 Electronic reading processing method and system adapting to screen resolution
CN101923723A (en) * 2009-06-16 2010-12-22 汉王科技股份有限公司 Method for realizing display of electronic document
JP2011123577A (en) * 2009-12-09 2011-06-23 Hitachi Ins Software Ltd Format conversion system
CN101894168A (en) * 2010-06-30 2010-11-24 优视科技有限公司 Method and system for layout display of web page of mobile terminal
CN101937428A (en) * 2010-08-11 2011-01-05 优视科技有限公司 Method and system for rearranging pictures with literal contents for mobile terminal equipment
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN102184249A (en) * 2011-05-23 2011-09-14 广州市动景计算机科技有限公司 Webpage layout method and device based on mobile terminal

Also Published As

Publication number Publication date
EP2718799A1 (en) 2014-04-16
US20140157116A1 (en) 2014-06-05
JP5789719B2 (en) 2015-10-07
EP2718799A4 (en) 2014-06-25
KR20140053002A (en) 2014-05-07
CN103186505A (en) 2013-07-03
JP2014521177A (en) 2014-08-25
WO2013097804A1 (en) 2013-07-04
US8898561B2 (en) 2014-11-25

Similar Documents

Publication Publication Date Title
CN103186505B (en) A kind of method and apparatus determining display mode of electronic document
CN105912336A (en) Multi-screen adaptive method for mobile terminal front-end development
CN103577062A (en) Display adjustment method and computer program product thereof
CN102073650A (en) Adaptive adjustment method and equipment for webpage
US20110052056A1 (en) Image processing apparatus and image processing method
US20140312125A1 (en) One-dimensional barcode resizing device, method, non-transitory computer-readable medium, and one-dimensional barcode system
CN104915332A (en) Method and device for generating composing template
CN109408165A (en) The multiple terminal self-adapting method and system of data visualisation system
CN101573684B (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
CN103369205A (en) Mobile terminal and video image processing method
CN106484388B (en) Method and device for realizing user interface
US20120124468A1 (en) Electronic Apparatus Having a Touch-Controlled Interface and Method of Displaying Figures Related to Files within a certain Time Period
CN105306734B (en) Image display method based on cell phone application interface
CN104615587A (en) Electronic data composing method and device
CN103092989A (en) Image display method and device adaptable to terminal screen
CN105278821A (en) Method and device for automatically regulating electronic document page
CN102736819A (en) A method and a device for displaying an electronic document
JP4641077B2 (en) Image processing device
JP2008020504A (en) Image/character display method for display device
US20140085310A1 (en) Font generating system of display
CN103139632A (en) Image processing method and image processing device
JP2013097626A (en) Mobile information terminal and book image display method
CN112261227A (en) Method for multi-screen equal-proportion adaptation of mobile terminal
KR101197097B1 (en) Method for providing webpage adaptive device and device thereof
TWI847748B (en) System and method for chinese character font size adjustment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: FOUNDER INFORMATION INDUSTRY HOLDING CO., LTD. BEI

Free format text: FORMER OWNER: BEIJING FOUNDER APABI TECHNOLOGY CO., LTD.

Effective date: 20130902

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130902

Address after: 100871 Beijing, Haidian District into the house road, founder of the building on the 9 floor, No. 298

Applicant after: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Applicant after: FOUNDER INFORMATION INDUSTRY HOLDINGS Co.,Ltd.

Applicant after: FOUNDER APABI TECHNOLOGY Ltd.

Address before: 100871 Beijing, Haidian District into the house road, founder of the building on the 9 floor, No. 298

Applicant before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Applicant before: FOUNDER APABI TECHNOLOGY Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor

Patentee after: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee after: PKU FOUNDER INFORMATION INDUSTRY GROUP CO.,LTD.

Patentee after: FOUNDER APABI TECHNOLOGY Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: FOUNDER INFORMATION INDUSTRY HOLDINGS Co.,Ltd.

Patentee before: FOUNDER APABI TECHNOLOGY Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220913

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: FOUNDER APABI TECHNOLOGY Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: PKU FOUNDER INFORMATION INDUSTRY GROUP CO.,LTD.

Patentee before: FOUNDER APABI TECHNOLOGY Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151202