CN109960783A - A kind of method and system that document freely marks - Google Patents

A kind of method and system that document freely marks Download PDF

Info

Publication number
CN109960783A
CN109960783A CN201910092394.0A CN201910092394A CN109960783A CN 109960783 A CN109960783 A CN 109960783A CN 201910092394 A CN201910092394 A CN 201910092394A CN 109960783 A CN109960783 A CN 109960783A
Authority
CN
China
Prior art keywords
document
layer
mark
freely
content
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.)
Pending
Application number
CN201910092394.0A
Other languages
Chinese (zh)
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.)
Xiamen Science And Technology Ltd Of Xiahua
Original Assignee
Xiamen Science And Technology Ltd Of Xiahua
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 Xiamen Science And Technology Ltd Of Xiahua filed Critical Xiamen Science And Technology Ltd Of Xiahua
Priority to CN201910092394.0A priority Critical patent/CN109960783A/en
Publication of CN109960783A publication Critical patent/CN109960783A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

The invention discloses a kind of method and system that document freely marks, comprising: creation can freely mark document;The document that can freely mark includes the content layer that can mutually switch and mark layer, and the content layer is for editing document content, and the mark layer is for marking document;Editor's document request is received, judges the request type;If the request type is editor's document content, content layer is switched to, carries out documents editing using word document edit mode;If the request type is freely to mark, mark layer is switched to, layer is labeled using drawing tools and draws.The present invention is suitable for that touch-control handwriting equipment can be carried out, and when device's document is carried out Edition Contains and freely marked, simple to operate, user experience is good.

Description

A kind of method and system that document freely marks
Technical field
The present invention relates to handwriting equipment document processing technology field, especially a kind of method and system that document freely marks.
Background technique
Currently text, document are labeled, can only generally be marked by document editing tool using specific figure Note.Corresponding includes the desk-top and laptop of mouse, and under widows system, there is no too very much not for such mode of operation Just property.But the equipment for carrying out documents editing by touch-control handwriting sckeme (such as: meeting plate), cross document editing tool Inconvenience is used using the mode that specific figure is labeled, user experience is bad.
Summary of the invention
It is a primary object of the present invention to propose a kind of method and system that document freely marks, suitable for touch-control can be carried out Handwriting equipment, when device's document is carried out Edition Contains and freely marked, simple to operate, user experience is good.
The present invention adopts the following technical scheme:
On the one hand, a kind of method that document freely marks of the present invention, comprising:
Creation can freely mark document;The document that can freely mark includes the content layer and mark layer that can mutually switch, The content layer is for editing document content, and the mark layer is for marking document;
Editor's document request is received, judges the request type;If the request type is editor's document content, switching To content layer, documents editing is carried out using word document edit mode;If the request type is freely to mark, mark is switched to Layer is infused, layer is labeled using drawing tools and draws.
Preferably, the mark layer is PNG format transparent picture, the corresponding PNG format image of page of document.
Preferably, the method that the content layer switches with the switchable layer includes:
When editing the content layer, the mark layer is shown as the background of display content layer control;When editor's mark layer, Cancel background of the mark layer picture as content layer, is shown on content layer using mark layer as a control.
Preferably, the method that the creation can freely mark document includes:
With word document Structure Creating content layer, addition mark layer file and mark layer picture file mark layer picture Position is recorded using xml document, and after document creation is completed, the file of DOCF suffix is compressed into using zip compress mode.
Preferably, include: in the method for word document Structure Creating content layer
Judge whether document to be processed is word document, if it is not, extended formatting document is converted into word format;Such as Fruit is that word format file suffix is revised as zip;It the use of the file structure that zip mode decompresses acquisition is content layer.
Preferably, the extended formatting document includes Excel, PPT and txt;The extended formatting document changes into word lattice The mode of formula includes being converted using the interface that POI is provided.
Preferably, the method also includes: if the request type be duplication text, use word document reading manner Content layer is replicated, mark layer is not replicated;If the request type is paste text, read using word document Mode is taken to paste content layer.
Preferably, the method also includes: if the request type is duplication text and mark, read using word document Mode is taken to replicate content layer and mark layer;If the request type is paste text and mark, word document is used Reading manner replicates content layer and mark layer.
On the other hand, a kind of system that document freely marks of the present invention, comprising:
Creation can freely mark document module, include that content layer and mark layer can freely mark document, institute for create Content layer is stated for editing document content, the mark layer is for marking document;The content layer and mark layer can mutually switch;
Editor's document request module is received, for judging the request type;If the request type is editor's document Content switches to content layer, carries out documents editing using word document edit mode;If the request type is freely to mark Note, switches to mark layer, is labeled layer using drawing tools and draws.
Preferably, if the request type is duplication, content layer is replicated using word document reading manner, no Mark layer is replicated;If the request type is to paste, content layer is pasted using word document reading manner; If the request type is duplication text and mark, content layer and mark layer are answered using word document reading manner System;If the request type is paste text and mark, content layer and mark layer are carried out using word document reading manner Duplication.
Compared with prior art, beneficial effects of the present invention are as follows:
(1) a kind of method and system that document freely marks of the present invention, can be to the texts such as word, Excel, PPT, txt, text Shelves carry out freely hand-written mark, including establish DOCF document, go forward side by side and compose a piece of writing shelves Edition Contains and carry out hand-written drawing mark, together When, text and drawing can be replicated freely, may be selected only to replicate text or duplication text and mark;
(2) a kind of method and system that document freely marks of the present invention can to the document of the formats such as Excel, PPT, txt It is first converted into word format file, reconvert is edited and marked at DOCF document;
(3) a kind of method and system that document freely marks of the present invention, suitable for the hand-written meeting machine of touch-control, religion can be carried out The smart machines such as machine are educated, support the mainstream operation systems such as Android, Windows, ios;Editor and freedom are carried out to document content What is marked is simple to operate, and user experience is good.
The above description is only an overview of the technical scheme of the present invention, in order to more clearly understand technology hand of the invention Section, so as to be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the invention It can be more clearly understood, be exemplified below a specific embodiment of the invention.
According to the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will be brighter Above-mentioned and other purposes of the invention, advantages and features.
Detailed description of the invention
Fig. 1 is a kind of flow chart for the method that document freely marks of the present invention;
Fig. 2 is the file structure figure of the DOCF document of the embodiment of the present invention;
Fig. 3 is the embodiment of the present invention to the file structure obtained after word document decompression;
Fig. 4 is the file structure that the DOCF document of the embodiment of the present invention includes;
Fig. 5 is documents editing, mark, duplication and the sticking structure schematic diagram of the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram for the system that document freely marks of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Referring to figs. 1 to 5, a kind of method that document freely marks of the present invention, comprising:
S101, creation can freely mark document;The document that can freely mark includes the content layer and mark that can mutually switch Layer is infused, the content layer is for editing document content, and the mark layer is for marking document;
S102 receives editor's document request, judges the request type;If the request type is in editor's document Hold, switch to content layer, carries out documents editing using word document edit mode;If the request type is freely to mark, Mark layer is switched to, layer is labeled using drawing tools and draws.
Specifically, the mark layer is PNG format transparent picture, the corresponding PNG format image of page of document.
When document creation, content layer is used as mark layer with word document Structure Creating, the another annotation file that adds, Mark layer Pictures location is recorded using xml document, after document creation is completed, after compressing DOCF using zip compress mode The file sewed.
The method that the creation can freely mark document includes:
With word document Structure Creating content layer, addition mark layer file and mark layer picture file mark layer picture Position is recorded using xml document, and after document creation is completed, the file of DOCF suffix is compressed into using zip compress mode.
Ginseng see figures 3 and 4 shown in, with the content layer of word document Structure Creating include _ rels, customXml, DocProps, word and [Content_Types] .xml file;Annotation file is added on this basis.
Further, include: in the method for word document Structure Creating content layer
Judge whether document to be processed is word document, if it is not, extended formatting document is converted into word format;Such as Fruit is that word format file suffix is revised as zip;It the use of the file structure that zip mode decompresses acquisition is content layer.
The extended formatting document includes Excel, PPT and txt;The extended formatting document changes into the mode of word format Interface including using POI to provide is converted.POI is the open source projects of Apache Software Foundation.
Specifically, it is described can freely mark document creation it is good after, can by clicking above-mentioned DOCF file to open file, from And carry out document content editor or document marking.
In the present embodiment, the method that the content layer switches with the switchable layer includes:
When editing the content layer, the mark layer is shown as the background of display content layer control;When editor's mark layer, Cancel background of the mark layer picture as content layer, is shown on content layer using mark layer as a control.
Further, the method also includes: if the request type be duplication text, use word document reading side Formula replicates content layer, does not replicate to mark layer;If the request type is paste text, word document is used Reading manner pastes content layer.
Preferably, the method also includes: if the request type is duplication text and mark, read using word document Mode is taken to replicate content layer and mark layer;If the request type is paste text and mark, word document is used Reading manner replicates content layer and mark layer.
It is shown in Figure 6, on the other hand, a kind of system that document freely marks of the present invention, comprising:
Creation can freely mark document module 601, include that content layer and mark layer can freely mark document for create, The content layer is for editing document content, and the mark layer is for marking document;The content layer and mark layer can mutually be cut It changes;
Editor's document request module 602 is received, for judging the request type;If the request type is editor's text Shelves content, switches to content layer, carries out documents editing using word document edit mode;If the request type is freely to mark Note, switches to mark layer, is labeled layer using drawing tools and draws.
Further, if the request type is duplication, content layer is replicated using word document reading manner, Mark layer is not replicated;If the request type is to paste, content layer is glued using word document reading manner Patch;If the request type is duplication text and mark, content layer and mark layer are carried out using word document reading manner Duplication;If the request type be paste text and mark, using word document reading manner to content layer and mark layer into Row duplication.
The above is only a specific embodiment of the present invention, but the design concept of the present invention is not limited to this, all to utilize this Design makes a non-material change to the present invention, and should all belong to behavior that violates the scope of protection of the present invention.

Claims (10)

1. a kind of method that document freely marks characterized by comprising
Creation can freely mark document;The document that can freely mark includes the content layer that can mutually switch and marks layer, described Content layer is for editing document content, and the mark layer is for marking document;
Editor's document request is received, judges the request type;If the request type is editor's document content, switch to interior Hold layer, carries out documents editing using word document edit mode;If the request type is freely to mark, mark is switched to Layer is labeled layer using drawing tools and draws.
2. the method that document according to claim 1 freely marks, which is characterized in that the mark layer is that PNG format is saturating Bright picture, the corresponding PNG format image of page of document.
3. the method that document according to claim 1 freely marks, which is characterized in that the content layer and the switchable layer The method of switching includes:
When editing the content layer, the mark layer is shown as the background of display content layer control;When editor's mark layer, cancel Background of the layer picture as content layer is marked, is shown on content layer using mark layer as a control.
4. the method that document according to claim 1 freely marks, which is characterized in that the creation can freely mark document Method include:
With word document Structure Creating content layer, addition mark layer file and mark layer picture file mark layer Pictures location It is recorded using xml document, after document creation is completed, the file of DOCF suffix is compressed into using zip compress mode.
5. the method that document according to claim 4 freely marks, which is characterized in that with word document Structure Creating content Layer method include:
Judge whether document to be processed is word document, if it is not, extended formatting document is converted into word format;If It is that word format file suffix is revised as zip;It the use of the file structure that zip mode decompresses acquisition is content layer.
6. the method that document according to claim 4 freely marks, which is characterized in that the extended formatting document includes Excel, PPT and txt;The mode that the extended formatting document changes into word format includes being turned using the interface that POI is provided It changes.
7. the method that document according to claim 1 freely marks, which is characterized in that the method also includes: if institute Request type is stated as duplication text, content layer is replicated using word document reading manner, mark layer is not replicated; If the request type is paste text, content layer is pasted using word document reading manner.
8. the method that document according to claim 1 freely marks, which is characterized in that the method also includes: if institute Request type is stated as duplication text and mark, content layer and mark layer are replicated using word document reading manner;If The request type is paste text and mark, is replicated using word document reading manner to content layer and mark layer.
9. a kind of system that document freely marks characterized by comprising
Creation can freely mark document module, described interior for creating including content layer and marking the document that can freely mark of layer Hold layer for editing document content, the mark layer is for marking document;The content layer and mark layer can mutually switch;
Editor's document request module is received, for judging the request type;If the request type is editor's document content, Content layer is switched to, carries out documents editing using word document edit mode;If the request type is freely to mark, switch To mark layer, layer is labeled using drawing tools and is drawn.
10. the system that document according to claim 9 freely marks, which is characterized in that if the request type is multiple System, replicates content layer using word document reading manner, does not replicate to mark layer;If the request type is It pastes, content layer is pasted using word document reading manner;If the request type is duplication text and mark, make Content layer and mark layer are replicated with word document reading manner;If the request type be paste text and mark, Content layer and mark layer are replicated using word document reading manner.
CN201910092394.0A 2019-01-30 2019-01-30 A kind of method and system that document freely marks Pending CN109960783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910092394.0A CN109960783A (en) 2019-01-30 2019-01-30 A kind of method and system that document freely marks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910092394.0A CN109960783A (en) 2019-01-30 2019-01-30 A kind of method and system that document freely marks

Publications (1)

Publication Number Publication Date
CN109960783A true CN109960783A (en) 2019-07-02

Family

ID=67023510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910092394.0A Pending CN109960783A (en) 2019-01-30 2019-01-30 A kind of method and system that document freely marks

Country Status (1)

Country Link
CN (1) CN109960783A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289452A1 (en) * 2004-06-24 2005-12-29 Avaya Technology Corp. Architecture for ink annotations on web documents
CN101031911A (en) * 2004-11-12 2007-09-05 佳思腾软件公司 Document processing device, and document processing method
CN101401098A (en) * 2006-01-30 2009-04-01 法斯特凯特有限公司 A portable dataport device and method for retrieving, inter-relating, annotating and managing electronic documents at a point of need
CN102722476A (en) * 2011-03-30 2012-10-10 汉王科技股份有限公司 A method and device for marking electronic documents
CN102902662A (en) * 2012-10-10 2013-01-30 福州锐达数码科技有限公司 Method for inserting object in interactive electronic white board software into Word page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289452A1 (en) * 2004-06-24 2005-12-29 Avaya Technology Corp. Architecture for ink annotations on web documents
CN101031911A (en) * 2004-11-12 2007-09-05 佳思腾软件公司 Document processing device, and document processing method
CN101401098A (en) * 2006-01-30 2009-04-01 法斯特凯特有限公司 A portable dataport device and method for retrieving, inter-relating, annotating and managing electronic documents at a point of need
CN102722476A (en) * 2011-03-30 2012-10-10 汉王科技股份有限公司 A method and device for marking electronic documents
CN102902662A (en) * 2012-10-10 2013-01-30 福州锐达数码科技有限公司 Method for inserting object in interactive electronic white board software into Word page

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李俊华: "XMPP环境下的网络交互式电子白板研究与开发", 《闽江学院学报》 *

Similar Documents

Publication Publication Date Title
CN108369578B (en) Automatic template generation method and system based on previous document and computer readable storage device
US20120159318A1 (en) Full screen view reading and editing user interface
KR20150087405A (en) Providing note based annotation of content in e-reader
WO2004084091A3 (en) Markup language cut-and-paste
CN106776514A (en) A kind of annotation method and device
US20130191732A1 (en) Fixed Format Document Conversion Engine
TW201447731A (en) Ink to text representation conversion
EP3008622A2 (en) Interaction of web content with an electronic application document
CN102760300B (en) A kind of PDF document editing machine and PDF document edit methods
US9703759B2 (en) Footnote zone detection in a fixed format document using number of paragraphs in footnote description
MX2014008560A (en) Formula detection engine.
US11237848B2 (en) View playback to enhance collaboration and comments
WO2006075667A8 (en) Information processing device, file data merging method, file naming method, and file data output method
US20160196251A1 (en) Method and apparatus for annotating an electronic document
CN103176958B (en) A kind of mobile terminal replicates the method for operating pasted
CN106066757A (en) A kind of method and system of mobile terminal APP picture and text mixing
US20140258852A1 (en) Detection and Reconstruction of Right-to-Left Text Direction, Ligatures and Diacritics in a Fixed Format Document
WO2014012565A1 (en) Color coding of layout structure elements in a flow format document
CN105138502B (en) A method of identification duplication object simultaneously collects data
CN101025743A (en) Electronic file, and its editing and reading display method
CN104516919A (en) Quoting annotation processing method and system
WO2014163982A2 (en) Table of contents detection in a fixed format document
CN105068983A (en) Rapid input method suitable for batch data acquisition on construction site and control
CN103440193B (en) A kind of fast recording chooses the method for information
CN109960783A (en) A kind of method and system that document freely marks

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190702

RJ01 Rejection of invention patent application after publication