CN106802796B - Image-text mixed arranging method and system based on IOS system - Google Patents

Image-text mixed arranging method and system based on IOS system Download PDF

Info

Publication number
CN106802796B
CN106802796B CN201611237101.6A CN201611237101A CN106802796B CN 106802796 B CN106802796 B CN 106802796B CN 201611237101 A CN201611237101 A CN 201611237101A CN 106802796 B CN106802796 B CN 106802796B
Authority
CN
China
Prior art keywords
data
character
marks
image
input
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.)
Active
Application number
CN201611237101.6A
Other languages
Chinese (zh)
Other versions
CN106802796A (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.)
Chongqing Kelanda Technology Co ltd
Original Assignee
Chongqing Kelanda 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 Chongqing Kelanda Technology Co ltd filed Critical Chongqing Kelanda Technology Co ltd
Priority to CN201611237101.6A priority Critical patent/CN106802796B/en
Publication of CN106802796A publication Critical patent/CN106802796A/en
Application granted granted Critical
Publication of CN106802796B publication Critical patent/CN106802796B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention provides a picture and text mixed arranging method based on an IOS system, which comprises the following steps: s1, the user inputs the character data and the image data through the input module according to the sequence of the characters and the images of the current required display interface, and marks the character marks and the icon marks on the character data and the image data respectively; s2, the display module displays the current required display interface, and the method specifically comprises the following steps: s21, the calculating unit searches the sequence number segment where the image data in the recording module is located to obtain an image sequence number segment group; s22, the calculating unit judges whether the sequence number of each data in the recording module is in the figure sequence number segment group, if yes, the step S23 is carried out, and if yes, the step S24 is carried out; s23, the display unit displays the current graph of the required display interface; s24, the display unit displays the characters of the current required display interface; and S25, displaying the interface which is required to be displayed completely at present. The invention has the beneficial effects that: the method realizes that the required graphs and texts are displayed on the terminal of the IOS system after being mixed.

Description

Image-text mixed arranging method and system based on IOS system
Technical Field
The invention relates to a method for displaying mixed image-text, in particular to a method and a system for mixed image-text based on an IOS system.
Background
In the prior art, no control for mixed arrangement of pictures and texts is provided by an official party during development of an apple IOS (input/output system), so that the mixed arrangement of the pictures and the texts can not be realized when application software is developed based on the IOS.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method and a system for image-text mixed arrangement based on an IOS system, which realize that required images and text are mixed arranged and then displayed on a terminal of the IOS system.
In order to achieve the purpose, the invention adopts the following technical scheme:
an image-text mixed arranging method based on an IOS system comprises the following steps:
s1, the user inputs the character data and the image data through the input module according to the sequence of the characters and the images of the current required display interface, and marks the character marks and the icon marks on the character data and the image data respectively;
s2, the display module displays the current required display interface, and the method specifically comprises the following steps:
s21, the calculating unit searches the sequence number segment where the image data in the recording module is located to obtain an image sequence number segment group;
s22, the calculating unit judges whether the sequence number of each data in the recording module is in the figure sequence number segment group, if yes, the step S23 is carried out, and if yes, the step S24 is carried out;
s23, the display unit adds the UIImageView control of the IOS system to the UIView control to display the graph of the current required display interface;
s24, the display unit adds the UILabel control of the IOS system to the UIView control to display the characters of the current display interface;
and S25, displaying the interface which is required to be displayed completely at present.
Preferably, step S1 specifically includes: the user self judges the arrangement sequence of the characters and the pictures of the current required display interface, when the characters need to be input, the character input unit is used for inputting and sequentially inputting character data, and the character input unit marks the characters on the character data table and stores the characters in the storage unit; when the graph needs to be recorded, the graph recording unit is used for inputting graph data which are sequentially input, and the graph recording unit marks icons on the graph data and stores the graph data into the storage unit.
The invention also provides a system using the image-text mixed arranging method based on the IOS system, which comprises the following steps:
the input module is used for inputting character data and figure data through the input module according to the sequence of characters and figures of the current required display interface, and respectively marking the character data and the figure data with character marks and icon marks;
a display module, comprising:
the calculation unit is used for searching the sequence number segment where the image data in the entry module is located so as to obtain an image sequence number segment group; sequentially judging whether the serial number of each data recorded in the module is in the figure serial number segment group;
the display unit is used for adding the UIImageView control of the IOS system into the UIView control to display a picture of a current required display interface; or the UILabel control of the IOS system is added to the UIView control to display the characters of the current required display interface.
Preferably, the logging module comprises:
the character input unit is used for inputting character data in sequence by using the character input unit when characters need to be input, and the character input unit marks characters on the character data table and stores the characters in the storage unit;
the image recording unit is used for inputting image data which are sequentially input by using the image recording unit when images need to be recorded, marking icons on the image data by using the image recording unit and storing the image data into the storage unit; and
and the storage unit is used for storing the data with the marked graph and the character data with the character marks.
Compared with the prior art, the invention has the following beneficial effects:
through the step S1, the input of the text data and the image data of the interface which needs to be mixed and discharged at present is realized, and the text data and the image data are labeled, so that the subsequent calculation unit can conveniently identify which image data are required; then, identifying the graph data and finding out the graph sequence number group segment of the stored graph data by setting a computing unit; and then the text data is added to the UIView control by the UILabel control and displayed, the text data is added to the UIView control by the UIImageView control and displayed, and finally, the required interface of mixed arrangement of the pictures and the texts is displayed on a terminal of the IOS system, so that the design of the interface of the mixed arrangement of the pictures and the texts of the application program based on the IOS system is facilitated.
Drawings
FIG. 1 is a flow chart of a graphics context shuffling method based on an IOS system;
fig. 2 is a block diagram of a system of an IOS system-based teletext shuffling method.
Detailed Description
As shown in fig. 1, the embodiment first provides a method for mixing and typesetting graphics and texts based on an IOS system, which includes:
s1, the user inputs the character data and the image data through the input module according to the sequence of the characters and the images of the current required display interface, and marks the character marks and the icon marks on the character data and the image data respectively;
s2, the display module displays the current required display interface, and the method specifically comprises the following steps:
s21, the calculating unit searches the sequence number segment where the image data in the recording module is located to obtain an image sequence number segment group;
s22, the calculating unit judges whether the sequence number of each data in the recording module is in the figure sequence number segment group, if yes, the step S23 is carried out, and if yes, the step S24 is carried out;
s23, the display unit adds the UIImageView control of the IOS system to the UIView control to display the graph of the current required display interface;
s24, the display unit adds the UILabel control of the IOS system to the UIView control to display the characters of the current display interface;
and S25, displaying the interface which is required to be displayed completely at present.
In order to facilitate entry of the text data and the drawing data, step S1 specifically includes: the user self judges the arrangement sequence of the characters and the pictures of the current required display interface, when the characters need to be input, the character input unit is used for inputting and sequentially inputting character data, and the character input unit marks the characters on the character data table and stores the characters in the storage unit; when the graph needs to be recorded, the graph recording unit is used for inputting graph data which are sequentially input, and the graph recording unit marks icons on the graph data and stores the graph data into the storage unit.
As shown in fig. 2, this embodiment further provides a system using the above image-text mixed typesetting method based on the IOS system, including:
the input module is used for inputting character data and figure data through the input module according to the sequence of characters and figures of the current required display interface, and respectively marking the character data and the figure data with character marks and icon marks;
a display module, comprising:
the calculation unit is used for searching the sequence number segment where the image data in the entry module is located so as to obtain an image sequence number segment group; sequentially judging whether the serial number of each data recorded in the module is in the figure serial number segment group;
the display unit is used for adding the UIImageView control of the IOS system into the UIView control to display a picture of a current required display interface; or the UILabel control of the IOS system is added to the UIView control to display the characters of the current required display interface.
In order to facilitate the entry of text data and graphic data and to facilitate the marking of text marks and icon marks, the entry module comprises:
the character input unit is used for inputting character data in sequence by using the character input unit when characters need to be input, and the character input unit marks characters on the character data table and stores the characters in the storage unit;
the image recording unit is used for inputting image data which are sequentially input by using the image recording unit when images need to be recorded, marking icons on the image data by using the image recording unit and storing the image data into the storage unit; and
and the storage unit is used for storing the data with the marked graph and the character data with the character marks.
When the system works, firstly, a user takes out character data and figure data which need to be mixed and arranged, sorts the character data and the figure data according to needs, and sequentially inputs the data arranged in front, if the character data are input through the character input module, the character input module marks the character data, and the character input module provides a character input window on an operation interface, so that the character data can be intuitively input; if the image data is input through the image entry module, the image entry module marks the character data, and the image entry module provides an image entry window on the operation interface, so that the image data can be visually entered. Then, after the character data and the graph data are recorded, the calculating unit finds out the sequence number segments for recording the graph data, and stores the sequence number segments corresponding to all the graphs as graph sequence number segment groups, so as to conveniently judge whether the graph data is the character data or the graph data. Then, starting to display data, when displaying, firstly judging whether the data belongs to image data or text data according to the data sequence number, and when judging that the data belongs to the text data, adding a UIImageView control of the IOS system into the UIView control by a display unit to display an image of a current required display interface; and when the image data is judged, the display unit adds the UIImageView control of the IOS system to the UIView control to display the image of the current required display interface. And finally, displaying all the input data completely, and completely displaying the interface needing to be displayed currently.
In order to use the system for the next time, the storage unit is a cache space, and new text data and new figure data can be input again after the text data and the figure data which are input at one time are stored.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (2)

1. An image-text mixed arranging method based on an IOS system is characterized by comprising the following steps:
s1, the user inputs the character data and the image data through the input module according to the sequence of the characters and the images of the current required display interface, and marks the character marks and the icon marks on the character data and the image data respectively; the character mark and the icon mark respectively mark the input character data and the input image data so as to judge whether the serial number of each data in the input module is in the image serial number segment group;
s2, the display module displays the current required display interface, and the method specifically comprises the following steps:
s21, the calculating unit searches the sequence number segment where the image data in the recording module is located to obtain an image sequence number segment group;
s22, the calculating unit judges whether the sequence number of each data in the recording module is in the figure sequence number segment group, if yes, the step S23 is carried out, and if not, the step S24 is carried out;
s23, adding the image data to the UIView control by the display unit by using the UIImageView control of the IOS system, and displaying the image of the current required display interface;
s24, the display unit adds the text data to the UIView control by using the UILabel control of the IOS system, and displays the text of the current required display interface;
s25, displaying the interface which is required to be displayed completely;
step S1 specifically includes: the user self judges the arrangement sequence of the characters and the pictures of the current required display interface, when the characters need to be input, the character input unit is used for inputting character data, and the character input unit marks character marks on the character data and stores the character data into the storage unit; when the graph needs to be recorded, graph data is input by using the graph recording unit, and the graph data is marked with icons by the graph recording unit and is stored in the storage unit.
2. A system using the teletext shuffling method of claim 1, comprising:
the input module is used for inputting character data and image data through the input module according to the sequence of characters and images of a current required display interface, and respectively marking character marks and icon marks on the character data and the image data, wherein the character marks and the icon marks respectively mark the input character data and the input image data so as to judge whether the serial number of each data in the input module is in the image sequence number segment group;
a display module, comprising:
the computing unit is used for searching the sequence number segment where the image data in the input module is located to obtain an image sequence number segment group; sequentially judging whether the serial number of each data recorded in the module is in the figure serial number segment group;
the display unit is used for adding the graph data to the UIView control by using the UIImageView control of the IOS system and displaying a graph of a current required display interface; or the UILabel control of the IOS system is used for adding the text data to the UIView control and displaying the text of the current required display interface;
the logging module comprises:
the character input unit is used for inputting character data by using the character input unit when characters need to be input, and the character input unit marks character marks on the character data and stores the character marks in the storage unit;
the image recording unit is used for inputting image data by using the image recording unit when images need to be recorded, marking icons on the image data and storing the image data into the storage unit; and
and a storage unit for storing the image data with the marks and the character data with the character marks.
CN201611237101.6A 2016-12-28 2016-12-28 Image-text mixed arranging method and system based on IOS system Active CN106802796B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611237101.6A CN106802796B (en) 2016-12-28 2016-12-28 Image-text mixed arranging method and system based on IOS system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611237101.6A CN106802796B (en) 2016-12-28 2016-12-28 Image-text mixed arranging method and system based on IOS system

Publications (2)

Publication Number Publication Date
CN106802796A CN106802796A (en) 2017-06-06
CN106802796B true CN106802796B (en) 2021-03-02

Family

ID=58985199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611237101.6A Active CN106802796B (en) 2016-12-28 2016-12-28 Image-text mixed arranging method and system based on IOS system

Country Status (1)

Country Link
CN (1) CN106802796B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114625460B (en) * 2022-02-24 2024-02-06 北京百度网讯科技有限公司 Image-text mixed arrangement method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678267B (en) * 2012-09-17 2017-05-17 腾讯科技(深圳)有限公司 Method and system for typesetting and rendering image-text mixed content
CN103838464B (en) * 2014-03-06 2017-03-08 北京保益互动科技发展有限公司 Blind mobile phone reads screen graphical control automatic adaptation method

Also Published As

Publication number Publication date
CN106802796A (en) 2017-06-06

Similar Documents

Publication Publication Date Title
CN107885826B (en) Multimedia file playing method and device, storage medium and electronic equipment
JP2013218676A (en) Input method, input device and terminal
CN103970417A (en) Information processing method and electronic equipment
CN112269798B (en) Information display method and device and electronic equipment
US20120054608A1 (en) Electronic device capable of guiding reading and method thereof
CN113518026B (en) Message processing method and device and electronic equipment
EP4390640A1 (en) Message sending method and apparatus, and electronic device
CN110958402B (en) Spliced matrix display method and system
US20150331558A1 (en) Method for switching pictures of picture galleries and browser
CN109740124A (en) Difference output method, device, storage medium and the electronic equipment of document comparison
CN111880668A (en) Input display method and device and electronic equipment
CN106802796B (en) Image-text mixed arranging method and system based on IOS system
CN106878773B (en) Electronic device, video processing method and apparatus, and storage medium
CN111324326B (en) Processing method and device for displaying software to one machine with multiple screens
CN106535002B (en) Desktop starter template layout updating method and device
US10078424B2 (en) Recognition and display of reading progress
CN112764633A (en) Information processing method and device and electronic equipment
CN110134920A (en) Draw the compatible display methods of text, device, terminal and computer readable storage medium
CN112148135A (en) Input method processing method and device and electronic equipment
US20100302251A1 (en) Structure of animation font file and text displaying method of handheld terminal
CN113114559B (en) Information display method, device and equipment
CN112328096B (en) Candidate word display method and device and electronic equipment
CN116016412A (en) Instant message processing method, device, electronic equipment and storage medium
CN111221951B (en) Text processing method and device
CN114490754A (en) Document auditing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant