CN106227713A - Document processing method and device - Google Patents

Document processing method and device Download PDF

Info

Publication number
CN106227713A
CN106227713A CN201610795938.6A CN201610795938A CN106227713A CN 106227713 A CN106227713 A CN 106227713A CN 201610795938 A CN201610795938 A CN 201610795938A CN 106227713 A CN106227713 A CN 106227713A
Authority
CN
China
Prior art keywords
attribute information
attribute
document
property
property value
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.)
Granted
Application number
CN201610795938.6A
Other languages
Chinese (zh)
Other versions
CN106227713B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201610795938.6A priority Critical patent/CN106227713B/en
Publication of CN106227713A publication Critical patent/CN106227713A/en
Priority to PCT/CN2016/113398 priority patent/WO2018040439A1/en
Application granted granted Critical
Publication of CN106227713B publication Critical patent/CN106227713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a method and a device for processing a document, which comprise the following steps: acquiring a display request of a document; analyzing first attribute information of elements in the document according to the display request; and if the first attribute information is not obtained through analysis, determining the display mode of the element according to second attribute information of the element in the first application program, wherein the second attribute information is attribute definition information corresponding to the element to which the first attribute information belongs in the first application program. The embodiment of the invention aims at the condition that the first attribute information of the element in the document is not obtained by analysis, and determines the display mode of the element according to the second attribute information of the element in the first application program, wherein the second attribute information is the attribute definition information of the element, so that the element in the document can be displayed to the greatest extent when the document cannot be completely analyzed, and the document use compatibility is improved.

Description

The processing method and processing device of document
Technical field
The present embodiments relate to Computer Applied Technology field, particularly relate to processing method and the dress of a kind of document Put.
Background technology
Electronic document refers to the file being stored in computer with data mode, below electronic document is referred to as document.Literary composition Shelves include some elements, such as picture, audio frequency, video etc., and element includes some attributes, as a example by picture, can include As properties: figure film source and picture transparency etc..Generally, software (application program) is when operating document, and it is right to need Each attribute of an element in document resolves, and then, the element after resolving is performed corresponding feature operation.Work as software reinstallation Or the when of software upgrading, it is possible to attribute can be caused to resolve unsuccessfully, and then cause element to show, also cannot perform again Corresponding feature operation.
Summary of the invention
In view of this, the present invention proposes the processing method and processing device of a kind of document, improves the compatibility that document uses.
In first aspect, embodiments provide the processing method of a kind of document, including: the displaying obtaining document please Ask;According to the first attribute information of element in document described in described displaying request analysis;Described first genus is not obtained if resolved Property information, then determine the exhibition method of described element according to the second attribute information of element described in the first application program, wherein, Described second attribute information is the attribute definition letter that described in described first application program, element belonging to the first attribute information is corresponding Breath.
In second aspect, embodiments provide the processing means of a kind of document, including: acquisition request unit, use In the displaying request obtaining document;Resolution unit, is connected with described acquisition request unit, for according to described displaying request analysis First attribute information of element in described document;Display unit, is connected with described resolution unit, if not obtaining institute for resolving State the first attribute information, then determine the displaying side of described element according to the second attribute information of element described in the first application program Formula, wherein, described second attribute information is the genus that described in described first application program, element belonging to the first attribute information is corresponding Property definition information.
In prior art, if resolving the first attribute information not obtaining element in document, then when showing document, corresponding Element will show miscue symbol, such as " error " printed words etc..Use the technical scheme of the embodiment of the present invention, if do not solved Analysis obtains the first attribute information of element in document, then according to the second genus of element in the first application program for showing document Property information determines the exhibition method of element, and the second attribute information is described attribute of an element definition information, so, cannot be complete When resolving document, also can farthest show the element in document, improve the compatibility that document uses.
Accompanying drawing explanation
Fig. 1 is the flow chart of the processing method of the document that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the processing method of the document that the embodiment of the present invention two provides;
Fig. 3 is the structural representation of the processing means of the document that the embodiment of the present invention four provides.
Detailed description of the invention
The present invention is described in further detail with embodiment below in conjunction with the accompanying drawings.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.Also, it should be noted for the ease of retouching State, accompanying drawing illustrate only part related to the present invention rather than full content.It also should be noted that, for the ease of saying Bright, following example show example related to the present invention, these examples are only used as illustrating the principle of the embodiment of the present invention Used, it is not intended as the restriction to the embodiment of the present invention, meanwhile, the concrete numerical value of these examples can be according to different applied environments Different with the parameter of device or assembly and different.
The processing method and processing device of the document that the embodiment of the present invention provides is applied in client computing devices.Document is by respectively Class application program generate, editor, application program include but be not limited to Microsoft Office (Microsoft exploitation based on Windows operating system office software suit), Adobe Acrobat (be a portable literary composition developed by Adobe company Shelves form ((Portable Document Format, PDF) software for editing) etc., described client computing devices could be for Run the PC of documents editing class application, it is also possible to be the mobile terminal for running the application of documents editing class.Wherein, institute State mobile terminal and include panel computer, personal digital assistant and smart mobile phone.
Embodiment one
Fig. 1 is the flow chart of the processing method of the document that the embodiment of the present invention one provides, and the present embodiment is applicable to use A kind of software is opened by the situation of the document of another software development, it is possible to be applicable for use with the software of a kind of version open by The situation of the document that other versions of same software make, the method can be performed by the processing means of document, and this device can To be realized by software and/or hardware mode, this device can be integrated in any equipment opening document, such as, be typically Subscriber terminal equipment, such as mobile phone, computer etc..Wherein, the type of the first application program and the second application program is different, and/or, The version number of the first application program and the second application program is different.Document can be raw by the second application program being arranged on this locality Become, it is also possible to be to be downloaded or share to this locality by after the second application program generation, and then by first application rollouts this article Shelves.
The method includes: step S110, step S120 and step S130.
Step S110, the displaying request of acquisition document.
The extension name of document files can include but not limited to: txt, and the document of this extension name can be soft by word processing Part or editing machine are opened;Doc, the word processor application that the document of this extension name can be developed by Microsoft Microsoft Office Word opens, or is opened by the office software WPS of Kingsoft software limited company research and development Deng;Hlp, the document of this extension name can be opened by the application program adobe acrobat reader that Adobe company develops; Wps, the document of this extension name can be opened by the office software WPS of Kingsoft software limited company research and development;Rtf, this expansion The document of exhibition name can be opened by the word processor application Microsoft Office Word that Microsoft develops, Or opened etc. by the office software WPS of Kingsoft software limited company research and development;Html, the document of this extension name is permissible Opened by various browsers;Pdf, the application program adobe that the document of this extension name can be developed by Adobe company Acrobat reader opens etc..
The mode showing request obtaining document can include but not limited to: gets the double click operation to document, or, The operation interface of application program obtains the operation of the displaying interactive controls of document, such as, shows that interactive controls can include " open " interactive controls or " open " interactive controls etc..
Step S120, according to the first attribute information of element in document described in described displaying request analysis.
Document includes some elements, such as picture, audio frequency, video etc., and element includes some attributes, the first attribute letter Breath includes Property Name and property value, and as a example by picture, Property Name can include but not limited to figure film source (Source), picture Transparency (Alpha) and locking (IsLocked) etc.;As a example by audio frequency, audio-source (url), bit can be included but not limited to Rate etc..Wherein, the source of picture source-representation picture, can be that network linking address or picture are in local storage address Deng.Audio-source represents the source of audio frequency, can be that network linking address or audio frequency are in local storage address etc..
If step S130 resolves does not obtains described first attribute information, then according to element described in the first application program The second attribute information determine the exhibition method of described element, wherein, described second attribute information is described first application program Described in attribute definition information corresponding to element belonging to the first attribute information.
Described parsing does not obtains described first attribute information and includes: receive element property title and/or property value for sky Identifier, such as, receive " null " identifier;Or receive element property title and/or property value is wrong mark Know symbol, such as, receive " error " identifier.
In prior art, if resolving the first attribute information not obtaining element in document, then when showing document, corresponding Element will show miscue symbol, such as, the corresponding position of this element shows " error " printed words etc. on a display screen.Adopt By the technical scheme of the present embodiment, if not resolving the first attribute information obtaining element in document, then according to being used for showing literary composition In first application program of shelves, the second attribute information of element determines the exhibition method of element, and described second attribute information is described Attribute of an element definition information, so, when resolving document completely, also can farthest show the element in document, Improve the compatibility that document uses.
Embodiment two
Fig. 2 is the flow chart of processing method of the document that the embodiment of the present invention two provides, the processing method of document, by the One application rollouts document, for step S130 in embodiment one, according to the second attribute of element in the first application program Information determines that the exhibition method of element includes: search in the second attribute information identical according to the Property Name in the first attribute information Attribute type corresponding to Property Name;If attribute type is the indispensable attributes such as data source, then delete element;If Attribute class Type is non necessary attribute, then show element according to default property value.
Wherein, the type of the first application program and the second application program is different, and/or, the first application program and second should Different with the version number of program.Document can be to be generated by the second application program being arranged on this locality, it is also possible to is should by second With downloading or share to this locality after Program Generating, and then by first application rollouts the document.The document of the present embodiment Processing method comprises the following steps: step S210, step S220, step S230, step S240 and step S250.Wherein, step S220 is identical with step S110 in embodiment one;Step S230 is identical with step S120 in embodiment one, identical step Repeat no more.
Step S210, generating document by the second application program, carry the first attribute information of element in document, first belongs to Property information includes Property Name and property value.
First attribute information is formed during the second application program generates document, installs the second application program in system Time, the second application program carries Property Name and attribute-value ranges, during generating document, in the first attribute information The Property Name carried in Property Name and the second application program is consistent, and the property value in the first attribute information applies journey second In the attribute-value ranges that sequence is carried, and according to user, the edited result of element is determined.Such as, the picture in document (element) Three attributes, Property Name is respectively figure film source, picture transparency and locking, and wherein the property value of figure film source is File://..../1.png;The property value of picture transparency is 0.5, is 1 to represent opaque with picture transparency, and picture is transparent Degree is that 0 expression is transparent, then the transparency of picture is that 0.5 expression is translucent;The property value of locking is true, and the property value of locking is False represents non-locking, and the property value of locking is that true represents locked.
Step S220, the displaying request of acquisition document.
In the editing interface of the first application program, the displaying being obtained document by displaying control is asked;Or, at document Storage position, asked, such as, in C disk storage entitled of equipment by the displaying obtaining document that selects of unfolding mode Click right on the document of 1.doc, ejects " unfolding mode ", selects the first application program from the drop-down menu of unfolding mode, This first application program is for showing the document of 1.doc.
Step S230, according to showing the first attribute information of element in request analysis document.
If step S240 resolves the first attribute information not obtaining element in document, then according to the first attribute in document Property Name in information searches the genus that Property Name identical in the second attribute information of element in the first application program is corresponding Property type;Second attribute information includes Property Name, attribute type, attribute-value ranges and default property value.Obtain if resolved Described first attribute information, then determine the displaying side of described element according to described first attribute information and described second attribute information Formula.
The embodiment of the present invention, in the first application program, pre-sets the default property value corresponding to each Property Name. Owing to different attribute is different to the influence degree of element, some attribute loss directly contributes element and cannot render, and some attribute is lost Losing and only can cause style difference, some attribute loss can cause behavior difference.As a example by picture, if the failure of picture source resolution, Picture will be unable to render;When transparency resolves unsuccessfully, the transparency of picture (i.e. resolves failed picture by incorrect and resolves to The picture of merit also exists the pattern difference of transparency);When locking information resolves mistake, and the behavior that picture is locked is by incorrect (picture i.e. resolving failed picture and successfully resolved also exists the difference in the behavior whether locked).The present embodiment is by attribute Type is divided into indispensable attributes and non necessary attribute, and indispensable attributes refers to that loss can directly result in the attribute type that element cannot render, Non necessary attribute refers to lose the attribute type being not result in that element cannot render.The present embodiment is given in the first application program respectively Non necessary attribute arranges default property value.
Wherein, the described exhibition method determining described element according to described first attribute information and described second attribute information Including: search Property Name identical in described second attribute information according to the Property Name in described first attribute information corresponding Attribute-value ranges;If the property value model that the property value in described first attribute information is corresponding in described second attribute information In enclosing, then show described element according to described property value;If the property value in described first attribute information is not described second In attribute-value ranges corresponding in attribute information, then show described element according to described default property value.
If step S250 attribute type is the indispensable attributes such as data source, then delete element;If attribute type be non-must Want attribute, then show element according to default property value.
When attribute in parsing element is made mistakes, if the attribute type of attribute is the indispensable attributes such as data source, then element is deleted Remove, if the attribute type of attribute is non necessary attribute, then by acquiescence corresponding for the Property Name of this attribute in the first application program Property value is assigned in document the property value in Property Name in the first attribute information as analysis result, and belongs to according to this acquiescence Property value show element.
Use the technical scheme of the present embodiment, the second attribute information of element is arranged silent in advance in the first application program Recognize property value, when using the first application program that document is resolved, if not resolving the first genus obtaining element in document Property information, then default property value is shown as analysis result, so, when document cannot be resolved completely, also can be maximum The element in document is shown on degree ground, improves the compatibility that document uses.
Further, when using the first application program that document is resolved, obtain element in document if resolved First attribute information is corresponding more than Property Name corresponding in the first application program for the property value in the first attribute information During attribute-value ranges, also default property value is shown as analysis result, so, when document cannot be resolved completely, also Can farthest show the element in document, improve the compatibility that document uses.
Embodiment three
The present embodiment is the application of the technical scheme of embodiment one and embodiment two.In the present embodiment, with in document Element is to illustrate as a example by picture, and the principle of other elements is identical.For the ease of operation, use indispensable attributes and inessential genus Attribute type is made a distinction by property, and the attribute type that wherein data source is corresponding is indispensable attributes, the Attribute class that other attributes are corresponding Type is non necessary attribute.In the present embodiment, eliminate the attribute-value ranges in the attribute of an element information of application program, i.e. at this In the scheme of embodiment, acquiescence resolves the attribute of an element value obtained all at the application program for showing document from document In the range of attribute of an element value;For resolving the attribute of an element value obtained from document not in the application journey for showing document Situation in the range of the attribute of an element value of sequence, shows the unit in document according to the default property value of the element in application program Element.
The attribute information of the picture in 1.0 versions of A software is as shown in table 1, and wherein, picture element comprises three attributes: Figure film source (Source), picture transparency (Alpha) and locking (IsLocked), wherein, figure film source is indispensable attributes, its acquiescence Value is sky, and picture transparency is non necessary attribute, and default value is 1;Being locked as non necessary attribute, default value is that false is (the most unlocked Fixed).
Attribute Explanation Classification Default value
Source Figure film source Indispensable attributes -
Alpha Picture transparency Non necessary attribute 1
IsLocked Whether lock Non necessary attribute false
The attribute information list of the picture in 1.0 versions of table 1 A software
1.0 versions using A software have made document B, and the attribute information of the picture in document B is as shown in table 2, wherein, Picture element includes three attributes: figure film source (Source), picture transparency (Alpha) and locking (IsLocked), therein The property value of figure film source be " File: // ... ./1.png ", the property value of picture transparency is " 0.5 ", and the property value of locking is " true " (the most locked, it is impossible to operate).
Source File://..../1.png
Alpha 0.5
IsLocked True
The attribute information list of the picture in table 2 document B
When A software upgrading is to 2.0 version, wherein the attribute information of picture is as shown in table 3, and wherein, picture element includes five Individual attribute: figure film source (Source), brightness (Brightness), contrast (Contrast), saturation (Saturation) and Locking (IsLocked), wherein, figure film source is indispensable attributes, and default value is empty;Brightness is non necessary attribute, and default value is 0.5; Contrast is non necessary attribute, and default value is 0.5;Saturation is non necessary attribute, and default value is 0.5;It is locked as inessential genus Property, default value is false (i.e. non-locking can operate).
Attribute Explanation Classification Default value
Source Figure film source Indispensable attributes -
Brightness Brightness Non necessary attribute 0.5
Contrast Contrast Non necessary attribute 0.5
Saturation Saturation Non necessary attribute 0.5
IsLocked Whether lock Non necessary attribute false
The attribute information list of the picture in 2.0 versions of table 3 A software
2.0 versions using A software have made document C, and the attribute information of the picture in document C is as shown in table 4, wherein, Picture element includes five attributes: figure film source (Source), brightness (Brightness), contrast (Contrast), saturation (Saturation) and locking (IsLocked), the property value of figure film source therein be " File: // ... ./1.png ", brightness Property value is " 0.8 ", and the property value of contrast is " 0.8 ", and the property value of saturation is " 0.8 ", and the property value of locking is " false " (i.e. non-locking can operate).
The attribute information list of the picture in table 4 document C
1.0 versions using A software open the document C that 2.0 versions of A software generate, the picture finally given after parsing Attribute is as shown in table 5, and picture attribute includes that figure film source, picture transparency and locking, the property value of figure film source therein are document C In property value " File: // ... ./1.png ", the property value of locking is the property value " false " in document C, picture transparency 1.0 versions that property value is A software in default property value " 1 ".
Source File://..../1.png
Alpha 1
IsLocked false
The attribute information list of the picture in the document C that 1.0 versions of table 5 A software are opened
2.0 versions using A software open the document B that 1.0 versions of A software generate, final picture attribute such as table 6 institute Showing, picture element includes five attributes: figure film source (Source), brightness (Brightness), contrast (Contrast), saturated Degree (Saturation) and locking (IsLocked), the property value of figure film source therein is the property value in picture B " File: // ... ./1.png ", the property value of brightness is the default property value " 0.5 " in 2.0 versions of A software, contrast Property value is the default property value " 0.5 " in 2.0 versions of A software, and the property value of saturation is in 2.0 versions of A software Default property value " 0.5 ", the property value of locking is the property value " true " in picture B.
The attribute information list of the picture in the document B that 2.0 versions of table 6 A software are opened
Embodiment four
Fig. 3 is the structural representation of the processing means of the document that the embodiment of the present invention four provides, and this device is used for performing reality Execute the processing method of document in example one to three.This device includes: acquisition request unit 310, resolution unit 320 and display unit 330。
Acquisition request unit 310, for obtaining the displaying request of document.
Resolution unit 320, is connected with described acquisition request unit, for according in document described in described displaying request analysis First attribute information of element.
Display unit 330, is connected with described resolution unit, if not obtaining described first attribute information, then for resolving The second attribute information according to element described in the first application program determines the exhibition method of described element, wherein, described second Attribute information is the attribute definition information that described in described first application program, element belonging to the first attribute information is corresponding.
The embodiment of the present invention does not obtains the situation of the first attribute information of element in document for parsing, according to the first application In program, the second attribute information of element determines the exhibition method of element, so, when document cannot be resolved completely, and also can be maximum The element in document is shown on degree ground, improves the compatibility that document uses.
More specifically, described first attribute information includes that Property Name and property value, described second attribute information include belonging to Property title, attribute type, attribute-value ranges and default property value.
More specifically, described resolution unit is empty mark specifically for receiving element property title and/or property value Symbol, or receive element property title and/or identifier that property value is mistake.
More specifically, described display unit is described specifically for searching according to the Property Name in described first attribute information The attribute type that Property Name identical in second attribute information is corresponding;Further, if described attribute type is that data source etc. must Want attribute, then delete described element;If described attribute type is non necessary attribute, then show institute according to described default property value State element.
More specifically, if described display unit is additionally operable to resolve obtains described first attribute information, then according to described the One attribute information and described second attribute information determine the exhibition method of described element.
More specifically, described display unit is described specifically for searching according to the Property Name in described first attribute information The attribute-value ranges that Property Name identical in second attribute information is corresponding;And if the attribute in described first attribute information In the attribute-value ranges that value is corresponding in described second attribute information, then show described element according to described property value;If institute State in the attribute-value ranges that the property value in the first attribute information is not corresponding in described second attribute information, then according to described silent Recognize property value and show described element.
In the present embodiment, after parsing obtains described first attribute information, also judge that whether this information is at the second attribute In information in the attribute-value ranges of attribute of the same name, the most then it is shown, the most in this range according to the first attribute information Then it is shown according to the default property value of attribute of the same name in the second attribute information.Thus guarantee that the information one shown is scheduled on second In the attribute-value ranges arranged in attribute information, different users can carry out the setting of personalization, meets user diversified Requirement.
More specifically, this device can also include: signal generating unit, is connected with described acquisition request unit, for by the Two application programs generate described document, carry the first attribute information of described element in described document.
More specifically, described first application program is different from the type of described second application program, and/or, described first Application program is different from the version number of described second application program.
The processing means of the document that the embodiment of the present invention is provided can be used for performing what any embodiment of the present invention was provided The processing method of document, possesses the execution corresponding function of the method and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although by above example, the present invention is carried out It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (12)

1. the processing method of a document, it is characterised in that including:
Obtain the displaying request of document;
According to the first attribute information of element in document described in described displaying request analysis;
If resolving and not obtaining described first attribute information, then according to the second attribute information of element described in the first application program Determining the exhibition method of described element, wherein, described second attribute information is the first attribute described in described first application program The attribute definition information that element belonging to information is corresponding.
The processing method of document the most according to claim 1, it is characterised in that described first attribute information includes attribute-name Claiming and property value, described second attribute information includes Property Name, attribute type, attribute-value ranges and default property value.
The processing method of document the most according to claim 2, it is characterised in that described parsing does not obtains described first attribute Information includes:
Receive element property title and/or property value is empty identifier, or receive element property title and/or attribute Value is the identifier of mistake.
The processing method of document the most according to claim 3, it is characterised in that described according to described in the first application program Second attribute information of element determines that the exhibition method of described element includes:
Property Name identical in described second attribute information is searched corresponding according to the Property Name in described first attribute information Attribute type;
If described attribute type is indispensable attributes, then delete described element;If described attribute type is non necessary attribute, then Described element is shown according to described default property value.
The processing method of document the most according to claim 2, it is characterised in that also include:
If resolving and obtaining described first attribute information, then determine according to described first attribute information and described second attribute information The exhibition method of described element.
The processing method of document the most according to claim 5, it is characterised in that described according to described first attribute information and Described second attribute information determines that the exhibition method of described element includes:
Property Name identical in described second attribute information is searched corresponding according to the Property Name in described first attribute information Attribute-value ranges;
If in the attribute-value ranges that the property value in described first attribute information is corresponding in described second attribute information, then root Described element is shown according to described property value;If the property value in described first attribute information is not in described second attribute information In corresponding attribute-value ranges, then show described element according to described default property value.
7. the processing means of a document, it is characterised in that including:
Acquisition request unit, for obtaining the displaying request of document;
Resolution unit, is connected with described acquisition request unit, for according to element in document described in described displaying request analysis First attribute information;
Display unit, is connected with described resolution unit, if not obtaining described first attribute information, then according to first for resolving Second attribute information of element described in application program determines the exhibition method of described element, wherein, described second attribute information It is the attribute definition information that described in described first application program, element belonging to the first attribute information is corresponding.
The processing means of document the most according to claim 7, it is characterised in that described first attribute information includes attribute-name Claiming and property value, described second attribute information includes Property Name, attribute type, attribute-value ranges and default property value.
The processing means of document the most according to claim 8, it is characterised in that described resolution unit is specifically for receiving Element property title and/or property value are empty identifier, or receive element property title and/or property value is mistake Identifier.
The processing means of document the most according to claim 9, it is characterised in that described display unit is specifically for basis Property Name in described first attribute information searches the Attribute class that Property Name identical in described second attribute information is corresponding Type;Further, if described attribute type is indispensable attributes, then described element is deleted;If described attribute type is inessential genus Property, then show described element according to described default property value.
The processing means of 11. documents according to claim 8, it is characterised in that if described display unit is additionally operable to solve Analysis obtains described first attribute information, then determine described element according to described first attribute information and described second attribute information Exhibition method.
The processing means of 12. documents according to claim 11, it is characterised in that described display unit is specifically for basis Property Name in described first attribute information searches the property value that Property Name identical in described second attribute information is corresponding Scope;And if the attribute-value ranges that the property value in described first attribute information is corresponding in described second attribute information In, then show described element according to described property value;If the property value in described first attribute information does not belongs to described second Property information in corresponding attribute-value ranges, then show described element according to described default property value.
CN201610795938.6A 2016-08-31 2016-08-31 Document processing method and device Active CN106227713B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610795938.6A CN106227713B (en) 2016-08-31 2016-08-31 Document processing method and device
PCT/CN2016/113398 WO2018040439A1 (en) 2016-08-31 2016-12-30 Document processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610795938.6A CN106227713B (en) 2016-08-31 2016-08-31 Document processing method and device

Publications (2)

Publication Number Publication Date
CN106227713A true CN106227713A (en) 2016-12-14
CN106227713B CN106227713B (en) 2018-11-06

Family

ID=58075293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610795938.6A Active CN106227713B (en) 2016-08-31 2016-08-31 Document processing method and device

Country Status (2)

Country Link
CN (1) CN106227713B (en)
WO (1) WO2018040439A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040439A1 (en) * 2016-08-31 2018-03-08 广州视睿电子科技有限公司 Document processing method and apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114218441B (en) * 2021-11-22 2022-07-12 慧之安信息技术股份有限公司 Method for calling and displaying UOF document

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000075784A1 (en) * 1999-06-03 2000-12-14 Sycamore Networks, Inc. Software translation using metadata
US6298353B1 (en) * 1998-11-19 2001-10-02 International Business Machines Corporation Checking serialization compatibility between versions of java classes
CN101165682A (en) * 2006-10-20 2008-04-23 北京北大方正电子有限公司 Document file processing method and system
CN101685394A (en) * 2008-09-26 2010-03-31 国际商业机器公司 Method and device for providing inter-version document compatibility
CN101937426A (en) * 2010-08-31 2011-01-05 北京红旗贰仟软件技术有限公司 Method and device for processing incompatible data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227713B (en) * 2016-08-31 2018-11-06 广州视睿电子科技有限公司 Document processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6298353B1 (en) * 1998-11-19 2001-10-02 International Business Machines Corporation Checking serialization compatibility between versions of java classes
WO2000075784A1 (en) * 1999-06-03 2000-12-14 Sycamore Networks, Inc. Software translation using metadata
CN101165682A (en) * 2006-10-20 2008-04-23 北京北大方正电子有限公司 Document file processing method and system
CN101685394A (en) * 2008-09-26 2010-03-31 国际商业机器公司 Method and device for providing inter-version document compatibility
CN101937426A (en) * 2010-08-31 2011-01-05 北京红旗贰仟软件技术有限公司 Method and device for processing incompatible data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040439A1 (en) * 2016-08-31 2018-03-08 广州视睿电子科技有限公司 Document processing method and apparatus

Also Published As

Publication number Publication date
WO2018040439A1 (en) 2018-03-08
CN106227713B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
KR100936204B1 (en) Copy and paste processing method, apparatus, and storage medium
US10565293B2 (en) Synchronizing DOM element references
US7877251B2 (en) Document translation system
US7634720B2 (en) System and method for providing context to an input method
US11194884B2 (en) Method for facilitating identification of navigation regions in a web page based on document object model analysis
US20110289407A1 (en) Font recommendation engine
CN108762743B (en) Data table operation code generation method and device
US9817811B2 (en) Web server system, dictionary system, dictionary call method, screen control display method, and demonstration application generation method
KR20090020621A (en) Dynamic software localization
EP1890235A1 (en) Test case management
US20140047409A1 (en) Enterprise application development tool
KR20080044156A (en) Recording media and character input editing method
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
US20110023014A1 (en) Method and apparatus for modifying an executable application using in-memory object representation
CN108958731B (en) Application program interface generation method, device, equipment and storage medium
CN111880813B (en) Method for realizing android card UI (user interface) and storage medium
AU2016256364B2 (en) Rendering graphical assets natively on multiple screens of electronic devices
US9141867B1 (en) Determining word segment boundaries
CN106227713B (en) Document processing method and device
Swearngin et al. Genie: Input Retargeting on the Web through Command Reverse Engineering
US10073852B2 (en) Computer-readable storage medium, file management apparatus, and file management method
US10445290B1 (en) System and method for a smart configurable high performance interactive log file viewer
CN105739717A (en) Information input method and device
US20070124686A1 (en) Locating graphical elements for an object
Bramer Web Programming with PHP and MySQL

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