KR102087247B1 - Web electric document editing apparatus for rendering drawing object and operating method thereof - Google Patents
Web electric document editing apparatus for rendering drawing object and operating method thereof Download PDFInfo
- Publication number
- KR102087247B1 KR102087247B1 KR1020180074177A KR20180074177A KR102087247B1 KR 102087247 B1 KR102087247 B1 KR 102087247B1 KR 1020180074177 A KR1020180074177 A KR 1020180074177A KR 20180074177 A KR20180074177 A KR 20180074177A KR 102087247 B1 KR102087247 B1 KR 102087247B1
- Authority
- KR
- South Korea
- Prior art keywords
- rendering
- information
- electronic document
- drawing object
- key
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
- Processing Or Creating Images (AREA)
Abstract
본 발명에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치 및 이의 동작 방법은 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱한 후 파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구를 이용하여 렌더링하여 렌더링 이미지를 생성하는 방식으로 드로잉 개체에 대한 데이터를 경량의 표현 형식으로 렌더링 툴에 제공하여, 메모리 사용률을 최소화하고, 렌더링 속도를 향상시킬 수 있다.Web electronic document editing apparatus for rendering a drawing object and an operation method thereof according to the present invention, the rendering meta information and rendering information generated based on the position information and size information of each of a plurality of drawing objects included in the electronic document; After parsing rendering data that is sequentially included according to the location information of each of the plurality of drawing objects, a rendering image is generated by sequentially rendering drawing objects corresponding to the rendering information by using a preset rendering tool. In this way, data about the drawing objects can be provided to the rendering tool in a lightweight representation, minimizing memory utilization and improving rendering speed.
Description
본 발명은 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치 및 이의 동작 방법에 대한 것이다.The present invention relates to a web electronic document editing apparatus for rendering a drawing object and a method of operating the same.
웹 문서는 웹 브라우저를 통해서 볼 수 있는 문서로, HTML(Hypertext Markup Language)이나 XML(eXtensible Markup Language)과 같이, 마크업 언어(Markup Language)를 기반으로 작성된 문서를 의미한다.A web document is a document that can be viewed through a web browser, and refers to a document written based on a markup language such as HTML (Hypertext Markup Language) or XML (eXtensible Markup Language).
웹 브라우저에서는 웹 문서를 렌더링하여 화면으로 표시하기 위해서, 문서 객체 모델(Document Object Model: DOM)을 사용한다. DOM은 객체 지향 모델로써 구조화된 문서를 표현하는 형식이고, 그래픽, 텍스트, 헤드라인, 스타일 등 웹의 모든 요소가 자바 스크립트(Java Script) 등과 같은 스크립트 언어에 의해 조정될 수 있도록 해준다.Web browsers use the Document Object Model (DOM) to render and display web documents on the screen. The DOM is an object-oriented model for representing structured documents, allowing all elements of the web, such as graphics, text, headlines, and styles, to be manipulated by scripting languages such as Java Script.
웹 브라우저에서는 마크업 언어를 기반으로 작성된 웹 문서를 파싱(parsing)하여 돔(DOM) 트리를 생성하고, 상기 돔 트리에 스타일 정보를 병합하여 렌더링 트리를 생성한 후 드로잉 개체의 위치 정보에 기초하여 페인팅하는 과정을 거쳐야 하므로, 상기 웹 문서에 다수의 페이지들이 포함되고, 다수의 페이지들 각각에 다수의 드로잉 개체가 포함되어 있는 경우, 이들을 표현하기 위해서는 상당히 많은 연산을 수행하여야 하고, 이에 따라, 사용자의 웹 문서 열람 요청에 대한 응답 시간이 지연될 수 있다는 문제점이 있다.A web browser parses a web document written based on a markup language to generate a dome tree, merges style information into the dome tree, generates a render tree, and then generates a rendering tree based on location information of a drawing object. Since the web document includes a plurality of pages, and a plurality of drawing objects are included in each of the plurality of pages, a large number of operations must be performed to express them. There is a problem that the response time for the web document viewing request can be delayed.
본 발명에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치 및 이의 동작 방법은 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱한 후 파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구를 이용하여 렌더링하여 렌더링 이미지를 생성하는 방식으로 드로잉 개체에 대한 데이터를 경량의 표현 형식으로 렌더링 툴에 제공하여, 메모리 사용률을 최소화하고, 렌더링 속도를 향상시킬 수 있게 하고자 한다.Web electronic document editing apparatus for rendering a drawing object and an operation method thereof according to the present invention, the rendering meta information and rendering information generated based on the position information and size information of each of a plurality of drawing objects included in the electronic document; After parsing rendering data that is sequentially included according to the location information of each of the plurality of drawing objects, a rendering image is generated by sequentially rendering drawing objects corresponding to the rendering information by using a preset rendering tool. In this way, the data for the drawing object is provided to the rendering tool in a lightweight representation format to minimize the memory usage and improve the rendering speed.
본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치는 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱하는 렌더링 데이터 파싱부 및 파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구를 이용하여 렌더링하여 렌더링 이미지를 생성하는 렌더링부를 포함한다.The web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention may render the rendering meta information and the rendering information generated based on location information and size information of each of a plurality of drawing objects included in the electronic document. A rendering data parsing unit for parsing rendering data sequentially included in accordance with position information of each of a plurality of drawing objects and a rendering object corresponding to the rendering information sequentially according to the parsing order, by rendering using a preset rendering tool. It includes a renderer for generating an image.
또한, 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법은 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱하는 렌더링 데이터 파싱 단계 및 파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구를 이용하여 렌더링하여 렌더링 이미지를 생성하는 렌더링 단계를 포함한다.In addition, the operating method of the web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention rendering meta information generated based on the location information and size information of each of a plurality of drawing objects included in the electronic document And a rendering data parsing step of parsing rendering data sequentially including rendering information according to position information of each of the plurality of drawing objects, and a drawing object corresponding to the rendering information sequentially according to the parsing order. And a rendering step of rendering using the image to generate the rendered image.
본 발명에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치 및 이의 동작 방법은 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱한 후 파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구를 이용하여 렌더링하여 렌더링 이미지를 생성하는 방식으로 드로잉 개체에 대한 데이터를 경량의 표현 형식으로 렌더링 툴에 제공하여, 메모리 사용률을 최소화하고, 렌더링 속도를 향상시킬 수 있다.Web electronic document editing apparatus for rendering a drawing object and an operation method thereof according to the present invention, the rendering meta information and rendering information generated based on the position information and size information of each of a plurality of drawing objects included in the electronic document; After parsing rendering data that is sequentially included according to the location information of each of the plurality of drawing objects, a rendering image is generated by sequentially rendering drawing objects corresponding to the rendering information by using a preset rendering tool. In this way, data about the drawing objects can be provided to the rendering tool in a lightweight representation, minimizing memory utilization and improving rendering speed.
도 1은 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 구성을 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법을 도시한 흐름도이다.1 is a diagram illustrating a configuration of a web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention.
2 is a flowchart illustrating a method of operating a web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention.
이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. This description is not intended to limit the invention to the specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the invention. In describing the drawings, similar reference numerals are used for similar components, and unless otherwise defined, all terms used in the present specification, including technical or scientific terms, may be used in the art to which the present invention pertains. It has the same meaning as is commonly understood by someone who has.
도 1은 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치(100)의 구성을 도시한 도면이다.FIG. 1 is a diagram illustrating a configuration of a web electronic
도 1을 참조하면, 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치(100)는 데이터 수신부(110), 웹 브라우저(120), 디스플레이부(130), 렌더링 데이터 파싱부(140), 렌더링부(150), 렌더링 데이터 생성부(160) 및 이미지 저장부(170)를 포함할 수 있다. Referring to FIG. 1, the web electronic
여기에서, 웹 브라우저(120)는 웹 전자 문서 편집 서버(200)로부터 제공되는 웹 전자 문서 편집기를 구동하여 웹 전자 문서 편집 서버(200)로부터 제공되는 웹 전자 문서를 편집할 수 있는 인터넷 익스플로러, 크롬, 사파리 등의 웹 브라우저일 수 있다. 여기에서, 웹 전자 문서는 하기 표 1과 같이 개체 아이디 및 개체 값으로 구성된 다수의 개체들을 포함할 수 있다.Here, the
여기에서, 상기 웹 전자 문서는 다수의 개체들을 각각 포함하는 다수의 그룹들로 구성되며, 상기 다수의 그룹들은 서식 그룹 및 콘텐츠 그룹을 포함하고, 상기 다수의 개체들 각각은 개체 아이디 및 개체 값을 포함할 수 있다. 여기에서, 서식 그룹은 글자 모양 정보를 나타내는 서식 그룹, 탭 모양 정보를 나타내는 서식 그룹 등 다양한 하위 서브 그룹으로 구성될 수 있다. 한편, 개체들 각각은 개체 아이디가 키이고, 개체 값이 밸류인 키-밸류 포맷(Key-Value Format)의 데이터일 수 있다.Herein, the web electronic document is composed of a plurality of groups each including a plurality of entities, the plurality of groups including a form group and a content group, each of the plurality of entities having an entity ID and an entity value. It may include. Here, the format group may be composed of various sub-groups such as a format group representing letter shape information and a format group representing tab shape information. Meanwhile, each of the entities may be data in a key-value format in which the entity ID is a key and the entity value is a value.
서식 그룹은 글자 모양 정보, 탭 모양 정보, 문단 번호 모양 정보, 글머리표 모양 정보, 문단모양 정보, 스타일 정보 등과 같이, 문서 서식에 대한 정보를 나타내는 개체를 포함하며, 콘텐츠 그룹은 웹 전자 문서에 삽입될 수 있는 도형, 이미지, 표, 텍스트 등을 의미한다. 추가로, 서식은 콘텐츠의 색상, 형태 등을 나타내기 위한 것으로, 콘텐츠가 텍스트인 경우에는 텍스트의 글꼴, 색상, 크기 등을 텍스트 콘텐츠에 대한 서식이라고 할 수 있고, 콘텐츠가 표인 경우에는 표에 포함되어 있는 셀의 색상 등이 표 콘텐츠에 대한 서식이라고 할 수 있다. 한편, 도형의 경우 하나의 도형마다 하나의 콘텐츠이고, 표의 경우 표가 하나의 콘텐츠이며, 표 안에 삽입된 도형, 이미지, 표, 텍스트 등도 각각마다 하나의 콘텐츠이고, 텍스트의 경우 서식이 동일한 단어, 소정 길이의 문자열이 하나의 콘텐츠일 수 있다.Form groups contain objects that represent information about document formatting, such as glyph information, tab shape information, paragraph number shape information, bullet shape information, paragraph shape information, style information, and so on. Means figures, images, tables, texts, etc. that can be. In addition, the format is intended to indicate the color, shape, etc. of the content. If the content is text, the font, color, size, etc. of the text may be referred to as the format for the text content. The color of the cells, etc., can be said to be the format for the table contents. Meanwhile, in the case of a figure, one content is provided for each figure, and in the case of a table, a table is one content, and a figure, an image, a table, and a text inserted in the table are each one content, and in the case of text, a word having the same format, A string of a predetermined length may be one piece of content.
관련해서, 표 1을 참조하면, 상기 전자 문서에 포함되어 있는 도형에 대한 개체(이하에서는, 드로잉 개체라고 함)는 드로잉 개체의 개체 아이디에 대응하여 드로잉 개체의 유형을 나타내는 키 “type”, 드로잉 개체의 상기 전자 문서 상에서의 배치 상태를 나타내는 키 “배치”, 드로잉 개체의 상기 전자 문서 상에서의 x 성분의 시작 위치를 나타내는 키 “Sx”, 드로잉 개체의 상기 전자 문서 상에서의 y 성분의 시작 위치를 나타내는 키 “Sy”, 드로잉 개체의 너비를 나타내는 키 “w”, 드로잉 개체의 높이를 나타내는 키 “h”, 드로잉 개체의 색상을 나타내는 키 “Color” 및 드로잉 개체의 점선, 실선 등과 같은 선의 유형을 나타내는 키 “Pattern”과 이들 키에 대한 밸류를 포함하는 개체 값 등으로 구성될 수 있다. 여기에서, 표 1과 같이, 드로잉 개체는 드로잉 개체의 유형에 따라 서로 다른 개수의 키들 및 밸류들을 포함할 수 있다. 여기에서, 키 “type”에 대응하는 밸류가 Rect인 경우 사각형을 나타내고, Line인 경우 선을 나타내며, 키 “배치”에 대응하는 밸류가 자리 차지인 경우 드로잉 개체와 본문 간의 배치가 어울림, 자리 차지, 글 앞으로, 글 뒤로 중 자리 차지인 경우를 나타낼 수 있다. 이때, 키 “Color”가 개체 아이디 1인 경우, 개체 아이디 1을 가지는 개체의 개체 값이 키 “Color”의 밸류임을 나타낸다.Relatedly, referring to Table 1, an object (hereinafter referred to as a drawing object) for a figure included in the electronic document is a key “type” indicating a type of the drawing object corresponding to the object ID of the drawing object. The key “placement” indicating the placement of the object on the electronic document, the key “Sx” indicating the start position of the x component on the electronic document of the drawing object, the start position of the y component on the electronic document of the drawing object. Key “Sy”, key “w” for the width of the drawing object, key “h” for the height of the drawing object, key “Color” for the color of the drawing object, and the type of lines such as dotted line, solid line, etc. of the drawing object. It may consist of a key "Pattern" that represents it, and an entity value that contains values for those keys. Here, as shown in Table 1, the drawing object may include different numbers of keys and values according to the type of the drawing object. Here, when the value corresponding to the key “type” is Rect, it represents a rectangle; when Line is a line; when the value corresponding to the key “layout” is a place occupancy, the arrangement between the drawing object and the body matches and occupies a place. It can indicate the case of occupying one of the positions before, post, and post. At this time, when the key "Color" is the entity ID 1, it indicates that the entity value of the entity having the entity ID 1 is the value of the key "Color".
관련해서, 상기 전자 문서에 포함되어 있는 드로잉 개체를 디스플레이부(130)를 통해 표현하기 위해서는, 전자 문서를 파싱하여 돔(DOM : Document Object Model) 트리를 생성하고, 상기 돔 트리에 스타일 정보를 병합하여 렌더링 트리를 생성한 후 드로잉 개체의 위치 정보에 기초하여 페인팅하는 과정을 거쳐야 하므로, 연산량이 상당하다는 문제점이 있다.In this regard, in order to express the drawing object included in the electronic document through the
이하에서는, 드로잉 개체에 대한 데이터를 경량의 표현 형식으로 제공하여, 연산량 및 메모리 사용률을 최소화하고, 렌더링 속도를 향상시킬 수 있는 방법을 설명하기로 한다.Hereinafter, a method of providing data about a drawing object in a lightweight representation format to minimize the amount of computation and memory usage and to improve rendering speed.
데이터 수신부(110)는 상기 웹 전자 문서 편집 서버(200)로부터 상기 전자 문서 및 렌더링 데이터를 수신할 수 있다. 여기에서, 렌더링 데이터는 상기 전자 문서를 저장하고 있는 웹 전자 문서 편집 서버(200)가 웹 전자 문서 편집 장치(100)로부터 상기 전자 문서에 대한 열람 요청을 수신하면, 상기 웹 전자 문서 편집 서버(200)에 저장되어 있는 상기 전자 문서를 상기 웹 전자 문서 편집 장치(100)에 송신하면서, 동시에 상기 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각에 대한 렌더링 메타 정보와 렌더링 정보를 생성한 후 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 상기 렌더링 메타 정보와 렌더링 정보를 순차적으로 포함하여 렌더링 데이터를 생성한 후 상기 웹 전자 문서 편집 장치(100)에 송신할 수 있다.The
여기에서, 렌더링 메타 정보는 드로잉 개체의 다수의 개체 값들 중 전자 문서 상의 위치 및 크기에 대한 정보들, 즉, 상기 드로잉 개체의 위치 정보 및 크기 정보를 나타내는 사전 설정된 개체 값들을 포함할 수 있으며, 렌더링 정보는 드로잉 개체의 다수의 개체 값들 중 전자 문서를 페인팅, 즉, 디스플레이할 때, 상기 다수의 드로잉 개체들 각각을 표현하기 위한 정보들, 즉, 상기 드로잉 개체의 도형 유형, 넓이, 폭, 색상 및 패턴 정보를 나타내는 사전 설정된 개체 값들을 포함할 수 있다.Here, the rendering meta information may include preset object values indicating information on the position and size on the electronic document among the plurality of object values of the drawing object, that is, position information and size information of the drawing object. The information includes information for representing each of the plurality of drawing objects when painting, ie, displaying an electronic document of a plurality of object values of a drawing object, namely the shape type, width, width, color and the like of the drawing object. It may include preset entity values representing pattern information.
예를 들어, 렌더링 메타 정보는 다수의 개체 값들 중 키 “배치”, "Sx", "Sy", “w” 및 “h”와 이들 키에 대한 밸류로 이루어지는 개체 값들로 구성되고, 렌더링 정보는 다수의 개체 값들 중 키 "Type", “w”, “h”, "Color" 및 “pattern”과 이들 키에 대한 밸류로 이루어지는 개체 값들로 구성될 수 있다. 예컨대, 상기 웹 전자 문서 편집 서버(200)가 상기 표 1과 같은 전자 문서로부터 렌더링 메타 정보와 렌더링 정보를 추출하여 하기 표 2와 같은 상기 렌더링 데이터를 생성할 수 있다.For example, rendering meta-information consists of object values consisting of the keys “placement”, “Sx”, “Sy”, “w” and “h” of the plurality of object values and the values for these keys, and the rendering information Among the plurality of entity values, it may consist of entity values consisting of the keys "Type", "w", "h", "Color" and "pattern" and the values for these keys. For example, the web electronic
이때, 상기 웹 전자 문서 편집 서버(200)는 상기 표 1과 같은 전자 문서로부터 렌더링 메타 정보와 렌더링 정보를 추출하여 상기 표 2와 같은 상기 렌더링 데이터를 생성할 때, 상기 전자 문서 상에서의 상기 드로잉 개체들 각각의 위치(즉, 키 “Sx” 및 “Sy”에 대한 밸류)에 기초하여 렌더링 메타 정보와 렌더링 정보의 병합 순서를 결정할 수 있다. 예를 들어, 상기 전자 문서 상에서의 상기 드로잉 개체들 각각의 시작 위치가 앞설수록, 렌더링 메타 정보와 렌더링 정보의 병합 순서가 앞서도록 결정될 수 있다. 이에 따라, 다수의 개체 값들 중 키 "Sx" 및 "Sy"에 따른 시작 위치가 앞서는 것으로 판단되는 개체 아이디 3에 대한 렌더링 메타 정보와 렌더링 정보의 병합 순서가 개체 아이디 4에 대한 렌더링 메타 정보와 렌더링 정보의 병합 순서보다 앞서도록 결정될 수 있다.In this case, when the web electronic
한편, 상기 웹 전자 문서 편집 서버(200)가 상기 표 1과 같은 전자 문서로부터 렌더링 메타 정보와 렌더링 정보를 추출하여 하기 표 2와 같은 상기 렌더링 데이터를 생성할 때, 사전 설정된 개체 값들을 드로잉 개체 헤더 성분으로 판단하여, 상기 렌더링 데이터의 사전 설정된 위치(예컨대, 렌더링 데이터의 시작 위치)에 추가할 수 있다. 예를 들어, 상기 웹 전자 문서 편집 서버(200)는 하기 표 3과 같은 상기 렌더링 데이터를 생성할 수 있다. 이때, 추가되는 드로잉 개체 헤더 성분에 대응하는 개체 값의 밸류는 상기 드로잉 개체 헤더 성분의 개체 아이디를 나타내도록 변경될 수 있다.Meanwhile, when the web electronic
여기에서, 새롭게 추가되는 드로잉 개체 헤더 성분은 개체 아이디 5가 새롭게 할당되며, 개체 아이디 3 및 4를 가지는 개체의 키 “Color”의 밸류는 개체 아이디 1이 아닌 개체 아이디 5를 나타낼 수 있다.Here, the newly added drawing object header component is newly assigned an object ID 5, and the value of the key “Color” of the object having the object IDs 3 and 4 may represent the object ID 5 instead of the object ID 1.
다음으로, 렌더링 데이터 파싱부(140)는 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱할 수 있다. 이에 따라, 렌더링 데이터 파싱부(140)가 상기 렌더링 데이터를 파싱함으로써, 상기 다수의 드로잉 개체들 각각의 위치 정보에 기초하여 상기 다수의 드로잉 개체들 각각의 렌더링 순서가 결정될 수 있다.Next, the rendering
렌더링부(150)는 파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구(155)를 이용하여 렌더링하여 렌더링 이미지를 생성할 수 있다. 여기에서, 사전 설정된 렌더링 도구(155)는 캔버스, SVG(Scalable Vector Graphics) 등과 같이 렌더링 정보에 기초하여 드로잉 개체를 렌더링하여 렌더링 이미지를 생성하는 프로그램 코드일 수 있다.The
여기에서, 렌더링부(150)는 파싱된 순서에 따른 드로잉 개체의 렌더링 정보를 상기 렌더링 도구(155)에 대해 사전 설정된 API(Application Programming Interface)를 이용하여 변환한 후 상기 렌더링 도구(155)에 전달하고, 상기 렌더링 도구(155)가 사전 설정된 API를 이용하여 변환된 렌더링 정보에 기초하여 드로잉 개체를 렌더링하여 렌더링 이미지를 생성한 후 렌더링부(150)에 전달할 수 있다.Here, the
이후, 웹 브라우저(120)는 상기 렌더링 이미지에 상응하는 렌더링 메타 정보에 기초하여 상기 렌더링 이미지의 레이아웃 좌표를 결정하고, 상기 디스플레이부(130)는 상기 렌더링 이미지의 레이아웃 좌표가 디스플레이 영역에 위치하면 상기 렌더링 이미지를 디스플레이할 수 있다. 여기에서, 레이아웃 좌표는 상기 전자 문서에서 상기 렌더링 이미지가 점유하는 영역에 대한 좌표를 나타내고, 디스플레이 영역은 상기 전자 문서에서 상기 디스플레이부(130)가 디스플레이하고 있는 영역을 나타낸다. 예를 들어, 상기 전자 문서가 두 개의 페이지로 이루어져 있고, 상기 렌더링 이미지가 상기 첫 번째 페이지에 위치하는 경우, 상기 전자 문서가 축소되어, 상기 디스플레이부(130)가 두 개의 페이지를 디스플레이하면, 상기 렌더링 이미지의 레이아웃 좌표는 디스플레이 영역에 위치하는 것으로 판단되며, 상기 전자 문서가 확대되어, 상기 디스플레이부(130)가 두 개의 페이지 중 두 번째 페이지만을 디스플레이하면, 상기 렌더링 이미지의 레이아웃 좌표는 디스플레이 영역에 위치하지 않는 것으로 판단될 수 있다.Thereafter, the
한편, 상술한 바와 같은 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치(100)는 상기 데이터 수신부(110)가 웹 전자 문서 편집 서버(200)로부터 상기 전자 문서를 수신하고, 렌더링 데이터를 수신하지 않을 수 있다. 즉, 웹 전자 문서 편집 서버(200)가 상기 전자 문서만을 웹 전자 문서 편집 장치(100)에 전달할 수 있다.Meanwhile, in the web electronic
이때, 렌더링 데이터 생성부(160)는 상기 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각에 대한 렌더링 메타 정보와 렌더링 정보를 생성한 후 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 상기 렌더링 메타 정보와 렌더링 정보를 순차적으로 포함하여 렌더링 데이터를 생성한 후 렌더링 데이터 파싱부(140)에 전달할 수 있다.In this case, the rendering
이에 따라, 상술한 바와 같은 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치(100)는 웹 전자 문서 편집 서버(200)로부터 상기 전자 문서와 상기 렌더링 데이터를 수신한 경우와 마찬가지로, 드로잉 개체를 렌더링할 수 있다.Accordingly, the web electronic
다음으로, 상술한 바와 같은 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치(100)의 이미지 저장부(170)는 상기 생성된 렌더링 이미지를 임시 저장할 수 있다. 구체적으로, 상기 렌더링부는 새로운 렌더링 이미지가 생성되면, 상기 이미지 저장부(170)에 새로운 렌더링 이미지를 전달함으로써, 새로운 렌더링 이미지의 저장을 요청하고, 상기 이미지 저장부(170)는 상기 렌더링부(150)로부터 새로운 렌더링 이미지의 저장 요청을 접수하면, 기 저장되어 있는 렌더링 이미지 중 현재의 디스플레이 영역에서 가장 먼 레이아웃 좌표를 가지는 렌더링 이미지를 삭제한 후 상기 새로운 렌더링 이미지의 저장 요청에 대응하는 렌더링 이미지를 저장할 수 있다. Next, the
도 2는 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법을 도시한 흐름도이다.2 is a flowchart illustrating a method of operating a web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention.
도 2를 참조하면, 단계(S210)에서는 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱할 수 있다.Referring to FIG. 2, in step S210, rendering meta information and rendering information generated based on location information and size information of each of a plurality of drawing objects included in an electronic document may be located in each of the plurality of drawing objects. It is possible to parse rendering data including sequentially according to the information.
단계(S220)에서는 파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구를 이용하여 렌더링하여 렌더링 이미지를 생성할 수 있다.In operation S220, a rendering image may be generated by sequentially rendering drawing objects corresponding to the rendering information in a parsed order using a preset rendering tool.
한편, 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법은 웹 전자 문서 편집 서버로부터 상기 전자 문서를 수신하는 데이터 수신 단계 및 상기 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각에 대한 렌더링 메타 정보와 렌더링 정보를 생성한 후 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 상기 렌더링 메타 정보와 렌더링 정보를 순차적으로 포함하여 렌더링 데이터를 생성하는 렌더링 데이터 생성 단계를 더 수행할 수 있다.Meanwhile, a method of operating a web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention includes a data receiving step of receiving the electronic document from a web electronic document editing server and a plurality of drawings included in the electronic document. After generating the rendering meta information and the rendering information for each of the objects, further comprising the rendering data generation step of generating the rendering data by sequentially including the rendering meta information and the rendering information according to the position information of each of the plurality of drawing objects Can be done.
한편, 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법은 상기 렌더링 데이터는 상기 전자 문서를 저장하고 있는 웹 전자 문서 편집 서버가 상기 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각에 대한 렌더링 메타 정보와 렌더링 정보를 생성한 후 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 상기 렌더링 메타 정보와 렌더링 정보를 순차적으로 포함함으로써 생성되고, 상기 웹 전자 문서 편집 서버로부터 상기 전자 문서 및 상기 렌더링 데이터를 수신하는 단계를 더 수행할 수 있다.On the other hand, the operating method of the web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention, the rendering data is a plurality of electronic electronic document editing server that stores the electronic document is included in the electronic document After generating the rendering meta information and the rendering information for each of the drawing objects are generated by sequentially including the rendering meta information and the rendering information according to the position information of each of the plurality of drawing objects, and generated from the web electronic document editing server The method may further include receiving the electronic document and the rendering data.
아울러, 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법은 상기 렌더링 데이터는 키 및 밸류로 구성되는 다수의 드로잉 개체 헤더 성분들을 포함하는 드로잉 개체 헤더 데이터를 더 포함하고, 상기 다수의 드로잉 개체들 각각의 상기 렌더링 정보는 키 및 밸류로 구성되는 개체 값들을 포함하되, 상기 개체 값들 중 상기 드로잉 개체 헤더 성분들에 대응하는 개체 값의 밸류는 대응하는 드로인 개체 헤더 성분의 키로 표현될 수 있다.In addition, the operating method of the web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention, the rendering data further includes drawing object header data including a plurality of drawing object header components consisting of a key and value The rendering information of each of the plurality of drawing objects includes entity values consisting of a key and a value, wherein a value of an entity value corresponding to the drawing entity header components among the entity values corresponds to a draw-in entity header. It can be represented by the height of the component.
마지막으로, 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법은 상기 생성된 렌더링 이미지를 임시 저장하는 이미지 저장부를 유지하는 단계를 더 수행하고, 상기 이미지 저장부를 유지하는 단계는 상기 렌더링부로부터 새로운 렌더링 이미지의 저장 요청을 접수하면, 기 저장되어 있는 렌더링 이미지 중 현재의 디스플레이 영역에서 가장 먼 레이아웃 좌표를 가지는 렌더링 이미지를 삭제한 후 상기 새로운 렌더링 이미지의 저장 요청에 대응하는 렌더링 이미지를 저장하는 상기 이미지 저장부를 유지할 수 있다.Finally, the operating method of the web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention further comprises the step of maintaining an image storage unit for temporarily storing the generated rendered image, and maintains the image storage unit In response to the request for storing a new rendering image from the rendering unit, the rendering unit deletes a rendering image having the layout coordinates farthest from the current display area among previously stored rendering images, and then responds to the request for storing the new rendering image. The image storing unit may store the rendered image.
이상, 도 2를 참조하여 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법은 도 1을 이용하여 설명한 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.The operating method of the web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention has been described above with reference to FIG. 2. Here, the operation method of the web electronic document editing apparatus for rendering the drawing object according to an embodiment of the present invention may correspond to the configuration of the operation of the web electronic document editing apparatus for rendering the drawing object described with reference to FIG. The detailed description thereof will be omitted.
본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.An operating method of a web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution in combination with a computer.
또한, 본 발명의 일실시예에 따른 드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. In addition, the operating method of the web electronic document editing apparatus for rendering a drawing object according to an embodiment of the present invention can be implemented in the form of program instructions that can be executed by various computer means can be recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, and the like, alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.
이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. In the present invention as described above has been described by the specific embodiments, such as specific components and limited embodiments and drawings, but this is provided to help a more general understanding of the present invention, the present invention is not limited to the above embodiments. For those skilled in the art, various modifications and variations are possible from these descriptions.
따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be limited to the described embodiments, and all of the equivalents and equivalents of the claims, as well as the appended claims, will fall within the scope of the present invention. .
Claims (12)
상기 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각에 대한 렌더링 메타 정보 - 상기 렌더링 메타 정보는 각 드로잉 개체의 상기 전자 문서 상의 위치 및 크기에 대한 정보들로, 드로잉 개체의 상기 전자 문서 상에서의 배치 상태를 나타내는 키인 "배치", 드로잉 개체의 상기 전자 문서 상에서의 x 성분의 시작 위치를 나타내는 키인 "Sx", 드로잉 개체의 상기 전자 문서 상에서의 y 성분의 시작 위치를 나타내는 키인 "Sy", 드로잉 개체의 너비를 나타내는 키인 "w" 및 드로잉 개체의 높이를 나타내는 키인 "h"와, 각 키에 대한 밸류로 이루어지는 개체 값들로 구성되어 있음 - 와 렌더링 정보 - 상기 렌더링 정보는 각 드로잉 개체를 상기 전자 문서에 페인팅할 때, 각 드로잉 개체를 표현하기 위한 정보로, 드로잉 개체의 개체 아이디에 대응하여 드로잉 개체의 유형을 나타내는 키인 "Type", 드로잉 개체의 너비를 나타내는 키인 "w", 드로잉 개체의 높이를 나타내는 키인 "h", 드로잉 개체의 색상을 나타내는 키인 "Color" 및 드로잉 개체의 선의 유형을 나타내는 키인 "pattern"과, 각 키에 대한 밸류로 이루어지는 개체 값들로 구성되어 있음 - 를 생성한 후 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 상기 렌더링 메타 정보와 렌더링 정보를 순차적으로 포함하여 렌더링 데이터를 생성하는 렌더링 데이터 생성부;
상기 전자 문서에 포함되어 있는 상기 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱하는 렌더링 데이터 파싱부; 및
파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구를 이용하여 렌더링하여 렌더링 이미지를 생성하는 렌더링부
를 포함하고,
상기 렌더링 데이터는 키 및 밸류로 구성되는 다수의 드로잉 개체 헤더 성분들을 포함하는 드로잉 개체 헤더 데이터를 더 포함하고,
상기 다수의 드로잉 개체들 각각의 상기 렌더링 정보는 키 및 밸류로 구성되는 개체 값들을 포함하되, 상기 개체 값들 중 상기 드로잉 개체 헤더 성분들에 대응하는 개체 값의 밸류는 대응하는 드로잉 개체 헤더 성분의 키로 표현되는
드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치.A data receiving unit for receiving an electronic document from a web electronic document editing server;
Rendering meta-information for each of a plurality of drawing objects contained in the electronic document, the rendering meta-information being information about the position and size of each drawing object on the electronic document, the arrangement of the drawing object on the electronic document. "Batch" which is a key indicating a state, "Sx" which is a key indicating a starting position of an x component on the electronic document of a drawing object, "Sy" which is a key indicating a starting position of a y component on the electronic document of a drawing object, a drawing object And "h", a key for the width of the object and "h", a key for the height of the drawing object, and object values consisting of values for each key. Information for each drawing object as you paint on it. "Type", a key for the type of the sieve, "w" for the width of the drawing object, "h" for the height of the drawing object, "Color" for the color of the drawing object, and "Color" for the color of the drawing object, and a type of line for the drawing object. After generating the key "pattern" and the object value consisting of the value for each key-and the rendering data including the rendering meta information and the rendering information sequentially according to the position information of each of the plurality of drawing objects Rendering data generation unit for generating a;
Rendering data that sequentially includes rendering meta information and rendering information generated based on location information and size information of each of the plurality of drawing objects included in the electronic document according to the location information of each of the plurality of drawing objects. Rendering data parsing unit for parsing; And
A rendering unit that renders drawing objects corresponding to the rendering information sequentially according to the parsed order using a preset rendering tool to generate a rendered image.
Including,
The rendering data further includes drawing object header data comprising a plurality of drawing object header components consisting of a key and a value,
The rendering information of each of the plurality of drawing objects includes entity values consisting of a key and a value, wherein a value of an entity value corresponding to the drawing entity header components among the entity values is a key of a corresponding drawing entity header component. Expressed
Web electronic document editing device that renders drawing objects.
상기 생성된 렌더링 이미지를 임시 저장하는 이미지 저장부
를 포함하고,
상기 이미지 저장부는 상기 렌더링부로부터 새로운 렌더링 이미지의 저장 요청을 접수하면, 기 저장되어 있는 렌더링 이미지 중 현재의 디스플레이 영역에서 가장 먼 레이아웃 좌표를 가지는 렌더링 이미지를 삭제한 후 상기 새로운 렌더링 이미지의 저장 요청에 대응하는 렌더링 이미지를 저장하는
드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치.The method of claim 1,
An image storage unit for temporarily storing the generated rendered image
Including,
When the image storage unit receives a request for storing a new rendered image from the renderer, the image storage unit deletes the rendered image having the layout coordinates farthest from the current display area among previously stored rendered images, and then stores the new rendered image. To store the corresponding rendered image
Web electronic document editing device that renders drawing objects.
상기 전자 문서에 포함되어 있는 다수의 드로잉 개체들 각각에 대한 렌더링 메타 정보 - 상기 렌더링 메타 정보는 각 드로잉 개체의 상기 전자 문서 상의 위치 및 크기에 대한 정보들로, 드로잉 개체의 상기 전자 문서 상에서의 배치 상태를 나타내는 키인 "배치", 드로잉 개체의 상기 전자 문서 상에서의 x 성분의 시작 위치를 나타내는 키인 "Sx", 드로잉 개체의 상기 전자 문서 상에서의 y 성분의 시작 위치를 나타내는 키인 "Sy", 드로잉 개체의 너비를 나타내는 키인 "w" 및 드로잉 개체의 높이를 나타내는 키인 "h"와, 각 키에 대한 밸류로 이루어지는 개체 값들로 구성되어 있음 - 와 렌더링 정보 - 상기 렌더링 정보는 각 드로잉 개체를 상기 전자 문서에 페인팅할 때, 각 드로잉 개체를 표현하기 위한 정보로, 드로잉 개체의 개체 아이디에 대응하여 드로잉 개체의 유형을 나타내는 키인 "Type", 드로잉 개체의 너비를 나타내는 키인 "w", 드로잉 개체의 높이를 나타내는 키인 "h", 드로잉 개체의 색상을 나타내는 키인 "Color" 및 드로잉 개체의 선의 유형을 나타내는 키인 "pattern"과, 각 키에 대한 밸류로 이루어지는 개체 값들로 구성되어 있음 - 를 생성한 후 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 상기 렌더링 메타 정보와 렌더링 정보를 순차적으로 포함하여 렌더링 데이터를 생성하는 렌더링 데이터 생성 단계;
상기 전자 문서에 포함되어 있는 상기 다수의 드로잉 개체들 각각의 위치 정보 및 크기 정보에 기초하여 생성된 렌더링 메타 정보와 렌더링 정보를 상기 다수의 드로잉 개체들 각각의 위치 정보에 따라 순차적으로 포함하는 렌더링 데이터를 파싱하는 렌더링 데이터 파싱 단계; 및
파싱된 순서에 따라 순차적으로 렌더링 정보에 상응하는 드로잉 개체를 사전 설정된 렌더링 도구를 이용하여 렌더링하여 렌더링 이미지를 생성하는 렌더링 단계
를 포함하고,
상기 렌더링 데이터는 키 및 밸류로 구성되는 다수의 드로잉 개체 헤더 성분들을 포함하는 드로잉 개체 헤더 데이터를 더 포함하고,
상기 다수의 드로잉 개체들 각각의 상기 렌더링 정보는 키 및 밸류로 구성되는 개체 값들을 포함하되, 상기 개체 값들 중 상기 드로잉 개체 헤더 성분들에 대응하는 개체 값의 밸류는 대응하는 드로인 개체 헤더 성분의 키로 표현되는
드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법.A data receiving step of receiving an electronic document from a web electronic document editing server;
Rendering meta-information for each of a plurality of drawing objects contained in the electronic document, the rendering meta-information being information about the position and size of each drawing object on the electronic document, the arrangement of the drawing object on the electronic document. "Batch" which is a key indicating a state, "Sx" which is a key indicating a starting position of an x component on the electronic document of a drawing object, "Sy" which is a key indicating a starting position of a y component on the electronic document of a drawing object, a drawing object And "h", a key for the width of the object and "h", a key for the height of the drawing object, and object values consisting of values for each key. Information for each drawing object as you paint on it. "Type", a key for the type of the sieve, "w" for the width of the drawing object, "h" for the height of the drawing object, "Color" for the color of the drawing object, and "Color" for the color of the drawing object, and a type of line for the drawing object. After generating the key "pattern" and the object value consisting of the value for each key-and the rendering data including the rendering meta information and the rendering information sequentially according to the position information of each of the plurality of drawing objects Generating rendering data;
Rendering data that sequentially includes rendering meta information and rendering information generated based on location information and size information of each of the plurality of drawing objects included in the electronic document according to the location information of each of the plurality of drawing objects. Parsing the rendering data; And
A rendering step of generating a rendered image by rendering a drawing object corresponding to rendering information sequentially according to the parsed order by using a preset rendering tool.
Including,
The rendering data further includes drawing object header data comprising a plurality of drawing object header components consisting of a key and a value,
The rendering information of each of the plurality of drawing objects includes entity values consisting of a key and a value, wherein a value of an entity value corresponding to the drawing entity header components of the entity values is a value of a corresponding draw-in entity header component. Represented by a key
How a web electronic document editing device operates to render drawing objects.
상기 생성된 렌더링 이미지를 임시 저장하는 이미지 저장부를 유지하는 단계
를 더 포함하고,
상기 이미지 저장부를 유지하는 단계는 상기 렌더링 단계를 통해 새로운 렌더링 이미지의 저장 요청을 접수하면, 기 저장되어 있는 렌더링 이미지 중 현재의 디스플레이 영역에서 가장 먼 레이아웃 좌표를 가지는 렌더링 이미지를 삭제한 후 상기 새로운 렌더링 이미지의 저장 요청에 대응하는 렌더링 이미지를 저장하는 상기 이미지 저장부를 유지하는
드로잉 개체를 렌더링하는 웹 전자 문서 편집 장치의 동작 방법.The method of claim 6,
Maintaining an image storage unit for temporarily storing the generated rendered image
More,
In the maintaining of the image storage unit, when a request for storing a new rendered image is received through the rendering step, the new rendering is performed after deleting the rendered image having the layout coordinates farthest from the current display area among the stored rendered images. Maintaining the image storage unit storing a rendered image corresponding to a request for storing an image
How a web electronic document editing device operates to render drawing objects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180074177A KR102087247B1 (en) | 2018-06-27 | 2018-06-27 | Web electric document editing apparatus for rendering drawing object and operating method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180074177A KR102087247B1 (en) | 2018-06-27 | 2018-06-27 | Web electric document editing apparatus for rendering drawing object and operating method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20200001340A KR20200001340A (en) | 2020-01-06 |
KR102087247B1 true KR102087247B1 (en) | 2020-03-10 |
Family
ID=69159215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180074177A KR102087247B1 (en) | 2018-06-27 | 2018-06-27 | Web electric document editing apparatus for rendering drawing object and operating method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102087247B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102171325B1 (en) * | 2020-01-14 | 2020-10-28 | 티아이테크놀로지 주식회사 | Method for parsing table data in pdf file |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130076734A1 (en) | 2011-09-22 | 2013-03-28 | Xerox Corporation | System and method employing variable size binding elements in virtual rendering of a print production piece |
KR101485788B1 (en) | 2014-03-28 | 2015-01-26 | 주식회사 한글과컴퓨터 | Screen division rendering based electronic document display apparatus and method |
JP2015018565A (en) * | 2008-12-16 | 2015-01-29 | リッチ メディア クラブ エルエルシーRich Media Club, Llc | Content rendering control system and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008032962A1 (en) * | 2006-09-11 | 2008-03-20 | Ddh, Inc. | System and method for transforming electronic document |
-
2018
- 2018-06-27 KR KR1020180074177A patent/KR102087247B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015018565A (en) * | 2008-12-16 | 2015-01-29 | リッチ メディア クラブ エルエルシーRich Media Club, Llc | Content rendering control system and method |
US20130076734A1 (en) | 2011-09-22 | 2013-03-28 | Xerox Corporation | System and method employing variable size binding elements in virtual rendering of a print production piece |
KR101485788B1 (en) | 2014-03-28 | 2015-01-26 | 주식회사 한글과컴퓨터 | Screen division rendering based electronic document display apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
KR20200001340A (en) | 2020-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9060007B2 (en) | System and methods for facilitating the synchronization of data | |
CN100356372C (en) | Generating method of computer format document and opening method | |
US7516402B2 (en) | Presentation of large objects on small displays | |
US8707164B2 (en) | Integrated document viewer | |
US20160098250A1 (en) | Application prototyping tool | |
US20080244381A1 (en) | Document processing for mobile devices | |
KR20150079867A (en) | Html5-protocol-based webpage presentation method and device | |
CN111241793B (en) | Method, system and medium for resolving rich text editor content to render to native client | |
CN102663126A (en) | Method and device for displaying webpage in mobile terminal | |
CN104794103A (en) | Serving font glyphs | |
JP2013511088A (en) | Platform independent typesetting support for documentation | |
CN103268340B (en) | Format reflowable file based on hierarchy type index is set up and method for drafting | |
JP2009134741A (en) | Data processing method | |
CN104820589A (en) | Method and device for dynamically adapting webpage | |
CN105956133B (en) | Method and device for displaying file on intelligent terminal | |
US11334708B2 (en) | Dynamic typesetting | |
KR102087274B1 (en) | Web electric document editing apparatus for rendering object and operating method thereof | |
KR102087280B1 (en) | Server for editing electronic document based on message including edit command and operating method thereof | |
KR102087247B1 (en) | Web electric document editing apparatus for rendering drawing object and operating method thereof | |
CN112433995A (en) | File format conversion method, system, computer equipment and storage medium | |
US20060095838A1 (en) | Object-oriented processing of tab text | |
US11449663B2 (en) | Device dependent rendering of PDF content including multiple articles and a table of contents | |
US20100017708A1 (en) | Information output apparatus, information output method, and recording medium | |
CN115686492A (en) | H5 page editing method and device | |
KR20190131798A (en) | Apparatus for editing electric document and operating method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |