[go: up one dir, main page]

CN101770766A - Display system and method for generating display format according to setting file - Google Patents

Display system and method for generating display format according to setting file Download PDF

Info

Publication number
CN101770766A
CN101770766A CN200910000072A CN200910000072A CN101770766A CN 101770766 A CN101770766 A CN 101770766A CN 200910000072 A CN200910000072 A CN 200910000072A CN 200910000072 A CN200910000072 A CN 200910000072A CN 101770766 A CN101770766 A CN 101770766A
Authority
CN
China
Prior art keywords
format
setting
display
file
output
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
CN200910000072A
Other languages
Chinese (zh)
Other versions
CN101770766B (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.)
Ivalley Holding Co Ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2009100000725A priority Critical patent/CN101770766B/en
Publication of CN101770766A publication Critical patent/CN101770766A/en
Application granted granted Critical
Publication of CN101770766B publication Critical patent/CN101770766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

A display system and method for generating display format based on setting file includes adding format setting parameter corresponding to character data in data file, outputting character data in display format defined by specific format after specific format of corresponding format setting parameter is read out.

Description

依据设定文件产生显示格式的显示系统及其方法 Display system and method for generating display format according to setting file

技术领域technical field

一种显示系统及其方法,特别是指一种依据设定文件产生显示格式的显示系统及其方法。A display system and its method, especially a display system and its method for generating a display format according to a setting file.

背景技术Background technique

目前大部分的应用程序在显示资料时,对于每一个显示出来的内容,都有固定的显示格式。以字词查找软件为例,当字词查找软件在查找出某个字词的说明资料后,若说明资料中的包含有解释、例句等段落,则字词查找软件在显示说明资料时,会根据说明资料的各个段落使用预定的与各段落对应的字体、颜色和排版信息,例如显示例句时会采用比解释小的字体,而在显示解释以及例句时,会使用不同的颜色以及相同的缩排格式等。At present, most applications have a fixed display format for each displayed content when displaying data. Take the word search software as an example. After the word search software finds the explanatory data of a certain word, if the explanatory data contains paragraphs such as explanations and example sentences, the word search software will display the explanatory data. Use predetermined font, color and typesetting information corresponding to each paragraph according to each paragraph of the explanatory material. For example, when displaying example sentences, a smaller font will be used than the explanation, and when displaying explanations and example sentences, different colors and the same abbreviation will be used. formatting etc.

由于上述的显示方式是预先定义好各种资料被显示时的显示格式,当有预期之外的资料要被显示时,若该资料可以套用预先定义的某一个显示格式,则可以让使用者勉强分辨出该资料的各个段落,但若预期之外的资料无法套用任何预先定义的格式时,为了使资料可以顺利的被使用者辨识,就需要修改应用程序中关于显示的程序码,用来增加预期之外的资料显示格式,如此将增加开发者的负担,增加维护成本。Since the above-mentioned display method is to pre-define the display format when various data are displayed, when there is unexpected data to be displayed, if the data can be applied to a pre-defined display format, the user can barely To distinguish each paragraph of the data, but if the unexpected data cannot be applied in any pre-defined format, in order to make the data can be successfully recognized by the user, it is necessary to modify the display program code in the application program to increase the Unexpected data display formats will increase the burden on developers and increase maintenance costs.

综上所述,可知先前技术中长期以来一直存在需要修改程序码才可以调整显示格式的问题,因此有必要提出改进的技术手段,来解决此问题。To sum up, it can be seen that there has been a problem in the prior art for a long time that the program code needs to be modified to adjust the display format. Therefore, it is necessary to propose improved technical means to solve this problem.

发明内容Contents of the invention

有鉴于先前技术存在的需要修改程序码才可以调整显示格式的问题,本发明遂公开一种依据设定文件产生显示格式的显示系统及其方法,其中:In view of the problem in the prior art that it is necessary to modify the program code to adjust the display format, the present invention discloses a display system and method for generating a display format based on a setting file, wherein:

本发明所公开的依据设定文件产生显示格式的显示系统,其包括有:储存模块,用以储存设定文件及资料文件;读取模块,用以由资料文件中读取目标内容,目标内容包含格式设定参数及至少一文字资料,及用以由设定文件中载入预设格式及读取对应格式设定参数的特定格式,其中格式设定参数对应文字资料其中之一;格式设定模块,用以以特定格式输出格式设定参数对应的文字资料至输出文件中,同时以预设格式输出未有格式设定参数对应的文字资料至输出文件中;显示模块,用以显示输出文件,其通过在资料文件中记录与文字资料对应格式设定参数,并在读取模块读取对应格式设定参数的特定格式后,由格式设定模块以特定格式定义的显示格式输出文字资料,由此来解决先前技术所存在的问题。The display system for generating a display format based on a setting file disclosed in the present invention includes: a storage module for storing setting files and data files; a reading module for reading target content from the data file, and the target content Including format setting parameters and at least one text data, and a specific format for loading a default format from a setting file and reading a corresponding format setting parameter, wherein the format setting parameter corresponds to one of the text data; format setting The module is used to output the text data corresponding to the format setting parameters in a specific format to the output file, and at the same time output the text data corresponding to no format setting parameters to the output file in a preset format; the display module is used to display the output file , by recording the format setting parameters corresponding to the text data in the data file, and after the reading module reads the specific format corresponding to the format setting parameters, the format setting module outputs the text data in the display format defined by the specific format, In this way, the problems existing in the prior art are solved.

本发明所公开的依据设定文件产生显示格式的显示方法,其包括有下列步骤:载入设定文件中的预设格式;读取资料文件中的目标内容,目标内容包含格式设定参数及至少一文字资料,格式设定参数对应文字资料其中之一;由设定文件中读取对应格式设定参数的特定格式;以特定格式输出格式设定参数所对应的文字资料至输出文件中,同时以预设格式输出未有格式设定参数对应的文字资料至输出文件中;显示输出文件,其通过在资料文件中加入与文字资料对应格式设定参数,并在读取对应格式设定参数的特定格式后,以特定格式定义的显示格式输出文字资料,由此解决先前技术所存在的问题。The display method for generating a display format based on a setting file disclosed in the present invention includes the following steps: loading the preset format in the setting file; reading the target content in the data file, the target content includes format setting parameters and At least one text data, the format setting parameter corresponds to one of the text data; read the specific format corresponding to the format setting parameter from the setting file; output the text data corresponding to the format setting parameter to the output file in a specific format, and at the same time Output the text data without format setting parameters corresponding to the default format to the output file; display the output file by adding the format setting parameters corresponding to the text data in the data file, and read the corresponding format setting parameters After specifying the format, the text data is output in the display format defined by the specified format, thereby solving the problems existing in the prior art.

本发明所公开的系统与方法如上,其与先前技术之间的差异在于本发明在资料文件中加入与文字资料对应格式设定参数,并在读取对应格式设定参数的特定格式后,以特定格式定义的显示格式输出文字资料。通过上述的技术手段,本发明可以达成方便设定显示格式的技术功效。The system and method disclosed by the present invention are as above, and the difference between it and the prior art is that the present invention adds format setting parameters corresponding to the text data in the data file, and after reading the specific format corresponding to the format setting parameters, use The display format defined by the specific format outputs text data. Through the above-mentioned technical means, the present invention can achieve the technical effect of conveniently setting the display format.

附图说明Description of drawings

图1为本发明所提的依据设定文件产生显示格式的显示系统架构图;Fig. 1 is a structure diagram of a display system for generating a display format based on a setting file according to the present invention;

图2A为本发明实施例所提的目标内容示意图;FIG. 2A is a schematic diagram of the target content proposed by the embodiment of the present invention;

图2B为本发明实施例所提的设定文件示意图;FIG. 2B is a schematic diagram of a setting file proposed in an embodiment of the present invention;

图3为本发明所提的依据设定文件产生显示格式的显示方法流程图;3 is a flowchart of a display method for generating a display format based on a setting file according to the present invention;

图4为本发明实施例所提的显示输出文件的显示画面示意图。FIG. 4 is a schematic diagram of a display screen for displaying an output file according to an embodiment of the present invention.

具体实施方式Detailed ways

以下将配合附图及实施例来详细说明本发明的详细特征与实施方式,内容足以使任何本领域的技术人员轻易地理解本发明解决技术问题所应用的技术手段并据以实施,及理解实现本发明可达到的功效。The detailed features and implementation methods of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments, the content is enough to enable any person skilled in the art to easily understand the technical means used by the present invention to solve technical problems and implement them accordingly, and understand the implementation The effect that the present invention can achieve.

以下先以图1本发明所提的依据设定文件产生显示格式的显示系统的系统架构图来说明本发明的系统运作。如图1所示,本发明的系统含有储存模块110、读取模块120、格式设定模块130以及显示模块140。In the following, the system operation of the present invention will be described first by referring to FIG. 1 , the system architecture diagram of the display system for generating the display format according to the setting file of the present invention. As shown in FIG. 1 , the system of the present invention includes a storage module 110 , a reading module 120 , a format setting module 130 and a display module 140 .

储存模块110负责储存资料文件以及设定文件。其中资料文件记录有至少一笔的目标内容,每个目标内容中包含至少一组文字资料以及至少一个格式设定参数,且格式设定参数的数量不大于文字资料的数量。The storage module 110 is responsible for storing data files and setting files. The data file records at least one piece of target content, and each target content includes at least one set of text data and at least one format setting parameter, and the number of format setting parameters is not greater than the number of text data.

目标内容中所包含的文字资料为显示给使用者观看的文字,而目标内容中的格式设定参数与目标内容中的一组文字资料对应,但并非所有的文字资料都会存在相对应的格式设定参数,格式设定参数是用来标记相对应的文字资料显示给使用者观看时需要套用的格式,其通常以标签(Tag)的形式被记录于目标内容中,由此表示格式设定参数与文字资料的对应关系,但本发明并不以此为限。例如,图2A所示的目标内容310中,包含“citiao”、“cixing”、“jieshi”、“yingli”以及“zhongli”等名称的格式设定参数,而格式设定参数之后的文字则为相对应的文字资料。The text data contained in the target content is the text displayed to the user, and the formatting parameters in the target content correspond to a group of text data in the target content, but not all text data have corresponding formatting parameters The format setting parameter is used to mark the corresponding text data and display the format that needs to be applied when the user watches it. It is usually recorded in the target content in the form of a tag (Tag), thus indicating the format setting parameter Correspondence with text data, but the present invention is not limited thereto. For example, in the target content 310 shown in FIG. 2A , format setting parameters with names such as "citiao", "cixing", "jieshi", "yingli" and "zhongli" are included, and the text after the format setting parameters is Corresponding text data.

储存模块110所储存的设定文件用以记录一组预设格式以及至少一组特定格式,其中预设格式及特定格式是用以定义文字资料的颜色、字体大小、字型、编码、效果、对齐方式等显示格式。例如,图2B所示的设定文件320中,包含了名称为“default”的预设格式321,而“citiao”、“cixing”、“yingli”以及“zhongli”等名称所定义的格式则为特定格式。需要注意的是,目标内容中的格式设定参数会对应到设定文件所记录的一组特定格式,但设定文件所记录的特定格式并不一定会与目标内容中的格式设定参数对应,一般而言,格式设定参数的名称会与相对应的特定格式的名称相同,由此表示两者之间的对应关系,但本发明并不以此为限。The setting file stored in the storage module 110 is used to record a set of preset formats and at least one set of specific formats, wherein the preset format and the specific format are used to define the color, font size, font, code, effect, Display format such as alignment. For example, in the setting file 320 shown in FIG. 2B, the default format 321 named "default" is included, while the formats defined by names such as "citiao", "cixing", "yingli" and "zhongli" are specific format. It should be noted that the formatting parameters in the target content will correspond to a set of specific formats recorded in the setting file, but the specific formats recorded in the setting file will not necessarily correspond to the formatting parameters in the target content , generally speaking, the name of the format setting parameter is the same as the name of the corresponding specific format, thereby indicating the corresponding relationship between the two, but the present invention is not limited thereto.

读取模块120负责由资料文件中读取即将被显示的目标内容所包含的格式设定参数以及文字资料。读取模块120也负责由储存模块110所储存的设定文件中载入预设格式,以及由设定文件中读取对应已读出的格式设定参数的特定格式,也就是说,当读取模块120读出的格式设定参数的名称为“citiao”时,读取模块120也需要由设定文件中读出名称为“citiao”的特定格式。The reading module 120 is responsible for reading format setting parameters and text data included in the target content to be displayed from the data file. The reading module 120 is also responsible for loading the preset format from the setting file stored in the storage module 110, and reading the specific format corresponding to the format setting parameter that has been read from the setting file, that is, when reading When the name of the format setting parameter read by the module 120 is "citiao", the reading module 120 also needs to read the specific format named "citiao" from the setting file.

格式设定模块130负责将对应格式设定参数的特定格式所定义的显示格式套用到对应该格式设定参数的文字资料上,使得与格式设定参数对应的文字资料以相对应的显示格式输出到输出文件中,同时,也会将没有格式设定参数对应的文字资料套用预设格式所定义的格式后,输出至输出文件中。例如,当读取模块120所读出的格式设定参数(名称为“citiao”)所对应的文字资料为“A”,“citiao”定义的显示格式为“粗体字”,格式设定模块130会将文字资料“A”以“粗体字”输出到输出文件中,而若文字资料没有对应的格式设定参数,则格式设定模块会以预设格式将文字资料输出到输出文件中。The format setting module 130 is responsible for applying the display format defined by the specific format corresponding to the format setting parameter to the text data corresponding to the format setting parameter, so that the text data corresponding to the format setting parameter is output in the corresponding display format To the output file, at the same time, the text data that does not correspond to the format setting parameters will be applied to the format defined by the default format, and then output to the output file. For example, when the text data corresponding to the format setting parameter (named "citiao") read by the reading module 120 is "A", and the display format defined by "citiao" is "bold", the format setting module 130 will output the text data "A" in "bold" to the output file, and if the text data does not have a corresponding format setting parameter, the format setting module will output the text data to the output file in the default format .

格式设定模块130可以先判断待输出的文字资料是否有对应的格式设定参数,若有,则以对应格式设定参数的特定格式定义的显示格式来输出文字资料,若没有,则以预设格式定义的显示格式来输出文字资料;格式设定模块130也可以在读取模块120将读出的文字资料套用预设格式定义的显示格式后,判断文字资料是否具有相对应的格式设定参数,若有,则格式设定模块130会将文字资料的显示格式修改为对应格式设定参数的特定格式定义的显示格式,最后再将所有的文字资料输出到输出文件中,但本发明所提的格式设定参数130输出文字资料的方式并不以上述两种为限。The format setting module 130 can first judge whether the text data to be output has a corresponding format setting parameter, if yes, then output the text data in a display format defined by a specific format corresponding to the format setting parameter, if not, then output the text data in a preset format. Set the display format defined by the format to output the text data; the format setting module 130 can also determine whether the text data has a corresponding format setting after the reading module 120 applies the display format defined by the preset format to the read text data Parameters, if there is, then the format setting module 130 will modify the display format of the text data to the display format defined by the specific format of the corresponding format setting parameter, and finally output all text data in the output file, but the present invention The format setting parameter 130 mentioned above is not limited to the above two ways of outputting text data.

显示模块140负责显示输出文件,使得有格式设定参数的文字资料以与格式设定参数对应的特定格式所定义的显示格式显示给使用者。The display module 140 is responsible for displaying the output file, so that the text data with format setting parameters is displayed to the user in a display format defined by a specific format corresponding to the format setting parameters.

事实上,本发明更可以包含判断模块180,判断模块180负责判断预设格式是否能够以格式设定模块130前一次输出文字资料时所使用的特定格式来取代,判断模块180可以依据储存模块110所储存的系统设定值,或是格式设定模块130前一次所使用的特定格式中的设定值来做为判断的依据,当判断模块180依据系统设定值判断出可以以格式设定模块130前一次所使用的特定格式来取代预设格式,或依据特定格式中的设定值判断出可取代预设格式时,使能(enable)格式设定模块130以特定格式取代预设格式。In fact, the present invention can further include a judging module 180. The judging module 180 is responsible for judging whether the preset format can be replaced by the specific format used when the format setting module 130 output text data last time. The judging module 180 can be based on the storage module 110 The stored system setting value, or the setting value in the specific format used by the format setting module 130 last time is used as the basis for judgment. When the judgment module 180 judges that the format can be set When the specific format used by the module 130 last time replaces the preset format, or when it is determined that the preset format can be replaced according to the setting value in the specific format, the format setting module 130 is enabled to replace the default format with the specific format .

另外,本发明也包含格式编辑模块190,负责提供使用者修改预设格式以及特定格式,在使用者通过格式编辑模块190修改预设格式或特定格式后,格式设定模块130会在输出文字资料至输出文件时,以使用者修改后的预设格式或特定格式取代读取模块120所读出的预设格式或特定格式,并以修改后的预设格式或特定格式将文字资料输出至输出文件中。In addition, the present invention also includes a format editing module 190, which is responsible for providing users with the ability to modify the default format and the specific format. After the user modifies the default format or the specific format through the format editing module 190, the format setting module 130 will output the text data When outputting a file, replace the default format or specific format read by the reading module 120 with the default format or specific format modified by the user, and output the text data to the output file in the modified default format or specific format in the file.

接着以一个实施例来具体说明本发明的运作系统与方法,并请参照图3本发明所提的依据设定文件产生显示格式的显示方法的方法流程图。Next, an embodiment is used to describe the operating system and method of the present invention in detail, and please refer to FIG. 3 for a flow chart of a display method for generating a display format based on a setting file according to the present invention.

使用者使用执行有本发明的资料查找软件查找资料,当查找软件依据使用者所输入的关键字至储存模块110所储存的资料文件中查找出使用者所需要的资料,也就是如图2A所示的目标内容310后,本发明的读取模块120会先载入储存模块110所储存的设定文件320(图2B)中的预设格式321(步骤210)。The user uses the data searching software of the present invention to search for data. When the searching software searches the data files stored in the storage module 110 according to the keywords input by the user, the data required by the user is found, as shown in FIG. 2A After displaying the target content 310, the reading module 120 of the present invention will first load the default format 321 in the setting file 320 (FIG. 2B) stored in the storage module 110 (step 210).

之后,读取模块120会由储存模块110所储存的资料文件中读取出目标内容310(步骤220),其中读取模块120所读出的目标内容310包含“citiao”、“cixing”、“jieshi”、“yingli”以及“zhongli”等名称的格式设定参数,以及对应格式设定参数的文字资料。Afterwards, the reading module 120 will read the target content 310 from the data file stored in the storage module 110 (step 220), wherein the target content 310 read by the reading module 120 includes "citiao", "cixing", " jieshi", "yingli" and "zhongli" and other names of the formatting parameters, and the text data corresponding to the formatting parameters.

在读取模块120读出格式设定参数与文字资料(步骤220)后,读取模块120会至设定文件320中读出对应“citiao”、“cixing”、“jieshi”、“yingli”以及“zhongli”等名称的格式设定参数的特定格式(步骤250)。After the reading module 120 reads out the format setting parameters and text data (step 220), the reading module 120 will go to the setting file 320 to read out the corresponding "citiao", "cixing", "jieshi", "yingli" and The format of the "zhongli" etc. name specifies the format of the parameter (step 250).

在读取模块120读取预设格式、特定格式、格式设定参数以及文字资料(步骤210、步骤220、步骤250)后,格式设定模块130会将格式设定参数对应的文字资料以特定格式输出至输出文件中,同时会将未有格式设定参数对应的文字资料以预设格式输出至输出文件中(步骤260)。在本实施例中,由于读取模块120所读出的格式设定参数“citiao”所对应的文字资料为“A”,而格式设定参数“citiao”所定义的显示格式为“粗体字(bold=1)”,因此,格式设定模块130会将文字资料“A”以对应的显示格式“粗体字”输出到输出文件中,同样的,格式设定参数“yingli”所对应的文字资料为“The first letterin the English Alphabet is A.”,而格式设定参数“yingli”所定义的显示格式为“缩排一次(tab=1)”以及“字体大小为10pt(fontsize=10)”,因此,格式设定模块130会将文字资料“The first letter in the English Alphabet is A.”以对应的显示格式“缩排一次”以及“字体大小为10pt”输出到输出文件中,其余的格式设定参数则类推。After the reading module 120 reads the default format, specific format, format setting parameters and text data (step 210, step 220, step 250), the format setting module 130 will format the text data corresponding to the format setting parameters in a specific format The format is output to the output file, and at the same time, the text data not corresponding to the format setting parameter is output to the output file in the default format (step 260). In this embodiment, since the text data corresponding to the format setting parameter "citiao" read by the reading module 120 is "A", and the display format defined by the format setting parameter "citiao" is "bold (bold=1)", therefore, the format setting module 130 will output the text data "A" to the output file in the corresponding display format "bold", and similarly, the format setting parameter "yingli" corresponds to The text data is "The first letter in the English Alphabet is A.", and the display format defined by the format setting parameter "yingli" is "indent once (tab=1)" and "font size is 10pt (fontsize=10) ", therefore, the format setting module 130 will output the text data "The first letter in the English Alphabet is A." in the output file with the corresponding display format "indentation once" and "font size is 10pt", and the rest Formatting parameters are analogous.

在格式设定模块130依据文字资料是否有相对应的格式设定参数,将文字资料以特定格式或预设格式输出到输出文件(步骤260)后,显示模块140所显示的输出文件将如图4的显示画面400所示,使用者便可以在显示画面400中观看到其欲查找的资料,而使用者在显示画面400中所看到的资料的显示格式则是由查找软件的开发者所设定。因此,当查找软件的开发者需要修改显示画面400所呈现的内容时,只需要修改设定文件320所定义的预设格式321以及特定格式,而不再需要修改查找软件的显示模块140中的程序码。After the format setting module 130 outputs the text data to the output file in a specific format or a preset format according to whether the text data has a corresponding format setting parameter (step 260), the output file displayed by the display module 140 will be as shown in the figure As shown in the display screen 400 of 4, the user can view the information he wants to search on the display screen 400, and the display format of the data that the user sees on the display screen 400 is determined by the developer of the search software. set up. Therefore, when the developer of the search software needs to modify the content presented by the display screen 400, he only needs to modify the preset format 321 and the specific format defined by the setting file 320, and no longer needs to modify the display module 140 of the search software. program code.

综上所述,可知本发明与先前技术之间的差异在于具有在资料文件中加入与文字资料对应格式设定参数,并在读取对应格式设定参数的特定格式后,以特定格式定义的显示格式输出文字资料,由此技术手段可以解决先前技术所存在的需要修改程序码才可以调整显示格式的问题,进而达到方便设定显示格式的功效。In summary, it can be seen that the difference between the present invention and the prior art lies in the fact that the format setting parameters corresponding to the text data are added to the data file, and after reading the specific format of the corresponding format setting parameters, the specific format is defined. The text data is output in the display format, so the technical means can solve the problem in the prior art that the program code needs to be modified to adjust the display format, and then achieve the effect of conveniently setting the display format.

本发明在读取模块120读取预设格式、特定格式、格式设定参数以及文字资料(步骤210、步骤220、步骤250)后,格式设定模块130依据是否有相对应的格式设定参数将文字资料输出到显示文件之前,更可以由判断模块180依据储存模块110所储存的系统设定值,或是格式设定模块130前一次所使用的特定格式中的设定值,例如以系统设定值或特定格式中包含的设定值“replace=1”,来做为判断预设格式是否能够以格式设定模块130前一次输出文字资料时所使用的特定格式来取代(步骤231),当判断模块180依据系统设定值判断出可以以格式设定模块130前一次所使用的特定格式来取代预设格式或依据特定格式中的设定值判断出可取代预设格式时,使能格式设定模块130以特定格式取代预设格式(步骤232)。In the present invention, after the reading module 120 reads the preset format, specific format, format setting parameters and text data (step 210, step 220, step 250), the format setting module 130 determines whether there is a corresponding format setting parameter Before the text data is output to the display file, the judging module 180 can be based on the system setting value stored in the storage module 110, or the setting value in the specific format used by the format setting module 130 last time, such as using the system The setting value or the setting value "replace=1" contained in the specific format is used to determine whether the default format can be replaced by the specific format used when the format setting module 130 outputs text data last time (step 231) When the judging module 180 judges according to the system setting value that the preset format can be replaced by the specific format used by the format setting module 130 last time or judges that the preset format can be replaced according to the setting value in the specific format, use The format setting module 130 can replace the preset format with a specific format (step 232).

另外,本发明也提供使用者修改预设格式以及特定格式(步骤201),在使用者通过格式编辑模块190修改预设格式或特定格式后,格式设定模块130在将文字资料输出到显示文件的步骤(步骤260)中,会以使用者修改后的预设格式或特定格式取代读取模块120所读出的预设格式或特定格式,或是直接使用由读取模块120读出的已经过使用者修改的预设格式或特定格式,并以修改后的预设格式或特定格式将文字资料输出至输出文件中。In addition, the present invention also provides the user to modify the default format and the specific format (step 201). After the user modifies the default format or the specific format through the format editing module 190, the format setting module 130 outputs the text data to the display file In the step (step 260), the default format or specific format read by the reading module 120 will be replaced by the preset format or specific format modified by the user, or the already read by the reading module 120 will be directly used The default format or specific format modified by the user, and the text data is output to the output file in the modified default format or specific format.

再者,本发明的依据设定文件产生显示格式的显示方法,可实现于硬体、软件或硬体与软件的组合中,亦可在电脑系统中以集中方式实现或以不同元件散布于若干互连的电脑系统的分散方式实现。Furthermore, the display method for generating a display format based on a setting file of the present invention can be implemented in hardware, software, or a combination of hardware and software, and can also be implemented in a centralized manner in a computer system or distributed in several with different components. A decentralized implementation of interconnected computer systems.

虽然本发明所公开的实施方式如上,然而所述的内容并非用以直接限定本发明的专利保护范围。任何本发明所属技术领域的技术人员,在不脱离本发明所公开的精神和范围之内,在实施的形式上及细节上所做的更动或润饰,均属本发明的专利保护范围。因此本发明的专利保护范围仍须以权利要求所界定为准。Although the embodiments disclosed in the present invention are as above, the content described is not intended to directly limit the patent protection scope of the present invention. Any changes or modifications made by those skilled in the technical field of the present invention in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention belong to the patent protection scope of the present invention. Therefore, the scope of patent protection of the present invention must still be defined by the claims.

Claims (9)

1.一种依据设定文件产生显示格式的显示方法,该显示方法包含下列步骤:1. A display method for generating a display format according to a setting file, the display method comprising the following steps: 载入一设定文件中的一预设格式;loading a default format in a configuration file; 读取一资料文件中的一目标内容,该目标内容包含一格式设定参数及至少一文字资料,该格式设定参数对应该些文字资料其中之一;reading a target content in a data file, the target content includes a formatting parameter and at least one text data, the formatting parameter corresponds to one of the text data; 由该设定文件中读取对应该格式设定参数的一特定格式;reading a specific format corresponding to the format setting parameter from the setting file; 以该特定格式输出该格式设定参数所对应的文字资料至一输出文件中,同时以该预设格式输出未有该格式设定参数对应的文字资料至该输出文件中;及output the text data corresponding to the format setting parameter into an output file in the specific format, and simultaneously output the text data not corresponding to the format setting parameter into the output file in the default format; and 显示该输出文件。Display the output file. 2.如权利要求1所述的依据设定文件产生显示格式的显示方法,其特征在于,其中该方法更包含依据一系统设定值或前次输出的特定格式中的一设定值判断可以以该前次输出的特定格式取代该预设格式时,以该前次输出的特定格式替换该预设格式,并以该前次输出的特定格式输出未有该格式设定参数对应的文字资料的步骤。2. The display method for generating a display format based on a setting file as claimed in claim 1, wherein the method further comprises judging whether it is possible to When replacing the default format with the specific format of the previous output, replace the default format with the specific format of the previous output, and output the text data that does not correspond to the format parameter in the specific format of the previous output A step of. 3.如权利要求1所述的依据设定文件产生显示格式的显示方法,其特征在于,其中该方法更包含修改预设格式或特定格式,并在将该修改后的预设格式/特定格式取代该预设格式/该特定格式后,以该被取代后的预设格式/特定格式输出该些文字资料的步骤。3. The display method for generating a display format based on a setting file according to claim 1, wherein the method further includes modifying the preset format or the specific format, and the modified preset format/specific format After the default format/specific format is replaced, the step of outputting the text data in the replaced default format/specific format. 4.如权利要求3所述的依据设定文件产生显示格式的显示方法,其特征在于,其中该方法更包含储存该被取代后的预设格式/特定格式至该设定文件中的步骤。4. The display method for generating a display format according to a setting file according to claim 3, wherein the method further comprises a step of storing the replaced default format/specific format in the setting file. 5.一种依据设定文件产生显示格式的显示系统,该显示系统包含:5. A display system for generating a display format according to a setting file, the display system comprising: 一储存模块,用以储存一设定文件及一资料文件;a storage module for storing a setting file and a data file; 一读取模块,用以由该资料文件中读取一目标内容,该目标内容包含一格式设定参数及至少一文字资料,及用以由该设定文件中载入一预设格式及读取对应该格式设定参数的一特定格式,其中该格式设定参数对应该些文字资料其中之一;A reading module, used to read a target content from the data file, the target content includes a format setting parameter and at least one text data, and used to load a default format and read from the setting file a specific format corresponding to the formatting parameter, wherein the formatting parameter corresponds to one of the text data; 一格式设定模块,用以以该特定格式输出该格式设定参数对应的文字资料至一输出文件中,同时以该预设格式输出未有该格式设定参数对应的文字资料至该输出文件中;及A format setting module, used to output the text data corresponding to the format setting parameters in the specific format to an output file, and simultaneously output the text data not corresponding to the format setting parameters to the output file in the default format in; and 一显示模块,用以显示该输出文件。A display module is used to display the output file. 6.如权利要求5所述的依据设定文件产生显示格式的显示系统,其特征在于,其中该预设格式及该特定格式是用以定义该文字资料的颜色、字体大小、字型、编码、效果、对齐方式的至少其中之一。6. The display system for generating a display format based on a setting file as claimed in claim 5, wherein the preset format and the specific format are used to define the color, font size, font, and encoding of the text data , Effect, Alignment at least one of. 7.如权利要求5所述的依据设定文件产生显示格式的显示系统,其特征在于,其中该系统更包含一判断模块,用以依据该储存模块中所储存的一系统设定值或前次输出的该特定格式中的一设定值,判断可否以该前次输出的特定格式取代该预设格式,该格式设定模块更用以在该判断模块判断可以以该前次输出的特定格式取代该预设格式时,以该前次输出的特定格式取代该预设格式,并以该前次输出的特定格式输出未有该格式设定参数对应的文字资料。7. The display system for generating a display format according to a setting file according to claim 5, wherein the system further comprises a judging module for using a system setting value or a previous value stored in the storage module A setting value in the specific format of the second output, to judge whether the preset format can be replaced by the specific format of the previous output, and the format setting module is further used to judge whether the specific format of the previous output can be When the format replaces the preset format, the preset format is replaced with the specific format of the previous output, and the text data not corresponding to the format setting parameter is output in the specific format of the previous output. 8.如权利要求5所述的依据设定文件产生显示格式的显示系统,其特征在于,其中该系统更包含一格式编辑模块,用以修改预设格式或特定格式,该格式设定模块更用以于将以该修改后的预设格式/特定格式取代该预设格式/该特定格式后,以该被取代后的预设格式/特定格式输出该些文字资料。8. The display system for generating a display format based on a setting file as claimed in claim 5, wherein the system further comprises a format editing module for modifying a preset format or a specific format, and the format setting module is more After the default format/specific format will be replaced by the modified default format/specific format, the text data will be output in the replaced default format/specific format. 9.如权利要求8所述的依据设定文件产生显示格式的显示系统,其特征在于,其中该储存模块更用以储存该被取代后的预设格式/特定格式至该设定文件中。9. The display system for generating a display format according to a setting file according to claim 8, wherein the storage module is further used to store the replaced default format/specific format in the setting file.
CN2009100000725A 2009-01-05 2009-01-05 Display system and method for generating display format according to setting file Active CN101770766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100000725A CN101770766B (en) 2009-01-05 2009-01-05 Display system and method for generating display format according to setting file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100000725A CN101770766B (en) 2009-01-05 2009-01-05 Display system and method for generating display format according to setting file

Publications (2)

Publication Number Publication Date
CN101770766A true CN101770766A (en) 2010-07-07
CN101770766B CN101770766B (en) 2012-06-13

Family

ID=42503594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100000725A Active CN101770766B (en) 2009-01-05 2009-01-05 Display system and method for generating display format according to setting file

Country Status (1)

Country Link
CN (1) CN101770766B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167139A (en) * 2012-09-14 2013-06-19 深圳市金立通信设备有限公司 System and method based on electronic ink screen to achieve displaying mobile phone capacity
CN103488484A (en) * 2013-09-24 2014-01-01 长沙裕邦软件开发有限公司 Software implementation method and system for online editor
CN104410798A (en) * 2014-11-07 2015-03-11 北京东方艾迪普科技发展有限公司 Text feature parameter processing method and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4124898B2 (en) * 1999-01-28 2008-07-23 キヤノン株式会社 Information processing system, information processing apparatus and method
MY133318A (en) * 2002-04-29 2007-11-30 Thomson Licensing Sa Common on screen display size for multiple display formats
US7258270B2 (en) * 2004-11-30 2007-08-21 Clinton Wilcox Compact electronic unit with display
JP4696829B2 (en) * 2005-10-12 2011-06-08 セイコーエプソン株式会社 Image processing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167139A (en) * 2012-09-14 2013-06-19 深圳市金立通信设备有限公司 System and method based on electronic ink screen to achieve displaying mobile phone capacity
CN103167139B (en) * 2012-09-14 2015-01-07 深圳市金立通信设备有限公司 System and method based on electronic ink screen to achieve displaying mobile phone capacity
CN103488484A (en) * 2013-09-24 2014-01-01 长沙裕邦软件开发有限公司 Software implementation method and system for online editor
CN104410798A (en) * 2014-11-07 2015-03-11 北京东方艾迪普科技发展有限公司 Text feature parameter processing method and equipment
CN104410798B (en) * 2014-11-07 2017-10-27 艾迪普(北京)文化科技股份有限公司 A kind of method and apparatus of character features parameter processing

Also Published As

Publication number Publication date
CN101770766B (en) 2012-06-13

Similar Documents

Publication Publication Date Title
KR101122816B1 (en) Method, apparatus, and computer-readable medium for managing specific types of content in an electronic document
US7673235B2 (en) Method and apparatus for utilizing an object model to manage document parts for use in an electronic document
JP5139984B2 (en) Markup-based extensibility for user interface
US8321839B2 (en) Abstracting test cases from application program interfaces
US10210142B1 (en) Inserting linked text fragments in a document
RU2322687C2 (en) System and method for providing multiple reproductions of content of documents
CN104111922B (en) Processing method and device of streaming document
JP2005339566A (en) Method and system for mapping content between starting template and target template
US20130144920A1 (en) Creating a configuration file template
US7720814B2 (en) Repopulating a database with document content
US7716570B2 (en) Interfaces for creation and access of extensible markup language paper specification documents
US10592598B1 (en) Book version mapping
CN115039064A (en) Dynamic typography
US7941749B2 (en) Composition of electronic document layout
CN101770766A (en) Display system and method for generating display format according to setting file
JP4542033B2 (en) System and method for providing multiple renditions of document content
JP2014171053A (en) Electronic document container data file, electronic document container data file generating apparatus, electronic document container data file generating program, server apparatus, and electronic document container data file generating method
JP5198149B2 (en) Information processing apparatus, program, and insurance product policy generation method
US7675527B2 (en) Multisource composable projection of text
CN101770450A (en) File editing system with field-independent input prompt and method thereof
CN113935282A (en) Document editing method, device, storage medium and equipment
JP2008129814A (en) Document management method, document management system, program, and recording medium
JP2006059371A (en) Formatted document creation system and method, and computer program
JP2004086695A (en) Method for preparing document database
JPS61170863A (en) Automatic operation manual generation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: I VALLEY HOLDINGS CO., LTD.

Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN

Effective date: 20150722

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150722

Address after: Cayman Islands, George Town

Patentee after: IValley Holding Co., Ltd.

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. 66

Patentee before: Inventec Corporation