CN106484413B - Document editor and document edit method - Google Patents

Document editor and document edit method Download PDF

Info

Publication number
CN106484413B
CN106484413B CN201610873709.1A CN201610873709A CN106484413B CN 106484413 B CN106484413 B CN 106484413B CN 201610873709 A CN201610873709 A CN 201610873709A CN 106484413 B CN106484413 B CN 106484413B
Authority
CN
China
Prior art keywords
editor
document
editing interface
documents editing
region
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
CN201610873709.1A
Other languages
Chinese (zh)
Other versions
CN106484413A (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.)
Shenzhen Huaao Data Technology Co Ltd
Original Assignee
Shenzhen Huaao Data 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 Shenzhen Huaao Data Technology Co Ltd filed Critical Shenzhen Huaao Data Technology Co Ltd
Priority to CN201610873709.1A priority Critical patent/CN106484413B/en
Publication of CN106484413A publication Critical patent/CN106484413A/en
Application granted granted Critical
Publication of CN106484413B publication Critical patent/CN106484413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of document editor and document edit method, methods are as follows: obtains documents editing interface, document content information is shown in documents editing interface;Documents editing interface is carried out to the division of element, generate multiple element regions, the corresponding element edit box in each element region, pass through Minimum Area in the corresponding documents editing interface of identification mouse click location, Minimum Area is abstracted into corresponding element region, obtains the corresponding element region of Minimum Area;The corresponding element edit box for showing the corresponding element region of Minimum Area, realizes the editor to document content information.Document editor and document edit method in the present invention, change using based on mouse position, the corresponding Minimum Area in documents editing region of identification, Minimum Area is abstracted into the form of element, the editor to document is realized by the corresponding element edit box of element, and the edit mode is simple, and the document styles editted are vividly enriched, it operates simple, fast.

Description

Document editor and document edit method
Technical field
The present invention relates to Information Technology Agreement technical field more particularly to document editors and document edit method.
Background technique
Document editor is one of computer software.It is mainly used for making document for writing and viewing text file The form of expression of content is more lively.There are some special document editors to support to increase performance of the own format to enrich document Form.Operating system or Integrated Development Environment can increase lattice usually with the editing machine that can check and edit plain text The document editor of formula is usually that personal user or company use in the file that production needs format.Because of program and program Configuration file be usually stored with plain text, so programmer be also required to come using pure document editor editing procedure and Configuration file.
Some text editors are short and pithy, and also some text editors provide abundant, complicated function.For example, Unix and class Unix operating system both provide vi editing machine (or its mutation), but also have the offer of part operation system Emacs editing machine.Some text editors include special computer language can be to this progress using this language It customizes (programmable editing machine).For example, Emacs can be customized with Lisp program.Using this means, user usually can The combination of the shortcut key of certain editing machine and some other simulated behaviors at the appearance of another editing machine.But by upper The editor that method carries out document is stated, requires to grasp some basic documents editing functions, different document editors pair in advance The page function of answering is different, therefore user wants to edit out beautiful document, is shown on the page, needs to spend time and efforts The basic interface editting function for solving document editor used, is just able to achieve the editor of document.
Therefore the defect of the prior art is: existing documents editing needs user to understand the volume of every part in documents editing Function is collected, realizes the editor of document, editing process is complicated, and user experience degree is low.
Summary of the invention
In view of the above technical problems, the present invention provides a kind of document editor and document edit method, using being based on mouse Minimum Area, is abstracted into the form of element, passes through element by change in location, the corresponding Minimum Area in documents editing region of identification Corresponding element edit box realizes the editor to document, and the edit mode is simple, the document styles editted are vividly enriched, behaviour Make to get up simple, fast.
In order to solve the above technical problems, present invention provide the technical scheme that
In a first aspect, the present invention provides a kind of document edit method, comprising:
The present invention provides a kind of document edit method, comprising:
Step S1 obtains documents editing interface, document content information is shown in documents editing interface;
Documents editing interface is carried out the division of element by step S2, generates multiple element regions, and each element region is corresponding One element edit box, the element edit box include that the size of the frame editor of element, the animation editor of element and element are compiled Volume;
Step S3, by Minimum Area in the corresponding documents editing interface of identification mouse click location, by described in most Zonule is abstracted into corresponding element region, obtains the corresponding element region of the Minimum Area;
Step S4, according to the corresponding element region of the Minimum Area, the corresponding element editor for showing the element region Frame realizes the editor to the document content information.
The technical solution of document edit method of the present invention are as follows: first obtain documents editing interface, document content information is shown In documents editing interface;Then, the division that documents editing interface is carried out to element, generates multiple element regions, each element Region corresponds to an element edit box, and the element edit box includes the frame editor of element, the animation editor of element and element Size editor;
Then, by Minimum Area in the corresponding documents editing interface of identification mouse click location, by the minimum Region is abstracted into corresponding element region, obtains the corresponding element region of the Minimum Area;Finally, according to the Minimum Area Corresponding element region, the corresponding element edit box for showing the element region, realizes the editor to the document content information.
A kind of document edit method of the present invention, is changed using based on mouse position, and identification is corresponding in documents editing region Minimum Area is abstracted into the form of element by Minimum Area, realizes the volume to document by the corresponding element edit box of element Volume, the edit mode is simple, and the document styles editted are vividly enriched, and operates simple, fast.
Further, multiple element regions in the documents editing interface are nested structure.
Each element region is shown in documents editing interface in nested form, is shown element in this way, can be made to have edited At document also show that a document is segmented into multiple elements and is edited in nested form, make the editor of final document Effect is more preferable.
Further, the frame editor of the element includes color editor, line style editor and width editor.Each want The corresponding frame of element, for the editor of frame, editor and frame including editor, frame line style to border color are wide The editor of degree can carry out customized editor according to actual needs, meet the needs of different user.
Further, the animation editor of the element includes animation transformation editor and transition effect editor.It can also realize To the animation editor of document content, content is filled in element region, by the animation editor of element can to document content into Take action picture transformation editor, specially simple animation transformation, such as size conversion, flip-flop color change effect etc.;It can also carry out Cross the editor of effect, specially the animation effect that enters of document, such as: ascending appearance animation effect shows, can be with Show document more lively.
Further, the size editor of the element includes that the spacing size between element size editor itself and each element is compiled Volume.Each element can edit the size of the edit box where each element itself, mainly in documents editing interface display It is the size according to how much change elements of specific document content itself;In addition the size between each element is also adjustable, class Like the typesetting realized for overall page, keep the typesetting of final each element and its document content more reasonable, it is more attractive.
Further, the element edit box is shown in the documents editing interface by way of context menu.Mouse Mark clicks the region at documents editing interface, will correspond to display context menu, context menu is moved with the movement of mouse It is dynamic, in context menu it is corresponding be element edit box each editting function, it is clear by way of context menu Show which editor can be carried out to current region, intuitively guide user's operation, keep user's operation simpler, it is convenient.
Second aspect, the present invention provide a kind of document editor, comprising:
Edit page obtains module and shows document content information in documents editing circle for obtaining documents editing interface In face;
Element division module generates multiple element regions, Mei Geyao for documents editing interface to be carried out to the division of element The corresponding element edit box in plain region, the element edit box include the frame editor of element, element animation editor and want The size editor of element;
Minimum Area identification module, for by minimum in the corresponding documents editing interface of identification mouse click location The Minimum Area is abstracted into corresponding element region by region, obtains the corresponding element region of the Minimum Area;
Document content editor module, for according to the corresponding element region of the Minimum Area, the corresponding display element The element edit box in region realizes the editor to the document content information.
A kind of technical solution of document editor of the present invention are as follows: first pass through edit page and obtain module, obtain documents editing Interface shows document content information in documents editing interface;Then by element division module, by documents editing interface into The division of row element generates multiple element regions, the corresponding element edit box in each element region, the element edit box packet Include the size editor of the frame editor of element, the animation editor of element and element;
Then by Minimum Area identification module, by the corresponding documents editing interface of identification mouse click location The Minimum Area is abstracted into corresponding element region by Minimum Area, obtains the corresponding element region of the Minimum Area;Most Afterwards by document content editor module, according to the corresponding element region of the Minimum Area, the corresponding display element region Element edit box realizes the editor to the document content information.
A kind of document editor of the present invention, is changed using based on mouse position, identification it is corresponding documents editing region most Minimum Area is abstracted into the form of element by zonule, realizes the editor to document by the corresponding element edit box of element, The edit mode is simple, and the document styles editted are vividly enriched, and operates simple, fast.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described.
Fig. 1 shows a kind of flow chart of document edit method provided by first embodiment of the invention;
Fig. 2 shows a kind of schematic diagrames of document editor provided by second embodiment of the invention.
Specific embodiment
It is described in detail below in conjunction with embodiment of the attached drawing to technical solution of the present invention.Following embodiment is only used for Clearly illustrate technical solution of the present invention, therefore be intended only as example, and cannot be used as a limitation and limit protection of the invention Range.
Embodiment one
Fig. 1 shows a kind of flow chart of document edit method provided by first embodiment of the invention;As shown in Figure 1, A kind of document edit method that embodiment one provides, comprising:
Step S1 obtains documents editing interface, document content information is shown in documents editing interface;
Documents editing interface is carried out the division of element by step S2, generates multiple element regions, and each element region is corresponding One element edit box, element edit box include the size editor of the frame editor of element, the animation editor of element and element;
Step S3 is taken out Minimum Area by Minimum Area in the corresponding documents editing interface of identification mouse click location As obtaining the corresponding element region of Minimum Area at corresponding element region;
Step S4, according to the corresponding element region of Minimum Area, the element edit box in corresponding display element region, realization pair The editor of document content information.
The technical solution of document edit method of the present invention are as follows: first obtain documents editing interface, document content information is shown In documents editing interface;Then, the division that documents editing interface is carried out to element, generates multiple element regions, each element Region corresponds to an element edit box, and element edit box includes the big of the frame editor of element, the animation editor of element and element Small editor;
Then, by Minimum Area in the corresponding documents editing interface of identification mouse click location, Minimum Area is abstracted At corresponding element region, the corresponding element region of Minimum Area is obtained;Finally, according to the corresponding element region of Minimum Area, The element edit box in corresponding display element region, realizes the editor to document content information.
A kind of document edit method of the present invention, is changed using based on mouse position, and identification is corresponding in documents editing region Minimum Area is abstracted into the form of element by Minimum Area, realizes the volume to document by the corresponding element edit box of element Volume, the edit mode is simple, and the document styles editted are vividly enriched, and operates simple, fast.
Specifically, the documents editing page is described with data in the present invention.
Preferably, multiple element regions in documents editing interface are nested structure.
Each element region is shown in documents editing interface in nested form, is shown element in this way, can be made to have edited At document also show that a document is segmented into multiple elements and is edited in nested form, make the editor of final document Effect is more preferable.
Preferably, the frame editor of element includes color editor, line style editor and width editor.Each element is corresponding One frame, for the editor of frame, including editor, the editor of frame line style and the volume of border width to border color Volume, customized editor can be carried out according to actual needs, meet the needs of different user.
Specifically, line style includes the thickness of lines and is particularly shown mode, such as: dashed lines, realization lines etc., Color includes the editor to text or lines;Width includes referring to line thickness;
Preferably, the animation editor of element includes animation transformation editor and transition effect editor.It can also realize to document The animation editor of content, content fill in element region, can carry out animation to document content by the animation editor of element Transformation editor, specially simple animation transformation, such as size conversion, flip-flop color change effect etc.;It can also carry out transition effect Editor, specially document enter animation effect, such as: ascending appearance animation effect is shown, can make document It shows more lively.
Preferably, the size editor of element includes the spacing size editor between element size editor itself and each element.Respectively Element can edit the size of the edit box where each element itself, mainly root in documents editing interface display The size of how much change elements according to specific document content itself;In addition the size between each element is also adjustable, similar real Referring now to the typesetting of overall page, keep the typesetting of final each element and its document content more reasonable, it is more attractive.
Preferably, element edit box is shown in documents editing interface by way of context menu.Mouse clicks text The region of shelves editing interface, will correspond to display context menu, context menu moves, context dish with the movement of mouse In list it is corresponding be element edit box each editting function, by way of context menu, clear showing can Which editor carried out to current region, user's operation is intuitively guided, keeps user's operation simpler, it is convenient.
User only needs to pass through the corresponding minimum of identification mouse click location by mouse mobile on documents editing interface Region shows corresponding context menu, carries out customized documents editing, the present invention is by documents editing interface abstraction at each Element region, and each element region nesting is shown in documents editing interface, then to the corresponding Minimum Area in element region into Edlin, the final editor for realizing document, user are not required to the interface function it is to be understood that complicated, and all basic edit functions all include In element edit box, only need to click editing interface can be realized documents editing, easy to operate.
Embodiment two
Second aspect, Fig. 2 shows a kind of schematic diagrames of document editor provided by second embodiment of the invention.Such as figure Shown in 2, a kind of document editor 10 of the offer of embodiment two, comprising:
Edit page obtains module 101 and shows document content information in documents editing for obtaining documents editing interface In interface;
Element division module 102 generates multiple element regions, often for documents editing interface to be carried out to the division of element The corresponding element edit box in a element region, element edit box include the frame editor of element, element animation editor and want The size editor of element;
Minimum Area identification module 103, for by minimum in the corresponding documents editing interface of identification mouse click location Minimum Area is abstracted into corresponding element region by region, obtains the corresponding element region of Minimum Area;
Document content editor module 104, for corresponding to display element region according to the corresponding element region of Minimum Area Element edit box realizes the editor to document content information.
A kind of technical solution of document editor 10 of the present invention are as follows: first pass through edit page and obtain module 101, obtain document Editing interface shows document content information in documents editing interface;Then by element division module 102, document is compiled Editing interface carries out the division of element, generates multiple element regions, the corresponding element edit box in each element region, element editor Frame includes the size editor of the frame editor of element, the animation editor of element and element;
Then by Minimum Area identification module 103, by the corresponding documents editing interface of identification mouse click location Minimum Area is abstracted into corresponding element region by Minimum Area, obtains the corresponding element region of Minimum Area;Finally by text Shelves Edition Contains module 104, according to the corresponding element region of Minimum Area, the element edit box in corresponding display element region is real Now to the editor of document content information.
A kind of document editor 10 of the present invention, is changed using based on mouse position, and identification is corresponding in documents editing region Minimum Area is abstracted into the form of element by Minimum Area, realizes the volume to document by the corresponding element edit box of element Volume, the edit mode is simple, and the document styles editted are vividly enriched, and operates simple, fast.
Embodiment three
Based on the document editor in the document edit method and embodiment two in the embodiment of the present invention one, can be applied to The editor of talent introduction document, the policy informations of some government departments can through the invention in document edit method and document compile It collects device to be edited, uploads on corresponding platform and be shown, people is attracted to consult;It is also possible to some documents will be edited, Be pushed to the matched talent of policy, provide more richer informative presentations for the talent.
It is vivider lively by the document edit method and the edited policy information of document editor 10 in the present invention Policy information is shown.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme should all cover within the scope of the claims and the description of the invention.

Claims (7)

1. document edit method characterized by comprising
Step S1 obtains documents editing interface, document content information is shown in documents editing interface;
Documents editing interface is carried out the division of element by step S2, generates multiple element regions, and each element region is one corresponding Element edit box, the element edit box include the size editor of the frame editor of element, the animation editor of element and element;
Step S3, by Minimum Area in the corresponding documents editing interface of identification mouse click location, by the smallest region Domain is abstracted into corresponding element region, obtains the corresponding element region of the Minimum Area;
Step S4, according to the corresponding element region of the Minimum Area, the corresponding element edit box for showing the element region is real Now to the editor of the document content information.
2. document edit method according to claim 1, which is characterized in that
Multiple element regions in the documents editing interface are nested structure.
3. document edit method according to claim 1, which is characterized in that
The frame editor of the element includes color editor, line style editor and width editor.
4. document edit method according to claim 1, which is characterized in that
The animation editor of the element includes animation transformation editor and transition effect editor.
5. document edit method according to claim 1, which is characterized in that
The size editor of the element includes the spacing size editor between element size editor itself and each element.
6. document edit method according to claim 1, which is characterized in that
The element edit box is shown in the documents editing interface by way of context menu.
7. document editor characterized by comprising
Edit page obtains module and shows document content information in documents editing interface for obtaining documents editing interface;
Element division module generates multiple element regions, each element area for documents editing interface to be carried out to the division of element Domain corresponds to an element edit box, and the element edit box includes the frame editor of element, the animation editor of element and element Size editor;
Minimum Area identification module, for passing through smallest region in the corresponding documents editing interface of identification mouse click location The Minimum Area is abstracted into corresponding element region by domain, obtains the corresponding element region of the Minimum Area;
Document content editor module, for according to the corresponding element region of the Minimum Area, the corresponding display element region Element edit box, realize to the editor of the document content information.
CN201610873709.1A 2016-09-30 2016-09-30 Document editor and document edit method Active CN106484413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610873709.1A CN106484413B (en) 2016-09-30 2016-09-30 Document editor and document edit method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610873709.1A CN106484413B (en) 2016-09-30 2016-09-30 Document editor and document edit method

Publications (2)

Publication Number Publication Date
CN106484413A CN106484413A (en) 2017-03-08
CN106484413B true CN106484413B (en) 2019-09-20

Family

ID=58268386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610873709.1A Active CN106484413B (en) 2016-09-30 2016-09-30 Document editor and document edit method

Country Status (1)

Country Link
CN (1) CN106484413B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532521A (en) * 2018-05-23 2019-12-03 北京金山办公软件股份有限公司 A kind of implementation method that document format is applied, device and electronic equipment
CN109445657B (en) * 2018-10-17 2021-04-16 天津字节跳动科技有限公司 Document editing method and device
CN114330253B (en) * 2021-12-30 2022-10-04 广州文石信息科技有限公司 Document editing method, device and equipment and readable storage medium
CN117252160B (en) * 2023-09-22 2024-07-02 湖南长银五八消费金融股份有限公司 Document editing method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1495609A (en) * 2002-06-06 2004-05-12 Providing contextual sensing tool and helping content in computer generated document
CN1825303A (en) * 2005-01-24 2006-08-30 国际商业机器公司 Method for editing markup language files and data processing system
CN1838110A (en) * 2005-03-25 2006-09-27 富士施乐株式会社 Document editing method, document editing device
CN104111823A (en) * 2013-04-19 2014-10-22 北大方正集团有限公司 Online interactive block type editing method and editor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01173131A (en) * 1987-12-28 1989-07-07 Toshiba Corp Structure editor
TW507139B (en) * 1998-05-21 2002-10-21 Inventec Corp Fast editing and selecting method for multi-media object attributes and the devices thereof
CN104252309B (en) * 2013-06-29 2017-08-04 北京新媒传信科技有限公司 A kind of method and system for realizing intelligent terminal Chinese version editor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1495609A (en) * 2002-06-06 2004-05-12 Providing contextual sensing tool and helping content in computer generated document
CN1825303A (en) * 2005-01-24 2006-08-30 国际商业机器公司 Method for editing markup language files and data processing system
CN1838110A (en) * 2005-03-25 2006-09-27 富士施乐株式会社 Document editing method, document editing device
CN104111823A (en) * 2013-04-19 2014-10-22 北大方正集团有限公司 Online interactive block type editing method and editor

Also Published As

Publication number Publication date
CN106484413A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106484413B (en) Document editor and document edit method
CN108984172B (en) Interface file generation method and device
CN104317563B (en) A kind of online courseware collaborative development system
US11216253B2 (en) Application prototyping tool
CN103748577B (en) The method of the progressive presentation of document markup, equipment and system
CN109634603B (en) Method and device for making H5 page based on Canvas
US20100037168A1 (en) Systems and methods for webpage design
CN102591659A (en) Implementation method for widget on main interface of mobile terminal and management method for widget
CN111625226B (en) Prototype-based man-machine interaction design implementation method and system
CN103425485A (en) Interface edition and operation system and method for ordinary users
CN110321183B (en) Configuration system and method for UI (user interface) of public component
CN103414750B (en) The method of the client application of Web visual edit ANDROID
CN103279559A (en) Rich text editing method and device based on Android system
Schuler et al. Designing user interfaces for hypermedia
CN105843618A (en) Desktop system with custom theme edition function
CN115129212A (en) Video editing method, video editing device, computer equipment, storage medium and product
CN114780077A (en) Webpage visual editing device and method
Fischer et al. Brassau: automatic generation of graphical user interfaces for virtual assistants
KR101519381B1 (en) Apparatus and method for making web application using html5
CN103414749B (en) The method of the client application of Web visual edit iOS
Spritzer et al. Towards a smooth design process for static communicative node‐link diagrams
CN101303663A (en) Simulation test method for digital set-top box software development
Roth Using Microsoft Visio 2010
KR102067661B1 (en) Widget authoring system and method thereof
CN107817977A (en) The method of online courseware development edit object split screen layout based on Web

Legal Events

Date Code Title Description
C06 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
CP02 Change in the address of a patent holder

Address after: 518000 2203/2204, Building 1, Huide Building, Beizhan Community, Minzhi Street, Longhua District, Shenzhen, Guangdong

Patentee after: SHENZHEN AUDAQUE DATA TECHNOLOGY Ltd.

Address before: 518000 units J and K, 12 / F, block B, building 7, Baoneng Science Park, Qinghu Industrial Zone, Qingxiang Road, Longhua New District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN AUDAQUE DATA TECHNOLOGY Ltd.

CP02 Change in the address of a patent holder