1. Technical Field
The present disclosure relates to an electronic device and a method for transition between sequential pages displayed on the electronic device.
2. Description of Related Art
A popular slideshow presentation application program is PowerPoint. The types of display properties of one or more slideshows of a PowerPoint (PPT) electronic file are predefined by the PowerPoint application program. That is, the digital representation of text or images can be tailored according to a user's preferences. The display properties can provide dynamic effects for the displayed slides of the PPT file. In particular, when the slideshow proceeds from one slide to the next, the display of transition from the preceding slide to the next slide can have different desired dynamic effects. For example, the transition may occur by way of “vertical blinds,” or by way of “horizontal blinds.” However, during a given slideshow, when a next slide needs to be displayed and the user (presenter) wants to change the type of dynamic effect that occurs in the displayed transition to the next slide, the user must effect such change by complicated manual input. This is time-consuming and inconvenient.
Therefore, what is needed is an electronic device and a method for transition between sequential pages displayed on the electronic device without the limitations described above.
The emphasis is placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts or sections throughout the views.
The input unit 11 generates input signals in response to received user inputs. The input unit 11 is typically a touch screen, or a touchpad, or a camera, or another component or device which can detect and capture a shape traced by a user. In the embodiment, the input unit 11 comprises a touch screen 111 and a camera 112.
The storage unit 10 also stores a number of slides containing still or moving content such as text, pictures, videos, and movies. The storage unit 10 further stores a number of predefined shapes, a number of types of display transition properties, and a mapping table recording a relationship between the predefined shapes and the types of display transition properties. In the mapping table, each type of display transition property is associated with a predefined shape or a number of predefined shapes. For example, a vertical snake shape is associated with a vertical blinds display transition property. In another example, the display transition property for vertical blinds can be associated with a number of shapes, such as a shape having a track of “□” (a square), a shape having a track of “Δ” (a triangle), and a shape having a track of “S.” The predefined shapes, the types of display transition properties, and the mapping table can all be default settings of the system of the electronic device 1, or can be predefined by a user of the electronic device 1.
The electronic device 1 further comprises a processor 12 and a display unit 13. The processor 12 comprises a shape identification module 121, an acquisition module 122, and a transition control module 123.
When the electronic device 1 is activated, a presentation application program such as PowerPoint is started, in order to play a slideshow. The change from the current slide and the type of display transition property that applies in the change to the next slide can both be effected by a shape traced by a user. The shape is detected by the touch screen 111, and/or the path of the shape traced by the user is captured by the camera 112.
The shape identification module 121 identifies the shape traced by the user according to touch signals received from the touch screen 111 or image signals received from the camera 112 without preference. For example, in one embodiment, the shape identification module 121 receives signals from both the touch screen 111 and the camera 112. In such case, the shape identification module 121 processes the touch signals from the touch screen 111 and the image signals from the camera 112 in the order in which the signals are received.
The shape identification module 121 further compares the identified shape with the predefined shapes stored in the storage unit 10, to determine whether the identified shape is substantially the same as one of the predefined shapes. The shape identification module 121 also transmits a determination (i.e. a result of the comparison) to the acquisition module 122.
The acquisition module 122 acquires a type of display transition property associated with the determined predefined shape from the storage unit 10, if the identified shape is substantially the same as one of the predefined shapes stored in the storage unit 10.
The transition control module 123 controls the display unit 13 to undergo transition to the next slide with the acquired type of display transition property. For example, if the default type of display transition property for the next slide is vertical blinds and the acquired type of display transition property is horizontal blinds, the transition control module 123 controls transition to the next slide with horizontal blinds.
In step S40, when the electronic device 1 is activated, a presentation application program is activated, and the display unit 13 displays a slideshow associated with the presentation application program.
In step S41, the input unit 11 generates input signals in response to received user inputs. In detail, the touch screen 111 generates touch signals in response to a user's touch operation 1111 thereon; and the camera 112 captures a series of pictures of the movement of the user's fingertip (or hand) to obtain a movement track 1121, or records a video of the fingertip's movement track 1121, and then generates corresponding image signals.
In step S42, the shape identification module 121 identifies the shape traced by the user according to the touch signals received from the touch screen 111 or the image signals received from the camera 112 without preference. In one example, the shape identification module 121 receives signals from both the touch screen 111 and the camera 112. In such case, the shape identification module 121 processes the touch signals from the touch screen 111 and the image signals from the camera 112 in the order in which the signals are received.
In step S43, the shape identification module 121 compares the identified shape with the predefined shapes stored in the storage unit 10, and determines whether the identified shape is substantially the same as one of the predefined shapes stored in the storage unit 10. If the determination is yes, the procedure goes to step S44; otherwise, the procedure goes back to step S41.
In step S44, the acquisition module 122 acquires a type of display transition property associated with the predefined shape from the storage unit 10.
In step S45, the transition control module 123 records the acquired type of display transition property, stores the acquired type of display transition property with the next presentation object (e.g. a slide), and controls the display unit 13 to undergo transition to the next slide with the acquired type of display transition property.
Although the present disclosure has been specifically described on the basis of various embodiments thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiments without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2012105371297 | Dec 2012 | CN | national |