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

Method and device for dwindling character stuffing in target region

A target area and character filling technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems that the content of the target character string cannot be determined in advance, the height of the target area is not considered, and artificial settings cannot be realized. Achieve the effect of no special confidentiality algorithm, improve drawing efficiency, and simple shrinking rules

Active Publication Date: 2010-06-23
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be concluded that the prior art can only narrow the character string to the width suitable for the target area, but does not take into account the height of the target area. When the height of the target area is small, it may display an incomplete situation (refer to the existing Corresponding function of EXCEL software)
In this case, if you want to fully display the character string in the target area, especially for the printout, you need the user to manually adjust the font size, which is too complicated
Moreover, in some application environments, the content of the target string cannot be predetermined, and this artificial setting method cannot even be realized

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
  • Method and device for dwindling character stuffing in target region
  • Method and device for dwindling character stuffing in target region
  • Method and device for dwindling character stuffing in target region

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0081] The invention is applicable to numerous general purpose and special purpose computing system environments or configurations. For example: personal computer, server computer, handheld or portable device, tablet type device, multiprocessor system, distributed computing environment including any of the above systems or devices, etc.

[0082] The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environment...

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 discloses a method for narrowing character fill in a target area with height and width information. The method comprises: step 11, a base word size of a character string is obtained, and the character string height is calculated; step 12, judge whether the character string height is more than the target area height, if yes, implement step 13; if not, implement step 14; step 13, narrow the base word size according to a first preset regulation; step 14, calculate the character string width according to the base word size; step 15, judge whether the character string width is more than the target area width, if yes, implement step 16; if not, implement step 17; step 16, narrow the base word size according to a second preset regulation; step 17, adopt the base word size to draw the character string in the target area. The invention can completely present the character string in the target area, and ensures the drawing efficiency of the character string.

Description

technical field [0001] The invention relates to the field of text layout processing, in particular to a method and a device for shrinking character filling in a target area. Background technique [0002] In existing webpages or application programs, due to the needs of interface drawing, text editing, printing output, etc., the system is required to have the function of outputting a character string of indeterminate length in a target area, for example, in a cell. When the width of the character string exceeds the width of the target area, in addition to manually adjusting the font size by the user to reduce the width of the character string, the prior art provides a solution of "shrinking the font to fill". [0003] "Shrink font filling" means that when the width of the content displayed in the target area exceeds the width of the area, the font will be automatically reduced, and all the content will be displayed in the area without changing the width of the area. The char...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/21
Inventor 李馥龙
Owner KINGDEE SOFTWARE(CHINA) CO LTD
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