Unlock instant, AI-driven research and patent intelligence for your innovation.
Method and device for text first-line indentation
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A text and indent technology, applied in the field of text editing, can solve the problems of inaccuracy, inaccuracy and convenience, and achieve the effect of accurate effect
Active Publication Date: 2016-07-20
ZHUHAI KINGSOFT OFFICE SOFTWARE +2
View PDF3 Cites 0 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0007] However, a text can also have many paragraphs that do not need to set the first line indentation, such as titles, etc. Using the above method, the paragraphs that do not need to set the first line indentation format are also set to the first line indentation, which is not accurate enough. Furthermore, it is also necessary to cancel these unnecessary indentation effects of the first line, which still requires more operations by the user
[0008] In short, setting the indentation of the first line of the text paragraph in the prior art is not accurate and convenient enough, so the technical problem that urgently needs to be solved by those skilled in the art is how to make the effect of setting the indentation of the first line of the text paragraph more accurate, more convenient
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more
Image
Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0056] see figure 1 as shown, figure 1 It is a flow chart of the method for indenting the first line of text provided by the embodiment of this application, and the method may specifically include the following steps:
[0057] S101. Receive a request for indenting the first line of specified text content; the specified text content may include multiple text paragraphs;
[0058] S102. Determine the paragraph attribute of each text paragraph; the attribute value of the paragraph attribute may include alignment, whether it is a title or text, whether it has an item number, whether it is a table of contents paragraph, etc.;
[0059] S103. Determine the indentation requirements of each text paragraph according to the paragraph attributes, wherein determining the indentation requirements of the text paragraphs may include: determining whether the first line of the text paragraph needs to be indented;
[0060] S104. According to the indentation requirement corresponding to each text ...
Embodiment 2
[0078] Corresponding to the method for indenting the first line of text provided in Embodiment 1, this embodiment of the present application also provides a device for indenting the first line of text, see figure 2 , the device can include:
[0079] The request receiving unit 201 is configured to receive a request for indenting the first line of specified text content; the specified text content includes a plurality of text paragraphs;
[0080] A paragraph attribute determining unit 202, configured to determine the paragraph attribute of each text paragraph; the attribute value of the paragraph attribute includes alignment, whether it is a title or text, whether it has an item number, and whether it is a table of contents paragraph;
[0081] The indentation requirement determining unit 203 is configured to determine the indentation requirement of each text paragraph according to the paragraph attribute, wherein determining the indentation requirement of the text paragraph inc...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More
PUM
Login to View More
Abstract
The embodiment of the invention discloses a method and device for text first-line indentation. The method comprises the steps that a request for the first-line indentation of a designated text content is received; the designated text content comprises multiple text paragraphs; paragraph properties of each text paragraph are determined; property values of paragraph properties include an alignment manner, whether the content is a title or a main body, whether the content includes an item number and whether the content is a catalog paragraph; according to the paragraph properties, an indentation demand of each text paragraph is determined, wherein the indentation demand of the determined text paragraph includes whether the text paragraph needs the first-line indentation is determined; and according to the indentation demands corresponding to each text paragraph, a first-line indentation operation is carried out to each text paragraph. Through application of the scheme, first-line indentation setting of the text can become more accurate and faster.
Description
technical field [0001] The invention relates to the technical field of text editing, in particular to a method and a device for indenting the first line of text. Background technique [0002] When using word processingsoftware to edit text, such as Microsoft Office Word (Microsoft Officeword processingsoftware), WPS Office (Chinese wordprocessingsoftware), etc., the format of the text is usually limited for uniform writing and beautiful layout according to different text types. For example, in order to make the text paragraph clear and clear at a glance, the first line indentation will be set for the text paragraph. [0003] There are mainly two ways to set the indent effect of the first line of the paragraph of the text by the word processing software in the prior art: [0004] Method 1: Set up segment by segment. If you deal with text with many paragraphs in this way, it will require a very large workload. In order to reduce the operation steps and make the operatio...
Claims
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More
Application Information
Patent Timeline
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.