A document processing method and apparatus

The present invention provides a document processing method and apparatus. The document processing method, comprising: obtaining document content; Shape obtaining at least one document ID corresponding to the content of the document; pattern from said at least one document ID, the ID pattern selecting a first document; pattern from the document library, obtaining the first document to the first document style pattern corresponding to the ID; document to the first document style pattern definition, displaying the document content. In the present invention, the user simply edits can save a lot of heavy work style setting, editing work convenient for the user, to ensure the normative style, storage space and reduce resource consumption of network transmission.