Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Page template replacing method and device

A technology of page templates and pages, which is applied in the fields of instruments, calculations, electrical digital data processing, etc., can solve the problems of fixed and inflexible page template replacement rules, and achieve the effect of flexible page layout and flexible template replacement

Active Publication Date: 2017-01-18
新方正控股发展有限责任公司 +1
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem of fixed and inflexible page template replacement rules in the prior art, the present invention provides a page template replacement method and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page template replacing method and device
  • Page template replacing method and device
  • Page template replacing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Such as figure 1 As shown, it is a flow chart of a method for replacing a page template provided by Embodiment 1 of the present invention. The method includes:

[0046] S101. Classify the page template to be replaced and the container in the selected page template according to the attributes of the container;

[0047] S102. According to the set conditions, sort the containers of the same type in the page template to be replaced to obtain a sequence of containers to be replaced;

[0048] S103. According to the set condition, sort the containers of the same type in the selected page template to obtain a replacement container sequence; the set condition is the position and / or size of the container in the page template;

[0049] S104. For containers of the same type, write the content of each container in the sequence of containers to be replaced into a corresponding container in the sequence of containers to be replaced.

[0050] In the page template replacement method a...

Embodiment 2

[0084] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings according to specific situations.

[0085] image 3 For page a to be replaced, template A is applied, and text and picture content have been added. Figure 4 is the page template corresponding to page a, denoted as template A; Figure 5 is the selected page template, denoted as template B. It can be seen that there are 3 image containers and 4 text containers in template A, and 4 image containers and 4 text containers in template B. It is now necessary to replace the template A applied to page a with the selected template B.

[0086] The first step is to classify the containers in template A and template B. For the second embodiment of the present invention, it can be divided into text container and image container.

[0087] The second step is to deal with the text container first. Assign the text container in template A to the container sequence to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the publication field, and especially relates to a page template replacing method and device; the method comprises the following steps: respectively classifying vessels in a to-be-replaced page template and a selected page template according to vessel attributes; ranking the vessels of the same type in the to-be-replaced page template according to set conditions, and thus obtaining a to-be-replaced vessel sequence; ranking the vessels of the same type in the selected page template according to set conditions, and thus obtaining a replacing vessel sequence, wherein the set conditions comprise positions and / or sizes of the vessels in the page template; aiming at vessels of the same type, and writing contents of each vessel of the to-be-replaced vessel sequence into corresponding vessels of the replacing vessel sequence. The novel method solves the problems that a conventional page template replacement rule is fixed and not flexible.

Description

technical field [0001] The invention relates to the publishing field, in particular to a page template replacement method and device. Background technique [0002] Typesetting is the reasonable arrangement and adjustment of text, tables, pictures, etc., so that the layout can achieve a beautiful visual effect. In the past, page layout was a manual work, and the effects of registration, layout adjustment, compensation, etc. all depended on the operator's eyesight and manual skill level. Nowadays, the typesetting of pages can be completely done by computers. For convenience, the basic structure and layout settings of pages can be determined by templates. People only need to input content in each container of the template to complete the production of pages. [0003] Pages that have been laid out often need to switch templates to achieve better visual effects. However, when switching templates, the current technology mostly simply replaces them according to the rules from top...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 唐耀珺王斌
Owner 新方正控股发展有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products