WO2001042975A1 - Information processing method, information processing device, and medium - Google Patents
Information processing method, information processing device, and medium Download PDFInfo
- Publication number
- WO2001042975A1 WO2001042975A1 PCT/JP2000/008610 JP0008610W WO0142975A1 WO 2001042975 A1 WO2001042975 A1 WO 2001042975A1 JP 0008610 W JP0008610 W JP 0008610W WO 0142975 A1 WO0142975 A1 WO 0142975A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- layout
- size
- coordinate
- display
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/189—Automatic justification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/60—Creating or editing images; Combining images with text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/41—Analysis of document content
- G06V30/414—Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
- G09G2340/0464—Positioning
Definitions
- the present invention relates to a medium used in an information processing method and information processing apparatus and their processing methods and apparatus.
- the present invention relates to an information processing method, an information processing apparatus, and a medium for processing a displayable object.
- Background technique 1 ⁇ 2 "
- the W3C World Wide Web Consortium: http: // www. W3.org
- WWW World Wide Web
- CSS1 CSS Style Sheets, levell: http: ⁇ www.w3.org
- It specifies a description language for displaying structured documents such as / TR / REC-CS SI) and CSS 2 (http: www.w3.org/TR/REC-CSS2/).
- HTML Hypertext Markup Language
- SGML Standard Generalization Markup Language
- XML Extensible Markup Language
- HTML Hypertext Markup Language
- SGML Standard Generalization Markup Language
- XML Extensible Markup Language
- HTML Hypertext Markup Language
- SGML Standard Generalization Markup Language
- XML Extensible Markup Language
- HTML Hypertext Markup Language
- SGML Standard Generalization Markup Language
- XML Extensible Markup Language
- HTML Hypertext Markup Language
- XML Extensible Markup Language
- HTML Hypertext Markup Language
- SGML Standard Generalization Markup Language
- XML Extensible Markup Language
- the present invention is proposed in It is possible to easily change the layout of objects such as characters, figures, and symbols handled in the above. That is, for example, in a vertical document or a horizontal document, use a command that is easy for the user to understand, and write the vertical text horizontally. It is an object of the present invention to provide an information processing method, an apparatus, and a medium that can be easily realized even if the change is made or vice versa.
- the information processing method is characterized in that drawing information including at least information of at least one object that can be displayed and layout specifying information for specifying a position and a direction relative to an assembling direction of the object is provided. Analyze and respond to the layout specification information obtained by analyzing the drawing information. The relative arrangement position of the object in the desired drawing area is determined based on the layout definition information, and the actual display position information corresponding to the relative arrangement position of the object is generated according to the assembling direction.
- the information processing apparatus provides drawing information including at least information of at least one object that can be displayed and layout designation information that designates a relative position direction with respect to a combination direction of the objects.
- An analysis unit that analyzes the object, and an arrangement position determination unit that determines the relative arrangement position of the object in the desired drawing area based on the layout definition information corresponding to the layout specification information analyzed by the analysis unit.
- a generating unit that generates actual display position information corresponding to the relative arrangement position of the object according to the assembling direction.
- the information processing method generates information of at least one object that can be displayed, and generates rate designation information for designating a relative position direction with respect to an assembling direction of the object. Both generate drawing information including object information and layout designation information.
- the information processing apparatus includes an object generation unit that generates information of at least one object that can be displayed, and a layout that specifies a relative position direction with respect to an object assembly direction.
- object generation unit that generates information of at least one object that can be displayed
- layout that specifies a relative position direction with respect to an object assembly direction.
- a layout specification information generation unit that generates specification information
- drawing information generation unit that generates drawing information including at least object information and layout specification information are provided.
- a medium for operating the information processing apparatus includes at least information of at least one object that can be displayed and layout designation information for designating a relative position direction with respect to a combination direction of the objects. Analyzing the drawing information included in the drawing, and determining the relative arrangement position of the object in the desired drawing area based on the layout definition information corresponding to the analyzed layout specification information. And generating information on the actual display position corresponding to the relative arrangement position of the object in response to the program.
- the information processing method includes at least information that can be displayed and includes at least one object, information about the size of the object in the line direction and line feed direction, and information about the layout. Analyzing the drawing information including the coordinates, obtaining coordinate information on the display start position of the object in the drawing area based on the analysis result, and obtaining the display start position based on the information on the layout obtained by the analysis result The coordinate information about the display start position is converted into the actual drawing coordinate information on the drawing area. Further, the information processing method according to the present invention reduces the transmitted information including at least one object that can be displayed, the information regarding the size of the object line direction and the line feed direction, and the information regarding the layout.
- the drawing information including the object information is stored in the storage means, the drawing information stored in the storage means is analyzed, and coordinate information on the display start position of the object in the drawing area is obtained based on the analysis result.
- the coordinate information on the display start position is converted based on the information on the layout obtained from the analysis result, and the object is displayed on the display means based on the actual drawing coordinate information.
- the information processing apparatus is configured to transmit the transmitted information including at least one displayable object, the object line direction, A receiving unit for receiving drawing information including at least information on the size of the line feed direction and information on the layout; a storage unit on which the drawing information received by the receiving unit is written; The display means to be displayed and the drawing information read from the storage means are analyzed, and coordinate information relating to the display start position of the object in the drawing area is obtained based on the analysis result, and the coordinate information is obtained based on the analysis result.
- a signal processing unit that converts coordinate information about the display start position based on the obtained information about the layout and converts the converted coordinate information about the display start position into actual drawing coordinate information on the drawing area of the display unit;
- a control unit is provided for displaying an object on the display unit based on the actual drawing coordinate information from the processing unit.
- the information processing apparatus reduces the transmitted information including at least one object that can be displayed, the information regarding the size of the object line direction and the line feed direction, and the information regarding the layout.
- a reading unit that reads the drawing information from the storage medium that stores the drawing information, a display unit that displays the object, and a drawing unit that analyzes the drawing information read from the storage medium by the reading unit.
- the coordinate information about the display start position of the object in the drawing area is obtained based on the information, and the coordinate information about the display start position is converted based on the information about the layout obtained by the above analysis result.
- a signal processing unit for converting the coordinate information about the display start position into the actual drawing coordinate information on the drawing area of the display unit; And a control unit for displaying on the display unit objects based on the actual drawing coordinate information.
- FIG. 1A and FIG. 1B are diagrams used for explaining relative position designation in a structured document used in the present invention.
- FIGS. 2A and 2B are diagrams used for explaining a layout description command for aligning display for aligning the beginning of a sentence in a structured document used in the present invention.
- FIG. 3A and FIG. 3B are diagrams used to explain the layout description instruction in the case where the tail of a sentence is aligned (aligned display) in the structured document used in the present invention.
- FIG. 4A and FIG. 4B are diagrams used to explain a layout description command when a leading margin of a sentence is specified in a structured document used in the present invention.
- FIG. 5A and FIG. 5B are diagrams used to explain a layout description instruction when a tail margin of a sentence is specified in a structured document used in the present invention.
- FIG. 6A and FIG. 6B are diagrams used to explain a layout description command when designating indentation of a sentence in a structured document used in the present invention.
- FIGS. 7A and 7B are diagrams used to explain the layout description command when specifying the indentation of a sentence in the structured document used in the present invention.
- FIG. 4 is a diagram used for explaining a layout description command when a character is decorated in a document.
- FIG. 9 is a diagram showing an example of a layout specification of a structured document using a layout description command used in the present invention.
- FIG. 10 is a diagram showing a document display example when the structured document with the layout shown in FIG. 9 is displayed as a horizontal document.
- FIG. 11 is a diagram showing a document display example when the structured document with the layout shown in FIG. 9 is displayed as a vertical document.
- FIG. 12 is a flowchart showing a processing flow when the drawing apparatus according to the present invention determines a “line-wise arrangement position” of a target object to be drawn based on the structured document shown in FIG. .
- FIGS. 13A and 13B are diagrams used to describe the line direction size and line feed direction size of the drawing area, the head margin width, the end margin width, the indentation width, and the indentation width.
- FIG. 14 is a diagram used to explain the size of a target object in the line direction and the line feed direction.
- FIG. 15 is a diagram used to explain the actual address on the actual display window.
- FIG. 16 is a flowchart showing the flow of processing when the drawing apparatus of the present embodiment performs “margin specification” based on the structured document shown in FIG.
- FIG. 17 is a flowchart showing the flow of processing when the drawing apparatus of the present embodiment performs “indentation” and “indentation” based on the structured document shown in FIG. is there.
- FIG. 18 is a drawing of the present embodiment based on the structured document shown in FIG. 6 is a front chart showing a flow of processing when the drawing device draws a character and further decorates the character as necessary.
- FIGS. 19A and 19B are diagrams used to explain the one-character drawing area and the drawing position of the decoration object in the case of the horizontal writing.
- FIG. 2 OA and FIG. 20B are diagrams used to describe the one-character drawing area and the drawing position of the decoration object in the case of a vertical writing sentence.
- FIG. 21 is a diagram showing a system configuration when an electronic book is distributed using a structured document used in the present invention.
- FIG. 22 is a diagram showing a schematic configuration example of a personal computer as an example of a drawing apparatus constituting the present invention.
- FIG. 23 is a diagram showing a schematic configuration example of an electronic book dedicated terminal constituting the present invention.
- BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.
- FIGS. 1A, IB, and 1C Assume position specification (referred to as relative position specification).
- Figure 1A shows an example of a structured document display in horizontal writing (horizontal)
- Figure 1B shows an example of a structured document display in vertical writing (vertical).
- the layout instructions used in the following figures abstract and describe multiple instructions that actually exist.
- Invariant position specifications such as “bottom”, “left”, and “right” have been made.
- a line is sent from top to bottom and characters advance from left to right as in English.
- the left side is called “head of line” and the right side is called “end of line”.
- FIG. 1 Invariant position specification
- the "upstream” and the lower side are expressed by relative position designations such as "downstream", and the direction in which the characters that make up the text flow (the direction in which the characters proceed) is the "line direction”.
- the direction of flow (the direction in which the line travels) is referred to as the “line feed direction”. More specifically, in this embodiment, FIG.
- the top is expressed as “head of line” and the bottom is expressed as “end of line”.
- the right side is described as “upstream”
- the left side is described as “downstream”
- the direction flowing from top to bottom is described as “line direction”
- the direction flowing from right to left is described as “line feed direction”. I will do it.
- the direction is specified by the direction relative to the sentence or character as described above, but the absolute direction such as up, down, left, or right is specified. It is also possible.
- layout position designations are merely examples, and the present invention can be applied to any layout position designation.
- the example of the above-described layout position designation is given.
- FIG. 2A shows an example of a structured document display in a horizontal format
- FIG. 2B shows an example of a structured document display in a vertical format.
- the layout description instruction for specifying the relative position in the present embodiment is “line heading”, whereas the existing absolute The layout description command for specifying the target position is "left justified”.
- the layout description instruction for specifying the relative position in this embodiment is "line heading”
- the layout description instruction for specifying the absolute position is “left-justified” or
- the layout description instruction for specifying the relative position in this embodiment is “line-aligned” in either horizontal or vertical layout, and the layout description instruction changes.
- the user does not intuitively understand the actual designated position of the layout regardless of the horizontal composition or the vertical composition.
- the existing layout description instruction for absolute position specification is “left justified” for horizontal composition, “left aligned” or “top aligned” for vertical composition, for example, “top aligned” for vertical composition.
- the layout description instruction changes between horizontal composition and vertical composition, and different layout description commands must be used for vertical composition and horizontal composition.
- layout description instruction for example, if a layout description instruction called “left alignment” is used in vertical composition, the actual It is difficult for the user to intuitively understand the layout designation position.
- FIG. 3A shows an example of a structured document display in a horizontal format
- FIG. 3B shows an example of a structured document display in a vertical format.
- the layout description instruction for specifying the relative position in this embodiment is “line-aligned”, whereas the existing absolute The layout description instruction for specifying the target position is “right justified”.
- the layout description instruction for specifying the relative position in this embodiment is "line-aligned”
- the absolute position specification layout description command is “right aligned” or
- the layout description instruction for specifying the relative position in this embodiment may be either horizontal or vertical.
- the layout description instruction does not change, and the user can easily and intuitively understand the actual layout designation position in either horizontal or vertical composition.
- the existing layout description instruction for absolute position specification is “right-aligned” for horizontal composition, “right-aligned” or “bottom-aligned” for vertical composition, for example, “bottom-aligned” for vertical composition.
- the rate description instruction changes between horizontal composition and vertical composition, so that different layout description commands must be used for vertical composition and horizontal composition.
- FIG. 4A shows an example of a structured document display in a horizontal format
- FIG. 4B shows an example of a structured document display in a vertical format.
- the layout description instruction for relative position specification in this embodiment is “head of line”.
- the existing absolute position designation layout description instruction is “left margin”.
- Figure 4 In the case of specifying the margin at the beginning of a sentence in a vertical document as shown in B, the layout description instruction for specifying the relative position in the present embodiment is “head of line”, whereas the existing absolute The layout description command for position specification is “left margin” or “top margin”.
- the layout description instruction for specifying the relative position in this embodiment becomes “head margin” regardless of whether it is horizontal or vertical, and the layout description The command does not change, and the user can intuitively understand the actual layout designation position regardless of whether the command is horizontal or vertical.
- the existing layout description instruction for specifying the absolute position is “left margin” for horizontal composition and “left margin” or “top margin” for vertical composition. In this case, if the “Upper Magazine” is used, the layout description instruction will change between horizontal and vertical composition, and different layout description instructions will be used for vertical and horizontal composition. I have to.
- FIG. 5A shows an example of a structured document display in a horizontal format
- FIG. 5B shows an example of a structured document display in a vertical format.
- the relative position specification layer according to the present embodiment when a tail margin is to be specified, the relative position specification layer according to the present embodiment is used.
- the layout description instruction is “margin at the end of the line”, whereas the existing layout description instruction with absolute position designation is “right margin”.
- the layout description instruction for specifying the relative position according to the present embodiment becomes “line end margin”.
- the existing absolute position designation layout description instruction is “right margin” or “lower margin”. In other words, when specifying the last margin of a sentence, the layout description instruction for specifying the relative position in this embodiment becomes “line end margin” regardless of whether it is horizontal or vertical.
- the layout description command does not change, and the user can intuitively understand the actual layout designation position in either horizontal or vertical composition.
- the existing layout description instruction for absolute position specification becomes “Right margin” in horizontal composition and “Right margin” or “Lower margin” in vertical composition.
- the layout description instruction will change between horizontal and vertical layout, and different layout description instructions will be used for vertical and horizontal layout. I have to.
- the layout position specification specifies the tail margin of the sentence, for example, the layout description instruction “right margin” in vertical composition is used. When using, it is difficult for the user to intuitively understand the actual layout position.
- FIG. 6A shows an example of a horizontally structured document display
- FIG. 6B shows an example of a vertically structured document display.
- the layout description instruction for specifying the relative position in this embodiment is “indentation width”.
- an instruction in which the leftward margin and the indentation width are added is specified as the “left margin”.
- the layout description instruction for relative position designation in this embodiment is “indentation width”.
- the existing absolute position specification layout description instruction specify the instruction that adds the upper margin and the indentation width as the “left margin”, or add the upper margin and the indentation width.
- the combined instruction will be designated as the “top margin”.
- the layout description instruction for relative position specification in this embodiment is “indentation width” regardless of whether it is horizontal or vertical, and the layout description instruction is Does not change, and the actual layout designation position is intuitively intuitive to the user in either horizontal or vertical composition.
- an instruction that adds the left margin and the indentation width is specified as the “left margin” in horizontal composition, and
- the instruction is specified as ⁇ left margin '' or ⁇ upper margin ''. For example, when ⁇ upper margin '' is used in vertical composition, it is horizontal.
- the layout description command changes between the vertical composition and the vertical composition, and different layout description commands must be used for the vertical composition and the horizontal composition.
- the layout description of the existing absolute position specification In the case of an instruction, although the layout position is specified to specify the indentation of the sentence, for example, the left margin is defined as the instruction that adds the left margin and the width of the indentation in vertical composition The use of the instruction makes it difficult for the user to intuitively understand the actual position of the specified rate.
- FIG. 7A shows an example of a structured document display in a horizontal format
- FIG. 7B shows an example of a structured document display in a vertical format.
- the layout description instruction for specifying the relative position in the present embodiment becomes “indentation width”.
- an instruction obtained by adding the rightward margin and the indentation width is specified as the “right margin”.
- the layout description instruction for relative position designation in this embodiment is “indentation width”.
- the instruction that adds the right margin and the indentation width is specified as the “right margin”, or the right margin and the indentation width are added.
- the combined instruction will be designated as the “lower margin”.
- the layout description instruction for specifying the relative position in this embodiment becomes “indentation width” in both the horizontal and vertical composition, and the layout description instruction is used. Does not change, and the actual layout position is set to the user regardless of the horizontal or vertical composition. It is intuitive and easy to understand for The.
- the existing layout description instruction that specifies the absolute position in horizontal layout, the instruction that adds the right margin and the width of the indentation is specified as “right margin”, and the vertical layout is used. In the case of, the instruction that adds the right margin and the width of the indentation is specified as the “right margin” or “bottom margin”.
- a layout description instruction with the lower margin added When a layout description instruction with the lower margin added is used as an instruction, the layout description instruction changes between horizontal composition and vertical composition, which differs between vertical composition and horizontal composition. Layout description instructions must be used. Also, in the case of an existing absolute position specification layout description instruction, for example, if a layout description instruction called “right margin” is used in vertical composition, despite the layout position specification specifying the indentation of the sentence, However, the actual rate designation position is difficult for the user to intuitively understand.
- FIG. 8A, FIG. 8B and FIG. 8C a layout description command in the case of decorating a character in a document will be described.
- Fig. 8A shows an example of a horizontally written sentence
- Fig. 8A shows an example of a horizontally written sentence
- FIGS. 8A, 8B, and 8C show an example in which a character is marked with a dot as an example of character decoration.
- FIG. 9 shows an example of the layout specification of the structured document using the layout description instruction of the present embodiment.
- the structured document whose layout is specified as shown in FIG. Figures 10 and 11 show examples of document display when they are actually displayed.
- Fig. 10 shows a display example when the structured document with the layout specified in Fig. 9 is a horizontal document
- Fig. 11 shows a case where the structured document with the layout specified in Fig. 9 is a vertical document.
- the example of a display of is shown. Note that this embodiment Describes the structured document shown in Fig. 9 using XML, which is one of the features that the user can define tags as needed.
- the document is placed from “ ⁇ paragraph>” to the first “ ⁇ / paragraph>”.
- FIG. 10 When a structured document whose layout is designated as shown in FIG. 9 is displayed in a horizontal format, a display as shown in FIG. 10 is obtained.
- the display When the structured document whose layout is designated as described above is displayed in a vertical format, the display is as shown in FIG. More specifically, when the structured document in which the layout is specified as shown in FIG. 9 is displayed as a horizontal document, as shown in FIG. 10, the line head margin is set to two full-width characters, The title of “Display structured document” is placed at the end of the line, and the text of “When creating a structured document ...” is placed downstream of the title sentence.
- the structured document with the layout specified in FIG. 9 can correspond to either vertical or horizontal composition, and is easy for the user to understand.
- FIG. 12 shows a process for determining the “row direction arrangement position” of a target object (text, symbol, graphic, etc.) to be drawn by the drawing apparatus of the present embodiment based on the structured document of FIG. The flow of is shown.
- the drawing apparatus first performs a structural analysis of the structured document as the processing of step S1.
- step S1 a structural analysis is performed to determine the “line-wise arrangement position” of the target object, and the drawing apparatus analyzes the structured document, and as steps S2, FIG. 13A and FIG.
- steps S2 FIG. 13A and FIG.
- steps S2 FIG. 13A and FIG.
- steps S2 FIG. 13A and FIG.
- steps S2 FIG. 13A and FIG.
- steps S2 FIG. 13A and FIG.
- steps S2 FIG. 13A and FIG.
- the line direction size W and line feed direction size H of the drawing area are obtained, and as shown in FIG. 14, the line direction size dw and line feed direction size dh of the target object to be drawn are obtained. I do.
- FIG. 13A shows a drawing area in the case of a horizontal document
- FIG. 13B shows a drawing area in the case of a vertical document
- FIG. 14 shows a target object.
- the arrow X in the figure is the line direction
- the arrow Y in the figure is the line feed direction
- the size W in the figure is the line direction size
- the size H in the figure is the line feed.
- the arrow X direction in the figure is the line direction
- the arrow Y direction in the figure is the line feed direction
- the size W in the figure is the size in the line direction
- the size in the figure is H is the line feed direction size.
- the point P in FIGS. 13A and 13B is the origin of the drawing area. Further, in the target object shown in FIG. 14, the size d w in the figure is the size in the row direction, and the size d h in the figure is the size in the line feed direction.
- the drawing apparatus acquires the information of each size in step S2, in the next step S3, the coordinate value ((line direction, line feed direction) from the origin P as the display start position of the target object is calculated. (X, Y)).
- step S4 the drawing apparatus determines the position of the target object in the row direction based on the result of praying the structured document. It is determined whether or not the row direction layout position has been specified. If it is determined that the row direction layout position has been specified, the process proceeds to step S5. If it is determined that the row direction layout position has not been specified, the process proceeds to step S9. Proceed to processing.
- step S5 the drawing apparatus determines whether the designation of the line-direction arrangement position of the target object is at the beginning, the center, or the end of the line of the drawing area, and If it is determined that the designation of the line placement position is the beginning of the line, the processing in step S6 is performed. If it is determined that the designation of the line placement position is the center, the processing of step S7 is performed. If it is determined that is the end of the line, the process proceeds to step S8.
- step S5 determines that the current position is the beginning of a line in step S5
- the drawing apparatus does not update the X coordinate value in step S6, and proceeds to the process in step S9.
- the coordinates are updated, and then the process proceeds to step S9.
- step S9 the drawing apparatus sets the coordinates (X, Y) of the display start position of the target object to the real address (real coordinates (x, y)) in the display window on the display. Convert. That is, when the display window on the display has a range such as the window 100 shown in FIG.
- the coordinate values (X, Y) of the display start position of the target object are expressed by the real coordinate values (x, y) within the real displayable range 101 shown by the dotted line in the window 100 ⁇ . ).
- the drawing apparatus sets the coordinate values (X, Y) to the actual coordinate values (x, y) when the target object is written horizontally, and sets the coordinate values (H to H) when the target object is written vertically.
- the drawing device draws the target object as the process of step S10.
- the drawing apparatus sets the next drawing start position as the process of step S11, and further determines whether or not all the displays are completed as the process of step S12. If it is determined that there is not, the process returns to step S2, and if it is determined that the process is completed, the process ends.
- FIG. 16 shows a flow of processing when the drawing apparatus of this embodiment performs “margin designation” based on the structured document of FIG.
- the drawing apparatus first performs a structural analysis of the structured document as the processing of step S21.
- the drawing apparatus obtains the line direction size W and line feed direction size H of the drawing area shown in FIG. 13 as step S 22 2 by performing the structural analysis in the case of performing the “margin designation”. .
- the drawing device performs the processing of the structured document as step S24. Based on the analysis result, it is determined whether or not the head margin has been specified as the margin specification. If it is determined that the head margin has been specified, the head margin specification is made in the process of step S25. If it is determined that it has not been performed, the process proceeds to step S26.
- the value is updated as the X coordinate value of the display start position including the width of the head line margin, and then the process proceeds to step S26.
- step S26 the drawing apparatus determines whether or not the end-of-line margin is specified as the margin specification, and if it is determined that the end-of-line margin is specified, step S26 is performed. If it is determined in step 27 that the end-of-line margin has not been specified, the process proceeds to step S28.
- the drawing apparatus displays the coordinates (X, Y) of the display start position of the target object as a document in the display window 1 on the display as shown in FIG. Convert to the actual address at 0 0 (real coordinate value (x, y)). In other words, the drawing apparatus displays the coordinate values (X, Y) of the display start position of the target object as a document in the actual displayable range 101 in the display window 100 (x, y). , Y).
- the drawing device converts the coordinate values (X, Y) to the actual coordinate values (X, y), and if the target object as a document is in vertical composition, the coordinate values (H — X, Y) are the real coordinate values (x, y).
- the drawing apparatus draws each target object in the document as the process of step S29.
- the image is drawn or displayed on the display as shown in FIG. 4A, FIG. 4B, FIG. 5A or FIG. 5B by the process of step S29.
- the drawing apparatus sets the next drawing start position as the process of step S30, and further determines whether or not all the displays have been completed as the process of step S31. If it is determined that there is not, the process returns to step S22, and if it is determined that the process is completed, the process ends.
- FIG. 17 shows a processing flow when the drawing apparatus of this embodiment performs “indentation” and “indentation” based on the structured document of FIG.
- the drawing apparatus first performs the structure analysis of the structured document as the process of step S41.
- the drawing apparatus determines, as step S42, the line direction size W and line feed direction size of the drawing area shown in FIG. H, Get the indentation width du or indentation width dV of the object before the target object.
- the indentation width du shown in Fig. 13 is the indentation width from the position specified at the beginning of the line when the margin at the beginning of the line is specified, and the indentation width d V is the margin at the end of the line. In this case, it is the width of indentation from the specified end of the line margin.
- step S44 the drawing apparatus determines whether or not indentation is specified for the target object based on the analysis result of the structured document, and the indentation is specified. If it is determined that the indentation has been performed, the process proceeds to step S45. If it is determined that the indentation has not been specified, the process proceeds to step S46.
- step S46 the drawing apparatus determines whether or not indentation is specified for the target object. If it is determined that indentation is specified, step S46 is performed. If it is determined in step 47 that indentation has not been specified, the process proceeds to step S48.
- the result is updated as the X coordinate value of the display start position including the indentation width of the target object, and thereafter, the process proceeds to step S48.
- the drawing apparatus displays the coordinates (X, Y) of the display start position of the target object as shown in FIG. 15 in the display window 100 on the display.
- Real address real coordinate value (x, y)
- the drawing apparatus converts the coordinate value (X, Y) of the display start position of the target object into the actual coordinate value (x, y) within the real displayable range 101 in the window 100. Convert.
- the coordinate value (X, Y) is set to the actual coordinate value (X, y), and when the target object is written vertically, the coordinate value (H—X, Let Y) be the real coordinate value (X, y).
- the drawing apparatus draws the target object as the process of step S49. For example, as shown in FIG. 6A, FIG. 6B, FIG. 7A or FIG. 7B described above by the process of step S49, a document or the like is drawn or displayed on the display.
- the drawing apparatus sets the next drawing start position as the process of step S40, and further determines whether or not all the displays have been completed as the process of step S41. If it is determined that there is not, the process returns to step S42, and if it is determined that the process is completed, the process ends.
- the drawing apparatus of the present embodiment draws a character based on the structured document of FIG. 9, and further decorates the character as necessary (for example, a decoration object such as a horizontal line).
- the processing of the flowchart in FIG. 18 is included in, for example, each processing step of the drawing processing of the target object in each of the flowcharts shown in FIGS. 12, 16, and 17 described above. .
- FIGS. 19A and 19B show a one-character drawing area for horizontal writing
- FIGS. 20A and 20B show a one-character drawing area for vertical writing
- Fig. 19A shows the case where a decorative object is drawn in the upstream direction of the one-character drawing area of the horizontal writing
- Fig. 19B shows the case where a decoration object is drawn in the downstream direction of the one-character drawing area of the horizontal writing
- Figure 2 OA draws a decorative object upstream of the vertical one-character drawing area
- Figure 20B draws a decorative object downstream of the vertical one-character drawing area. Is shown.
- FIGS. 19A shows the case where a decorative object is drawn in the upstream direction of the one-character drawing area of the horizontal writing
- Fig. 19B shows the case where a decoration object is drawn in the downstream direction of the one-character drawing area of the horizontal writing
- Figure 2 OA draws a decorative object upstream of the vertical one-character drawing area
- Figure 20B draws a decorative object downstream of the vertical one-character drawing
- the arrow X direction in each figure has a line direction
- the arrow Y direction in each figure has a line feed direction
- the size s X in each figure is the character size in the line direction
- the size sy in each figure is the character size in the line feed direction.
- step S61 Upon acquiring the information on the character drawing start position and the character size in step S61, the drawing device determines whether or not to add a decoration to the character to be displayed in the next process in step S62. In this step S61, the drawing apparatus proceeds to step S63 if it is determined to be decorated, and proceeds to step S68 if it is determined not to be decorated.
- step S63 the drawing apparatus determines whether the position to be decorated is in the upstream or downstream direction of the character. In step S63, if the drawing apparatus determines that the direction is the upstream direction, the drawing apparatus proceeds to the processing in step S64 and subsequent steps. If it determines that the drawing direction is the downstream direction, the drawing apparatus proceeds to the processing in step S65 and subsequent steps. .
- step S63 it is determined that the direction is upstream, and step S64
- the drawing apparatus obtains the drawing start position Y 'of the decoration object located upstream from the coordinate position Y in the line feed direction as shown in FIG. 19A or FIG. 2OA.
- step S66 the drawing apparatus converts each coordinate position of (X, Y,) and (X + sx, Y) into a diagonal line (( ⁇ , ⁇ ,)-( ⁇ + sX, ⁇ ) ) Is obtained, and a decoration object is drawn in the rectangle. Then, the process proceeds to step S68.
- the side point as the decorative object is drawn on the upstream side of the character or displayed on the display.
- step S65 the drawing apparatus sets the coordinate position in the line feed direction as shown in FIG. 19 ⁇ or FIG. 20 ⁇ . ⁇ ⁇ ⁇ Calculate the drawing start position ⁇ , of the decoration objec- ticle located downstream from ⁇ .
- step S67 the drawing apparatus converts each coordinate position of (X, Y + sy) and (X + sx, Y ') into a diagonal line ((X, Y + sy) one (X + sX, Y ′)) is obtained, a decorative object is drawn in the rectangle, and the process proceeds to step S 68.
- step S68 the drawing device draws a character in the one-character drawing area represented by the coordinates (X, Y).
- the drawing apparatus sets the next character drawing start position as the processing of step S69, and ends the processing.
- FIG. 21 shows a system configuration in the case of distributing an electronic book using the structured document of the present embodiment.
- a drawing device for drawing a structured document distributed as the electronic book for example, a personal computer 79 having a display device, a terminal dedicated to an electronic book 78, and a display device are also used.
- a wireless communication terminal 80 such as a mobile phone is provided as an example.
- the electronic book creation unit 70 is, for example, a publisher or an information provider that creates an electronic book with the structured document of the present embodiment.
- the content created or collected in 1 is converted into a structured document of this embodiment by a format converter 72.
- the electronic book data created by the electronic book creation unit 70 is, for example, an electronic book medium in which a disc such as a CD-ROM or a DVD-ROM (Digital Verstatile Disc—R0M) or a semiconductor memory is packaged.
- the media is supplied to the media production department 75 for production and the service center 73 for distributing electronic book data via communication, and is stored in the server 74.
- the e-book media produced by the media production department 75 is distributed or sold to users of e-book terminals 7 8 and personal convenience stores 79, and the server 7 of the service center 73.
- the e-book data stored in 4 is transmitted from a dedicated electronic book terminal 78 to a personal computer 79 via a communication network such as a telephone network such as an Internet network, or a network 76. , That is, in response to a request from the user, and transmitted to the wireless communication terminal 80 via the wireless base station 77.
- the e-book dedicated terminal 78 of this embodiment is It is also possible to transmit and receive electronic book data between one sonar view 79 and the wireless communication terminal 80 by, for example, exchanging data communication media.
- the electronic book dedicated terminal 78, the personal computer 79, and the wireless communication terminal 80 corresponding to the drawing apparatus of this embodiment are distributed.
- the received electronic book data can be displayed.
- the e-book reader is the structured document of the above-described embodiment
- the e-book dedicated terminal 78, the personal computer 79, and the wireless communication terminal 80 require the user's request to read the e-book. According to the request of the distribution side, it can be displayed in either horizontal or vertical composition.
- FIG. 22 shows a schematic configuration example of a personal computer 79 as an example of the drawing apparatus of the present embodiment.
- the personal computer is one in which an application program corresponding to the structured document of the present embodiment is mounted, and an MPU (microprocessor unit) 23 is developed in a RAM 22. Based on the application program described above, the structured document display processing of the present embodiment is performed based on the flowcharts shown in FIGS. 12, 16, 16 and 17 described above.
- ROM 21 stores the initial setting values and the like of the personal computer.
- An application program is stored on the hard disk of the hard disk drive 35, and the application program recorded on the hard disk is stored on the RAM 22 via the hard disk controller 34.
- the e-book data is stored on a CD—R Discs such as OM and DVD ROM can be played by the disc drive controller 27, or packaged semiconductor memory loaded in the memory drive 40 can be played by the memory drive controller 39. Or downloaded from the server 74 via the modem 31 or supplied externally via the communication port 33 and the communication port controller 32, for example, stored on the hard disk and required. Is read out according to.
- the image signal processing unit 36 performs image signal processing when displaying an image, an electronic book document, or the like on the display 24 via the display controller 25.
- the audio signal processing section 37 processes the audio signal and supplies it to the speaker 38.
- the mouse / keyboard 28 is attached to a normal personal computer, and operation signals from the mouse / keyboard 28 are captured via the interface (I / F) unit 29. It is.
- the MPU 23 By operating these mouse / keyboard 28, when a command to display the document vertically or horizontally is displayed on the display 24, the MPU 23 responds to the command.
- the structured document is displayed on the display 24 as a vertical or horizontal display.
- FIG. 23 shows a schematic configuration example of an electronic book dedicated terminal 78 as an example of the drawing apparatus of the present embodiment.
- the e-book dedicated terminal 78 is one in which a program corresponding to the structured document of the present embodiment is implemented, and the CPU 43 is configured by the program expanded in the RAM 42 as described above. Based on the flowcharts shown in Fig. 12, Fig. 16, Fig. 17, Fig. 17, and Fig. The structured document display processing of the embodiment is performed.
- the ROM 41 stores initial setting values and the like of the electronic book dedicated terminal 78.
- the e-book dedicated terminal 78 has a hard disk, and it is also possible to store programs on the hard disk.
- the electronic book data can be obtained by playing the packaged semiconductor memory loaded in the memory drive 47 by the memory drive controller 46, or from the server 74 via the modem 45. It is downloaded or supplied from outside and sent to the image signal processing unit 48. If the e-book dedicated terminal 78 has a disk drive such as CD-ROM or DVD-R / M, a communication port, etc., by reproducing a recording medium such as CD-ROM or DVD-R, or Electronic book data can also be imported via a communication network such as Internet.
- a communication network such as Internet.
- the image signal processing unit 46 performs image signal processing when displaying an image, an electronic book document, or the like on the display 50 via the display controller 49.
- the audio signal processing section 51 processes the audio signal and supplies the processed audio signal to the speed 52.
- the e-book dedicated terminal 7 8 includes, for example, a page forward key 61, a page return key 62, a page jump key 63, a vertical / horizontal display change key 64, and a search key as operation keys 44. It is equipped with one input key and six input keys.
- the CPU 43 turns the page of the electronic book or the page back according to the operation. Perform a page jump.
- the vertical / horizontal display change key 64 is operated by the user of the terminal 78, the CPU 43 changes the display of the electronic book to vertical display or horizontal display according to the operation.
- the user operates the search key 65 for example, the CPU 43 searches for a desired search item in the electronic book according to the operation of the key 65, and the CPU 43 operates the input key 66. Take in the input information of the key.
- the wireless communication terminal 80 When the wireless communication terminal 80 is capable of receiving and displaying an electronic book, it has substantially the same configuration as the electronic book dedicated terminal 78 shown in FIG. However, in this case, the operation keys can be replaced with ten keys (10 keys), for example.
- the electronic book data as a structured document is distributed on a recording medium such as a CD-ROM or a DVD-R, and is transmitted to the combination user 79 and the terminal 78 in FIG. 6, the application program for displaying structured documents based on the flow charts shown in Figs. 17 and 18 is stored in the hard disk or RAM, but the application program for display processing is also a storage medium. You may distribute using.
- the electronic book data as the structured document and the application program described above may be stored in one storage medium.
- the present invention analyzes drawing information including object information and layout designating information for designating a relative position direction with respect to the assembling direction, and defines a layout definition corresponding to the layout designating information.
- the relative position of the object in the drawing area is determined based on the information, and the actual display position corresponding to the relative position is generated according to the assembling direction. It is possible to easily change the layout of the object.
- drawing information including information of the object and layout designation information for designating a relative position direction with respect to a combination direction of the object is generated.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US09/890,844 US6975333B2 (en) | 1999-12-09 | 2000-12-05 | Information processing method and apparatus and medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP35086499A JP4943573B2 (ja) | 1999-12-09 | 1999-12-09 | 情報処理方法及び装置、媒体 |
| JP11/350864 | 1999-12-09 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2001042975A1 true WO2001042975A1 (en) | 2001-06-14 |
Family
ID=18413414
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2000/008610 Ceased WO2001042975A1 (en) | 1999-12-09 | 2000-12-05 | Information processing method, information processing device, and medium |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US6975333B2 (enExample) |
| JP (1) | JP4943573B2 (enExample) |
| WO (1) | WO2001042975A1 (enExample) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008193580A (ja) * | 2007-02-07 | 2008-08-21 | Ricoh Co Ltd | 情報処理装置 |
| US9087337B2 (en) * | 2008-10-03 | 2015-07-21 | Google Inc. | Displaying vertical content on small display devices |
| US8255820B2 (en) | 2009-06-09 | 2012-08-28 | Skiff, Llc | Electronic paper display device event tracking |
| WO2011004607A1 (ja) * | 2009-07-09 | 2011-01-13 | 株式会社トーキョウ・グレート・ヴィジュアル | コンピュータシステム,コンピュータ,及びプログラム |
| CN103914443B (zh) * | 2013-01-09 | 2018-06-12 | 北大方正集团有限公司 | 一种多语种文字的混排方法及装置 |
| JP6214347B2 (ja) * | 2013-11-07 | 2017-10-18 | キヤノン株式会社 | 情報処理装置、情報処理方法及びプログラム |
| CN106997292A (zh) * | 2016-01-26 | 2017-08-01 | 北京国双科技有限公司 | 处理矩形树图的方法和装置 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5868092A (ja) * | 1981-10-19 | 1983-04-22 | キヤノン株式会社 | 出力装置 |
| JPS63304365A (ja) * | 1987-06-04 | 1988-12-12 | Mitsubishi Electric Corp | マルチメディア編集出力装置におけるテキスト・デ−タ編集出力方式 |
| JPH05158924A (ja) * | 1991-12-09 | 1993-06-25 | Sanyo Electric Co Ltd | 文書編集装置及び文書編集方法 |
| JPH10177567A (ja) * | 1996-12-17 | 1998-06-30 | Nec Off Syst Ltd | 情報提供システム |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05151254A (ja) * | 1991-11-27 | 1993-06-18 | Hitachi Ltd | 文書処理方法およびシステム |
| JP2802855B2 (ja) * | 1992-04-28 | 1998-09-24 | 大日本スクリーン製造株式会社 | 仮想割付矩形に従って文字群の配置を調整する組版方法 |
| JPH09223133A (ja) * | 1996-02-20 | 1997-08-26 | Fuji Xerox Co Ltd | 文書処理装置 |
-
1999
- 1999-12-09 JP JP35086499A patent/JP4943573B2/ja not_active Expired - Fee Related
-
2000
- 2000-12-05 US US09/890,844 patent/US6975333B2/en not_active Expired - Fee Related
- 2000-12-05 WO PCT/JP2000/008610 patent/WO2001042975A1/ja not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5868092A (ja) * | 1981-10-19 | 1983-04-22 | キヤノン株式会社 | 出力装置 |
| JPS63304365A (ja) * | 1987-06-04 | 1988-12-12 | Mitsubishi Electric Corp | マルチメディア編集出力装置におけるテキスト・デ−タ編集出力方式 |
| JPH05158924A (ja) * | 1991-12-09 | 1993-06-25 | Sanyo Electric Co Ltd | 文書編集装置及び文書編集方法 |
| JPH10177567A (ja) * | 1996-12-17 | 1998-06-30 | Nec Off Syst Ltd | 情報提供システム |
Also Published As
| Publication number | Publication date |
|---|---|
| US20030151613A1 (en) | 2003-08-14 |
| US6975333B2 (en) | 2005-12-13 |
| JP4943573B2 (ja) | 2012-05-30 |
| JP2001167091A (ja) | 2001-06-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7054952B1 (en) | Electronic document delivery system employing distributed document object model (DOM) based transcoding and providing interactive javascript support | |
| CA2372544C (en) | Information access method, information access system and program therefor | |
| US6829746B1 (en) | Electronic document delivery system employing distributed document object model (DOM) based transcoding | |
| US6725424B1 (en) | Electronic document delivery system employing distributed document object model (DOM) based transcoding and providing assistive technology support | |
| US6738951B1 (en) | Transcoding system for delivering electronic documents to a device having a braille display | |
| EP1405169B1 (en) | Information processing apparatus and method, and program product | |
| US20040019849A1 (en) | Method and system for providing online web page editing | |
| US20020116420A1 (en) | Method and apparatus for displaying and viewing electronic information | |
| JPH11282829A (ja) | フォント共有システムおよび方法ならびにフォント共有方法を実行するためのプログラムを格納した記録媒体 | |
| JP2012133659A (ja) | ファイルフォーマット、サーバ、電子コミックのビューワ装置および電子コミック生成装置 | |
| WO2012086357A1 (ja) | 電子コミックのビューワ装置、電子コミックの閲覧システム、ビューワプログラム、該ビューワプログラムが記録された記録媒体ならびに電子コミックの表示方法 | |
| JP2005056039A (ja) | 情報処理システムおよび方法、プログラム、並びに記録媒体 | |
| WO2004097656A1 (ja) | コンテンツ作成システム、コンテンツ作成方法、該コンテンツ作成方法を実行させるためのコンピュータ実行可能なプログラム、該プログラムが記録されたコンピュータ可読な記憶媒体、グラフィカル・ユーザ・インタフェース・システム、および表示制御方法 | |
| JP5674451B2 (ja) | ビューワ装置、閲覧システム、ビューワプログラム及び記録媒体 | |
| JP5466357B2 (ja) | 電子文書の作成を支援する装置及び方法 | |
| JP2009271777A (ja) | 情報処理装置、テキスト表示プログラム、およびテキスト表示方法 | |
| JP4943573B2 (ja) | 情報処理方法及び装置、媒体 | |
| JP5268114B2 (ja) | 情報処理装置、テキスト表示プログラム、およびテキスト表示方法 | |
| KR100998076B1 (ko) | 정보 단말기의 영상 크기 조절 장치 및 방법 | |
| JP3884951B2 (ja) | 情報処理装置及びその方法、プログラム | |
| JP2006185064A (ja) | データ処理装置及びプログラム | |
| CN115796130A (zh) | 富文本编辑方法、装置、设备及介质 | |
| JP2000076226A (ja) | 文書データの編集システム | |
| JP2021082088A (ja) | 情報処理装置、その制御方法、プログラム、及び記憶媒体 | |
| JP2005056042A (ja) | 情報処理装置および方法、プログラム、並びに記録媒体 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AK | Designated states |
Kind code of ref document: A1 Designated state(s): CA US |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 09890844 Country of ref document: US |