^0621 B7 $、發明說明(1 ) [發明領域] 本發明係有關於一種圖立 一 _文編輯方法以及系統,更詳而 吕之,係有關於一種具有丰宜认 ’予寫輸入之編輯處理,可一併處 理由使用者手寫輸入的圖形 口❿以及鍵入的文字符號之圖文編 輯方法以及系統。 [發明背景] 目前以具手寫式編輯裝置而言,其提供使用者鍵入一 般的文字符號以及手寫圖形輸入的編輯處理,λ中,需籍 由軟體開發人員編寫-專門處理手寫輸入的功能模組(以 下簡稱為A模組)’方可編輯手寫字,然而,當使用者 開A模組時,則無法執行手寫功能。由於鍵入文字符號編 輯與手寫圖形輸入各由不同的功能模組提供執行,因此, 使得鍵入文字符號與手寫圖形輸入無法同時進行。 實際上,手寫圖形輸入的編輯操作,如插字 Unit)、刪字(Delete Unit)、插入空行(Insert Une)、删除一 行(Delete Line)、塊拷貝(Copy)、塊刪除(Delete)、塊剪貼 (Cut & Paste)、…等,皆與一般編輯功能模組之操作相同, 只是這些功能模塊並不支援圖形單元。因此,軟體開發人 員須在A模組中重寫一遍具有這些編輯操作的功能函數, 該功能函數係包括 MapMemoryToLCDPosition()、 MapLCDPositionToMemory()、InsertUnitMemory()、 DeleteUnitMemory()、DeleteLineInMemory()、 CompressUnitForStore()、CompressUnitForShow()、 ShowUnitOnLCD()、ShowAllUnitOnLCD()、 (請先閱讀背面之注意事項再填寫本頁) 裝------—訂---------線 經濟部智慧財產局員工消費合作社印製 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 1 16205 490621^ 0621 B7 $, Description of invention (1) [Field of invention] The present invention relates to a graphic editing method and system, and more specifically, it relates to an editor with a richly-recognized write-in input. The processing can simultaneously process the graphic word and speech input method and system of the graphic word input by the user. [Background of the Invention] Currently, with a hand-written editing device, it provides editing processing for users to enter general text symbols and hand-drawn graphic input. In λ, it is required to be written by a software developer-a functional module that specializes in hand-written input. (Hereinafter referred to as A module) can only be edited by handwriting. However, when the user opens the A module, the handwriting function cannot be performed. Because typed text symbol editing and handwritten graphic input are provided and executed by different function modules, therefore, typed text symbols and handwritten graphic input cannot be performed simultaneously. In fact, the editing operations of handwritten graphic input, such as Insert Unit, Delete Unit, Insert Une, Delete Line, Copy, Delete, Delete, Cut and paste (Cut & Paste), etc. are all the same as the general editing function modules, except that these function modules do not support graphics units. Therefore, software developers must rewrite the functional functions with these editing operations in the A module. The functional functions include MapMemoryToLCDPosition (), MapLCDPositionToMemory (), InsertUnitMemory (), DeleteUnitMemory (), DeleteLineInMemory (), CompressUnitForStore () , CompressUnitForShow (), ShowUnitOnLCD (), ShowAllUnitOnLCD (), (Please read the precautions on the back before filling out this page) The paper size printed by the employee consumer cooperative is applicable to China National Standard (CNS) A4 (210 X 297 mm) 1 16205 490621
經濟部智慧財產局員工消費合作社印製 五、發明說明(2 )Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 5. Description of Inventions (2)
AdJUStEdltUneInf〇matl〇n()、…等,若欲增加其他的編輯 功能,則需要重新編寫與原編輯裝置_樣的編輯操作代 碼,因此造成人力資源及開發時間的浪費。 再者,在A模組中複製(Copy)—部份的圖形單元,卻 無法貼(Paste)在其他功能模組上,亦即A模組與其他功能 模組間的編輯資料不能相互複製,因而限定編輯處理的操 作範圍。 並且,若軟體開發人員所設計的A模組與原有的編輯 功能模組間的編輯操作無法相同時,使使用者在編輯操作 上無法得心應手。 所以如何以一種圖文編輯方法以及系統,使使用者在 任意的編輯功能模組下即可一併編輯鍵入文字符號與手寫 圖形輸入,並執行不同資料類型的拷貝、剪貼···等處理。 [發明目的及概述] 本發明之主要目的在於提供一種圖文編輯方法以及系 統,將一般鍵入文字符號與手寫圖形輸入的編輯功能整合 為一個通用功能柄組’不僅可以編輯鍵入的文字符號,更 可以處理手寫輸入的圖形,便於軟體開發人員設計一種鍵 入/手寫共存的輯編產品’並提供使用者更簡易、靈活的編 輯處理。 本發明之另一目的在於提供一種圖文編輯方法以及系 統,用以擴充一般鍵入/手寫輸入編輯產品之功t能,使不同 類型的資料在任意的編輯功能模組下亦可進行複製、剪 貼…等編輯處理,因此使圖形與文字的編輯操作範圍不受 ------------- 裝--------訂---------線 I f請先閱讀背面之注音?事項再填寫本頁) 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 2 16205 ⑽ 0621 ⑽ 0621 經濟部智慧財產局員工消費合作社印製 A7 五、發明說明(3 ) 限制。 。根據以上所述的目的,本發明提供了—種新顆之圖文 編輯方法以及系統,其係根據各個圖文單元的輸入順序進 行儲存,係將編輯文件中的圖形單元與文字符號單元依其 輪入順序各別地給予其專屬的一圖文單元序號並儲存在一 圖文單元儲存區,其中,該圖文單元儲存區中須建立用以 識別該具有圖文單元序號之圖文單元為圖形單元或文字符 號單元之-識別碼,用以記錄該圖形單^為壓縮/未壓縮儲 存、其顯示時的字寬與字高、…等屬性訊息之一屬性碼, 以及用以錯存顯示該圖形單元的圖形資料訊息之一資料記 錄碼。因此,藉由具有識別碼、屬性碼,以及資料記錄碼 之圖文單元儲存區的儲存結構下,將能提供一種鍵入/手寫 共存的編輯產品。 本發明圖文編輯方法的處理過程中,首先,需判斷使 用者所輸入的圖文單元是鍵入的文字符號單元或是手寫輸 —的圖A單疋’右為手寫輸人的圖形單元時將該圖形單 疋暫存於儲存緩衝區中,並由使用者決定是否需要進行麼 处理,接著,计算出該圖文單元所佔用的儲存空間Ν; 接著,於儲存緩衝區完成該圖文單元的資料定義;接著, 判斷剩餘的儲存空間是否足夠使用,若未足夠使用時則 诸存,敗’並結束圖文單元的儲存處理,否則再判斷目前 址疋否為所有貝料的最後位址不是時則將目前位址 起的所有内容後移Ν個錯存空間;接著,則將圖文單元儲 前位址’並將圖文單元序號加丨,即完成圖文單元 ^氏張尺度適用中關^準(CNS)A4規格⑵q χ挪公髮3——162— (請先閱讀背面之注意事項再填寫本頁) 裝--------訂---------線 A7 五、發明說明(4 的儲存處理。其中,該圖文單元的資料 分:第-部分為一識別碼 、 ’、。二固部 對於鍵入的文字符號單元而言用二長:不:長的識別碼’ 且僅包括此“ H機器内碼碼值, 分配-肩太/刀手寫輪入圖形單元而言,其係 内竭碼值,作為Hr :二:付就早元區別開來的機器 此邻八心 早兀的識別碼;第二部分為一屬性碼, 政匕口 I5分僅圖形單亓呈I ^ 元的各種屬性,如:;單長^固定,其係記錄圖形單 被缩類型、顯示時的寬及高、... 二=碼,此部”僅圖形單元具備,其長度不定 式。、際的圖形早兀資料,可能為壓縮或未壓縮格 示槿/圖^爲輯本統係包括一用以顯示編輯執行過程之顯 二資:之:用以供使用者進行編輯操作得以鍵入或手寫輸 开…輸入模組;具有-用以錯存使用者手寫輸入的圖 _早疋及使用者鍵人的文字符號單元之圖文單元儲存區及 π用以暫時儲存由輸人模組傳來的圖形單元以及文字符號 =或者暫時儲存取得的圖形單元以及文字符號單元以供 L不模組顯示之儲存緩衝區的記憶模組;以及-用以處理 别述各模組間動作之控制模組。其中,使用者由該輸入模 ;所鍵入的文字符號單元或由手寫輸入的圖形單元係依照 〗入的順序暫存於記憶模組内的儲存緩衝區中,當欲儲存 為文件檔案時,其根據各個圖文單元(即文字符號單元及圖 形單元)輸入的先後順序而具有各自的圖文單元序號,且因 公釐) (請先閱讀背面之注意事項再填寫本頁) 裝 « I I I I i I - 經濟部智慧財產局員工消費合作社印製 tag (CNS)A4 mf(2l〇 x 297 16205AdJUStEdltUneInfomat (), etc., if you want to add other editing functions, you need to re-write the editing operation code that is the same as the original editing device, thus causing a waste of human resources and development time. Furthermore, some modules in the A module are copied (Copy), but they cannot be pasted on other function modules, that is, the edited data between the A module and other function modules cannot be copied to each other. Therefore, the operation range of the editing process is limited. In addition, if the editing operation between the A module designed by the software developer and the original editing function module cannot be the same, the user cannot be handy in the editing operation. So how to use a graphic editing method and system to enable users to edit the typed text symbols and handwritten graphic input under any editing function module, and to perform different types of data copy, cut and paste ... [Objective and Summary of the Invention] The main object of the present invention is to provide a graphic editing method and system that integrates the editing functions of general typed text symbols and handwritten graphic input into a common function handle group. It can handle handwritten input graphics, which is convenient for software developers to design an editing product with coexistence of typing and handwriting, and provides users with easier and more flexible editing processing. Another object of the present invention is to provide a graphic editing method and system for expanding the functions of general typing / handwriting input editing products, so that different types of data can also be copied and cut under any editing function module. … And other editing processes, so that the scope of editing operations of graphics and text is not affected by ------------- installed -------- order --------- line I f Please read the Zhuyin on the back? Please fill in this page again for this matter) This paper size applies Chinese National Standard (CNS) A4 specification (210 X 297 mm) 2 16205 ⑽ 0621 ⑽ 0621 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs A7 V. Description of invention (3) Restrictions . . According to the above-mentioned purpose, the present invention provides a new graphic editing method and system, which are stored according to the input order of each graphic unit, and the graphic unit and the text symbol unit in the editing file are stored in accordance with the order. The rotation order is given its own unique graphic unit serial number and stored in a graphic unit storage area. Among them, the graphic unit storage area must be established to identify the graphic unit with the graphic unit serial number as a graphic. -The identification code of the unit or text symbol unit, used to record the graphic list ^ is one of the attribute information such as compressed / uncompressed storage, its width and height when displayed, etc., and is used to display the wrong memory. A data record code of a graphic data message of a graphics unit. Therefore, with the storage structure of the graphic unit storage area with the identification code, the attribute code, and the data recording code, a typed / handwritten coexisting editing product will be provided. In the process of the graphic and text editing method of the present invention, first, it is necessary to determine whether the graphic and text unit input by the user is a typed text symbol unit or handwritten input. The graphic unit is temporarily stored in the storage buffer, and the user decides whether or not to perform processing. Then, the storage space N occupied by the graphic unit is calculated. Then, the graphic unit is completed in the storage buffer. Data definition; Next, determine whether the remaining storage space is sufficient. If it is not enough, it will be stored, and it will fail and end the storage process of the graphic unit. Otherwise, it will be determined whether the current address is the last address of all shellfish. Then, all content from the current address is shifted backward by N misplaced spaces; then, the graphic unit is stored in the previous address' and the graphic unit number is added to complete the application of the graphic unit's scale. Customs ^ quasi (CNS) A4 specifications χq χ Norwegian public hair 3——162— (Please read the precautions on the back before filling out this page) Installation -------- Order --------- Line A7 Fifth, storage description of the invention (4. of which The data of this graphic unit is divided into: the first part is an identification code, ',. The second solid part uses two long for the typed text symbol unit: no: long identification code' and only includes this "H machine internal code" Code value, assignment-shoulder-to-hand / knife hand-wheeled graphic unit, its internal exhaustion code value, as Hr: two: pay the early identification code of the machine distinguished from the early yuan; the second Part of it is an attribute code. The dagger I5 points only show the various attributes of the graphic element, such as :; single length ^ fixed, which records the type of graphic single contraction, the width and height of the display, ... Two = code, this part "is only available in the graphics unit, and its length is indeterminate. The early data of the graphics may be compressed or uncompressed. This system includes a system for displaying the editing process. Two of the significant assets: of: for users to perform editing operations to type or handwriting input ... input module; with-to misstore the user's handwritten input _ Zaoyu and the user's text symbol unit The graphic unit storage area and π are used to temporarily store the graphics list sent by the input module. And text symbol = or a memory module that temporarily stores the obtained graphic unit and text symbol unit for the display buffer of L without module; and-a control module for processing the actions between the other modules. Among them, The user uses the input mode; the typed text and symbol units or the handwritten input graphic units are temporarily stored in the storage buffer in the memory module in the order they are entered. When it is to be stored as a document file, it is based on each Graphic units (ie, text symbol units and graphic units) are entered in the order in which they have their own graphic unit numbers and are in millimeters. (Please read the precautions on the back before filling this page.) Install «IIII i I-Economy Tag (CNS) A4 mf (2l〇x 297 16205)
五、發明說明(5 ) 文字符號單元及圖形單元不同的類型資料 需的識別碼、屬性碼,以及f 所 j 从久貝料圯錄碼,並 憶模組内的圖文單11將其儲存於記 編輯不同的類型資料時,此,在不同功能模組下 』的類型貝枓時,亦可進行複製、剪 [圖不之簡單說明] 寻編軏。 為讓本發明之上述和盆它 顯易懂,將盥r ^ 、、寺徵以及優點能更明 本發明之實_ 並配合所_式,詳細說明 尽發月之實施例’所附圖式之内容簡述如下: 第1圖係為-方塊圖,係顯示本發 之基本架構方塊圖; 圖文編輯系統 第2圖為一示意圖,係顯示應 順序儲存編輯資料之示意圖; g圖文編輯方法 第3圖為一示意圖,禆 ^ 4 m a n …、 圖之儲存結構示意圖 乐4圖為一運作流程圖, 〜口 之儲存處理程序流程圖; ”、、不發明圖文編輯方: 第5圖為-運作流程圖,係顯示 方法將編輯中的資料刪除處理之 “圖文編# 第6圖為-運作流程圖,係:圖; 方法將錯存中的圖文單元顯示處理:=:發明圖文料 第7圖為-運作流程圖序k程圖’·以及 方法進㈣輯處理之程序流_: 本發日^文編輯 f較佳實施例詳細說明] 請參閲第1圖’係顯示本 架構方塊圖。本發明圖文編輯 Z文編輯系統之基本 皇 5 16205 --------------裝--- (請先閱讀背面之注意事項再填寫本頁) 訂· ----------- n n n · 490621 A7 __B7 五、發明說明(6 10、一輸入模組11、一記憶模組12 螻顯干趑細1n m 乂及一控制模組13 〇 省顯不模組10,用以顯示編輯 Π,用以供使用者進行編輯操作得以鍵:或手=二: ^ ’該記憶模組12,用以暫時儲存由輸入模.貝 圖形皁元以及文字符號單亓 、 傅來的 早疋或者暫時儲存取得的圖形單元 以及文字符號單元以供顯示模 仔的㈣早儿 及具有用以儲存使用者手寫幹入不之儲存緩…^ 的文…显-: 圖形單元及使用者鍵入 的文子付唬早兀之圖文單元儲在 ^田、,老 兀儲存£ 121;以及該控制模組 1 3,用以處理前述各模組間動作。 使用者透過該輸入模組u 女ϋ 丄 U進仃圖文早兀編輯,這些圖 =早係包括由鍵盤輸入的文字符號單元及由手寫筆裝置 訂 ,入的圖形單元’於編辑時,將輸入的圖文單元暫存於儲 存緩衝區12。中並顯示於顯示模Μ。上。暫存於儲 # 經 濟 部 智 慧 財 產 局 員 工 消 費 合 作 社 印 製 :"月二閱第2圖,係顯示應用本發明圖文編輯方法順序 儲存編輯資料之示意圖。當使用者欲將所編輯的資料儲存 於圖文單疋儲存區121時,首先,在存樓時可視需要,於 檔案起啟位址建立一檔案標頭,其用以提供功能擴充,並 σ己錄一些檔案資料,如檔案類型、檔案大小、檔案名稱、 :案建檔時間、…等’接著,順序地儲存該檔案的資料内 ^睛參閱第3圖,係顯示第2圖之儲存結構示意圖。在 儲存一圖文單元時,將會判斷該圖文單元為圖形單元或是 文字符號單元,以便區分不同的類型資料,其中,儲存結 構刀為二個部分,第一部分為一識別碼Ln,可採用定長/ 16205 490621 經濟部智慧財產局員工消費合作社印製 A7 五、發明說明(7 不定長的識別碼,對於鍵入的文字符號單元而言,其係為 一機器内碼碼值,且僅包括此一部分,一般採用Ascn、 = G5、GB、UNIC〇DE、…等,顯示時根據該識別碼^從 字庫相對應位址取出資料顯示出來,而對於手寫輸入圖形 早元而σ,其係分配一原本空間且能與其他文字符號單元 區別開來的機器内碼碼值,作為圖形單元的識別碼;第二 部分為一屬性碼Μη,此部分僅圖形單元具備,其長度為 固定,其係記錄圖形單元的各種屬性,如該圖形單元^魯共 j用儲存空間Ν,是否被壓縮、壓縮類型、顯示時的寬及 =:•等;第三部分為一資料記錄碼Νη,此部分亦僅圖形 早二具備,其長度不定,用以記錄實際的圖形單元資料, 可能為壓縮或未壓縮格式。 如圖所示,圖文單元指標指向位址8000Η,表示目前 的圖文單7L儲存位址30,若該圖文單元儲存位址”用以 儲存文字符號單元時,此部分具有識別碼^,佔用“固位 若該圖文單元儲存位址3〇用以儲存一圖形單元時, P刀P具有識別碼Ln、屬性碼Μηϋ資料記錄碼取, 刀別佔用L個位元組、厘個 σ — 仅兀、、且以及Ν個位兀組。而 :—早疋指標前為上一個圖文單元儲存位址2〇,於 ^儲存位址3〇結束時即為下一個圖文單元儲存位址 之儲運作流程圖,係顯示本發明圖文編輯方法 所輪入的Η ” _百先,於步驟300’判斷使用者 輪入的圖^元是鍵人的文字㈣單元或是手寫輸入的 1620? -------------裝--------訂---------線 (請先閱讀背面之注意事項再填寫本頁) 490621 A7 B7 、發明說明(8 )圖形單元,若為文丰总%抑_ 行步驟301。 切就早疋,則進行步驟306;否則進 著進:Γ3。1’暫存手寫的圖形單元至储存緩衝區 著進仃步驟302。 於步驟302,判斷是否需要壓縮 進行步驟3〇6;否則進行步驟303。 於步驟303,判斷是否保留真跡 進行步驟304;否則進行步驟3〇5。 :步驟3G4’使用有損壓縮演算法壓縮圖形單元資 接著進行步驟306。 ' =驟305’使用無損壓縮演算法壓縮圖形單元資 接者進行步驟306。 、 於步驟306,計管φ —门 接著谁> + 十t出该圖文單元所佔用的儲存空間ί 搔者進仃步驟307。 於步驟307,於铋为ρ你 義,装 、儲存緩衝區完成該圖文單元的資料資料一= 括建立識別碼、屬性碼 用二間是否足約使用,若不夠 9,否則進行步驟310。 於步驟309,儲在生弘 於乎失並結束儲存處理程序。 '乂驟310,判斷日乂 址,若不是田% ^ 刖位址是否為所有資料的最後, 於步驟311,將目Lt步驟311;否料行步驟31 儲存空間,接著進行步::2起的所有内容向後移終 丨本纸張尺¥適用 五 料 料 丨X 297公釐) 接 若不需要壓縮,貝】J 若不需要保留,則 裝---- (請先閱讀背面之注意事項再填寫本頁) · I I I I I I . % 490621 五 B7 發明說明(9 ) 於步驟312,將圖 早疋序號加1,並結束儲存處理“位址,並將圖文 請參閱第5圖,孫 ^ , 、衣不應用本發明 輯中的資料刪除處理之程序流 5文碥輯方法將編 邦斷是否單個刪除,若 面 ’進行步驟4〇〇, 否則進行步驟403。_早固刪除時,則進行步驟4〇1 / 於步驟401,計算誃 一 下-個圖文單元的儲存::,:::=空間Ν,並找到 移動Ν個儲存空間,接著進行將步驟:有的圖文單元向前 於步驟402,將刪除圖文單元以 圖文單元序號各減j,並姓 、斤有圖文單元之 並結束刪除處理程序。 〈 於步驟403,邦斷是否整彳f 則進行步驟氣·否則進行步驟彻。^仃刪除時, 於步驟404,計算本行一 及圖文單元個數,,並找到:有圖文早70總儲存空間p以 .找下一仃百儲存位址,將1德所 有圖文單元向前移動儲存空間P,接著進行步驟4〇Γ 文單於=Γ5 ’對刪除圖文單元錢所有圖文單元之圖 早70序號各$ m’ I结束刪除處理程序。 於步驟406,判斷是否刪除全部圖文單元,若為全部 刪除時,料行步驟衛;否則結相除處理程序。 於步驟407,將儲存位址内的資料全部清除為零,並 結束刪除處理程序。 °月參閱第6圖,係顯示應用本發明圖文編輯方法將儲 存中的圖文單7C顯示處理之程序流程圖。首先,於步驟 —__________ 公釐) 9 ^ 清 訂 線 本^^適用中_家標準(CNS)A4規格⑵f 知啊說明(10 ) 5〇〇 , 44j 守目前的圖文單元# 於步驟501,判斷是"*,接著進行步驟501。 則進行步帮氣·否列進二到圖文單元指標,若未找到 你來 則進仃步驟503。 於步驟502,顯示出錯訊 外於步驟503,邦斷圖文單: 顯示處理過程< 符號單元,若為斤兀、類型是否為鍵入的文与 進行步驟504 Γ予付^單元時,則進行步驟5H);否貝, 有效時斷錯存緩衝區内的資料是否有效,若 τ 則進仃步驟51】·术: 於步驟⑽,判斷圖=進行步驟5〇5。 壓時,則+ _ ς /早兀貧料是否被壓縮,若被縮 ^心步驟5〇6;否則進行步驟5〇7。 圖‘=壓:據:=:^ 驟507,判斷圖形單元的顯示大小是否滿 求,若未逹成要求時,則 要 於步驟细,調整至、爲/的顯—則進行步驟5〇9。 509。 至滿足的顯不大小,接著進行步驟 於步驟509, 進行步驟5 11。 傳送圖形單元資料至儲存緩衝區 接著 於乂驟510,從字庫中讀取對應的内碼值至 區’接著進行步驟511。 ^衝 於步驟511,把儲存緩衝區的圖文單元資料顯示, 結束顯示處理過程。 、 清參閱第7圖,係顯示應用本發明圖文編輯方法進行 國豕標準(CNS)A4規格(21〇 X 297 B7 經濟部智慧財產局員工消費合作社印製 五、發明說明(11 編輯處理之程序流程圖 輸入圖文單元,^ 先,於步驟600,判斷是否有 601;否則進行步右驟二文單元訊號輸入時’則進行步綠 於步騍6(n,耠Λ固 〇 插入,接著進 11 θ文單元或將剪貼板内的圖文單元 伐者進仃步驟604。 於步驟602,判齡曰: 元時,則進行步驟&㈣除圖文單元,若刪除圖文單 ^ 03,否則進行步驟605。 於步驟603, w Q 乂 甚至所^㈤ 1除目則所指定的圖文單元’或整行, 所有的圖文單元,接著進行步驟604。 ^步驟6〇4,經由操作後,根據儲存緩衝 重新顯示編輯畫面,接著進行步驟州。 “ 於步驟6〇5,判斷是否結束編輯處理,若確認結束時, 則結束編輯處理過程;否則返回前述步驟繼。 ’左由第4圖至第7圖的運作流程圖可得,本發明係針 對由使用者所鍵入的文字符號單元以及手寫輸入的圖形單 疋提供共存編輯處理,並且為因應不同的資料類型而各別 建立的識別碼、屬性碼,及資料記錄喝,並根據其圖文單 疋序號順序地儲存在記憶模組令,便於使用者進行編輯處 理。 以識別碼具體說明而言,採用不定長方式時,文字符 號單元使用一個位元組的ASCII碼,但不包括用以擴充的 OxFF,而中、曰、韓等文字用擴充碼,即由〇xFF開始, 而最後的二個位元組碼值OxFFFF留出作為擴充之用;而 圖形單元,即用OxFFFFFF作為其圖文單元的識別碼。 C請先閱讀背面之注意事項再填寫本頁) 裝 訂---- -丨線. 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 11 16205 490621 五、發明說明(12 ) 對於圖形單元的屬性辱而言—、 記錄圖形單元的儲存* 1 、 一個位兀組用以 — 咕 、’但並不包括識別碼在内的复你 資料;第三個位元組印 彳”隹円的其他 (請先閱讀背面之注意事項再填寫本頁) 表示圖形資料經由無損…禾壓縮1 損壓縮處理;第四、五個 不圖形貧料經由有V. Description of the invention (5) The identification code, attribute code, and f code of the different types of data of the text symbol unit and the graphic unit are recorded from the Jiubai material, and the graphic list 11 in the module is stored in the When you edit different types of data, you can also copy and cut them under the different types of function modules. In order to make the above and the basin of the present invention easier to understand, the toilet ^,, and the characteristics and advantages of the present invention will be made clearer, and in accordance with the formula, the embodiment of the full moon will be described in detail. The contents are briefly described as follows: Figure 1 is a block diagram showing the basic structure of the present invention; Figure 2 is a schematic diagram showing the editing data that should be stored sequentially; g Graphic editing Figure 3 of the method is a schematic diagram, man ^ 4 man…, the storage structure of the map. Figure 4 is a flowchart of the operation, ~ the storage processing program flow of the mouth; ", without inventing the graphic editor: Figure 5 This is the operation flow chart, which shows the method of deleting the data in editing. "Pictures and Editing #" Figure 6 is the operation flow chart, which is: drawing; The method will display the processing of the wrong text unit: =: invention Figure 7 Figure 7 is a flowchart of the operation flowchart sequence and the process flow of the method into the editing process _: the detailed description of the preferred embodiment of the text editor ^ please refer to Figure 1 A block diagram of this architecture is displayed. The basic emperor of the Z-text editing system of the present invention 5 16205 -------------- install --- (Please read the precautions on the back before filling this page) Order ----- -------- nnn · 490621 A7 __B7 V. Description of the invention (6 10, an input module 11, a memory module 12 蝼 display dryness 1n m 乂 and a control module 13 〇 Provincial display is not Module 10 is used to display the editing UI for users to perform editing operations with keys: or hand = two: ^ 'The memory module 12 is used to temporarily store the input module.亓, Fu Lai's morning 疋 or the graphic unit and text symbol unit temporarily stored for display of the model ㈣ 早 儿 and the text with storage to save the user's handwriting ... ^-display-graphics The unit and the text typed by the user are stored in the field, and the old unit is stored at £ 121; and the control module 13 is used to process the actions between the aforementioned modules. The user enters through the input The module u son-in-law and the U-word are edited early. These pictures = as early as including the text symbol unit input by the keyboard and the stylus pen. Set and enter the graphic unit 'When editing, temporarily save the input graphic unit in the storage buffer 12. Display it on the display module M. Temporarily store in the storage #Cooperative Department of the Ministry of Economic Affairs Intellectual Property Bureau Employee Consumption Cooperative Printing: " See Figure 2 on the 2nd of the month, which is a schematic diagram showing the sequential storage of edited data using the graphic editing method of the present invention. When a user wants to store the edited data in the graphic and text storage area 121, first, When saving the building, you can create a file header at the starting address of the file to provide function expansion and record some file information, such as file type, file size, file name, file creation time, … And so on. Then, sequentially store the data of the file ^ Refer to Figure 3, which shows the schematic diagram of the storage structure of Figure 2. When a graphic unit is stored, it will be determined whether the graphic unit is a graphic unit or Text symbol unit in order to distinguish different types of data. Among them, the storage structure knife is two parts, the first part is an identification code Ln, which can be fixed length / 16205 490621 Ministry of Economic Affairs intellectual property A7 printed by the employee's consumer cooperative. V. Invention Description (7 The identification code of indefinite length, for the typed text symbol unit, it is an internal code value of the machine, and includes only this part. Generally, Ascn, = G5, GB, UNIC0DE, etc., are displayed according to the identification code ^ from the corresponding address of the font library when displayed, and for handwritten input graphics early yuan and σ, it is allocated an original space and can be used with other text symbol units The distinguished internal code value of the machine is used as the identification code of the graphics unit. The second part is an attribute code Μη. This part is only available for the graphics unit. Its length is fixed. It records the various properties of the graphics unit, such as the graphic. The storage space N is used by the unit ^ Lu, whether it is compressed, the type of compression, the width of the display and =: •, etc .; the third part is a data record code Nη, this part is only available in the first two graphics, and its length is uncertain. It is used to record the actual graphics unit data. It may be in compressed or uncompressed format. As shown in the figure, the graphic unit indicator points to the address 8000Η, which means that the current graphic unit 7L storage address 30. If the graphic unit storage address is used to store text symbol units, this part has an identification code ^, If the storage location of the graphic unit is 30, which is used to store a graphic unit, the P knife P has the identification code Ln, the attribute code Mη, and the data record code. The knife occupies L bytes and centimeters σ. – Only U, U, and N bit groups. And:-The indicator of the previous graphic unit is the storage location of the previous graphic unit 20, and at the end of ^ storage address 30, it is the storage operation flowchart of the storage location of the next graphic unit, which shows the graphics of the present invention.轮 ”__ Baixian, in step 300 ', it is determined in step 300' that the user ’s turn ^ element is a character's text unit or hand-written 1620? ----------- --- install -------- order --------- line (please read the precautions on the back before filling this page) 490621 A7 B7, invention description (8) graphic unit, if it is a text If the total percentage is __, go to step 301. If it is too early, go to step 306; otherwise, proceed to: Γ3.1. Temporarily save the handwritten graphic unit to the storage buffer and proceed to step 302. At step 302, determine whether If compression is required, proceed to step 306; otherwise, proceed to step 303. At step 303, determine whether to keep the true trace and proceed to step 304; otherwise, proceed to step 305 .: Step 3G4 'Use a lossy compression algorithm to compress the graphics unit data and then proceed to step 306 '= Step 305' Use a lossless compression algorithm to compress the graphics unit, and then proceed to step 306. At step 306, count φ Who next to the door > + ten out of the storage space occupied by the graphic unit, step 307. In step 307, in bismuth, you install and store the buffer to complete the data of the graphic unit. 1 = Including whether the identification code and attribute code are used for the two rooms, if not enough, go to step 310. At step 309, the store is in the wrong place and end the storage process. 'Step 310, determine the date address If it is not Tian% ^ 刖 If the address is the last of all the data, in step 311, step 311; otherwise, go to step 31 to save the space, and then move all the content from step 2: 2 back to the end 丨 this paper Zhang ruler ¥ Applicable for five materials 丨 X 297 mm) If compression is not needed, then shell] J If you don't need to keep, then install ---- (Please read the precautions on the back before filling this page) · IIIIII.% 490621 Five B7 invention description (9) In step 312, add 1 to the serial number of the picture, and end the storage process "address, and refer to Figure 5 for the picture and text. The process of data deletion processing Whether to delete them individually, go to step 400 if not, otherwise go to step 403. _In case of early solid deletion, go to step 401 / at step 401, calculate the storage of one graphic unit ::, ::: = space N, and find and move N storage spaces, and then proceed to step: Some graphic units proceed to step 402, and the deleted graphic units are decremented by j by the graphic unit number, and the last name and the graphic unit are deleted, and the deletion process ends. 〈At step 403, if you want to determine if you want to correct f, go to step. Otherwise, go to step. ^ 仃 When deleting, in step 404, calculate the number of the first line and the graphic unit of the bank, and find: there is a total storage space p of 70 as early as the text. Find the next hundred storage addresses, and all the texts of 1 The unit moves the storage space P forward, and then proceeds to step 4. The file list is at Γ5 'to delete all the graphic units of the graphic unit, and the serial number of each of the graphic units is 70 as early as $ m'. I end the deletion process. In step 406, it is judged whether to delete all the graphic and text units. If it is all deleted, the step is performed; otherwise, the division processing program is performed. In step 407, all the data in the storage address are cleared to zero, and the deletion process ends. Refer to FIG. 6 for a flow chart showing a procedure for displaying the stored text list 7C by applying the graphic editing method of the present invention. First, at step — __________ mm) 9 ^ Clear the book ^ ^ Applicable in China _ home standard (CNS) A4 specifications ⑵f know (10) 50, 44j keep the current graphic unit # in step 501, The judgment is " *, then proceed to step 501. Then go step by step. If no, enter the second to graphic unit index. If you are not found, go to step 503. In step 502, an error message is displayed. In addition to step 503, the graphic text sheet is displayed: display processing < symbol unit, if it is a catty, the type is a typed text, and step 504 is performed when the prepaid unit is performed Step 5H); No, whether the data in the error storage buffer is valid when valid. If τ, proceed to step 51]. Operation: In step 判断, determine the picture = go to step 505. When pressing, then + _ / / early Wu Lean material is compressed, if it is reduced ^ step 506; otherwise proceed to step 507. Figure '= Press: According to: =: ^ Step 507, determine whether the display size of the graphic unit is full. If it is not completed, you need to fine-tune the steps to the display of /, then go to step 509. . 509. If the displayed size is satisfied, proceed to step 509 and proceed to step 5-11. Send the graphic unit data to the storage buffer. Then, in step 510, read the corresponding internal code value from the font to the area ', and then proceed to step 511. ^ In step 511, display the graphic unit data in the storage buffer, and end the display processing process. Please refer to Figure 7, which shows the application of the graphic editing method of the present invention to the national standard (CNS) A4 specification (21 × 297 B7). Printed by the Consumer Consumption Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. The program flow chart enters the graphic unit. ^ First, in step 600, determine whether there is 601; otherwise, if the signal input of the second text unit is performed at the right step, then step green is inserted at step (6 (n, 耠 Λ 固 〇, then Enter the 11 θ text unit or delete the graphic unit in the clipboard into step 604. At step 602, the age is judged as follows: If the time is Yuan, proceed to step & delete the graphic unit, and delete the graphic list ^ 03 Otherwise, proceed to step 605. In step 603, w Q 乂 even deletes the graphic units specified by the heading or the entire line, all the graphic units, and then proceeds to step 604. ^ Step 6〇4, After the operation, the editing screen is re-displayed according to the storage buffer, and then the step state is performed. "At step 605, it is judged whether to end the editing process, and if the confirmation is completed, the editing process is ended; otherwise, return to the previous step to continue. 4th to first The operation flowchart of FIG. 7 can be obtained. The present invention provides coexistence editing processing for the text symbol units and handwritten input graphic cards entered by the user, and the identification codes and attributes are created for different types of data. Codes and data records, and sequentially stored in the memory module order according to the serial number of their text and text, which is convenient for users to edit. As for the identification code, specifically, when the variable length method is used, the text symbol unit uses one The byte ASCII code, but does not include the OxFF for expansion, and the Chinese, Japanese, Korean and other characters use the expansion code, starting from 0xFF, and the last two byte code values OxFFFF are reserved for expansion The graphic unit is OxFFFFFF as the identification code of the graphic unit. C Please read the precautions on the back before filling in this page.) Binding----. This paper size applies Chinese National Standard (CNS) A4 specification (210 X 297 mm) 11 16205 490621 V. Description of the invention (12) For the attribute shame of the graphics unit—, recording the storage of the graphics unit * 1, a bit group used to— Gu, 'but not your identification information including the identification code; the third byte printed "彳" other (please read the precautions on the back before filling this page) indicates that the graphic data is lossless ... 1 loss compression processing; the fourth and fifth non-graphical lean materials pass through
形原跡的寬與高。該屬& H /屬性碼長度為5個位元組, 之後的位元組即用以表干.却岡來w ^ Γ生石馬 不為該圖形早疋的圖形資料記錄。 本發明圖文編輯方法以及系統係藉由上述的定義碼以 及儲存結構’使得以執跡矢量及位圖之手寫辦識編輯功能 模組與以内建字庫沟碼對應的鍵入編輯功能模組可整合為 共存的編輯操作’因此在任意的編輯功能模組中的内容皆 可以相互進行複製、剪貼,並具有—致性的操作方式,二 使用者更便於資料編輯。 以上所述僅為本發明之較佳實施例而已,並非用以限 定本發明之範圍;凡其它未脫離本發明所揭示之精神下所 完成之等效改變或修飾,均應包含在下述之專利範圍内。 [元件符號說明] 經濟部智慧財產局員工消費合作社印製 1 圖文編輯系統 10 顯示模組 11 輸入模組 12 記憶模組 13 控制模組 20 上一個圖文單元 30 目前圖文單元 40 下一個圖文單元 120 儲存緩衝區 121 圖文單元儲存區 Ln 識別碼 Μη 屬性碼 Nn 資料記錄碼 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 12 16205The width and height of the original trace. The genus & H / attribute code is 5 bytes in length, and the subsequent bytes are used to express the dryness. However, gangganglai w ^ Γ Shengshima is not a record of the graphic data of this image. The graphic and text editing method and system of the present invention use the above-mentioned definition code and storage structure to enable the handwriting recognition editing function module based on track vectors and bitmaps and the typed editing function module corresponding to the built-in font groove code. Editing operations for coexistence '. Therefore, the content in any editing function module can be copied, cut and pasted with each other, and has a consistent operation mode. The two users are more convenient for data editing. The above are merely preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent changes or modifications made without departing from the spirit disclosed by the present invention shall be included in the following patents Within range. [Description of component symbols] Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 1 Graphic editing system 10 Display module 11 Input module 12 Memory module 13 Control module 20 Previous graphic unit 30 Current graphic unit 40 Next Graphic unit 120 storage buffer 121 Graphic unit storage area Ln identification code Mn attribute code Nn data recording codebook paper size applicable to China National Standard (CNS) A4 specification (210 X 297 mm) 12 16205