CN117688916A - Method, device, equipment and storage medium for inserting form in layout document - Google Patents
Method, device, equipment and storage medium for inserting form in layout document Download PDFInfo
- Publication number
- CN117688916A CN117688916A CN202311701696.6A CN202311701696A CN117688916A CN 117688916 A CN117688916 A CN 117688916A CN 202311701696 A CN202311701696 A CN 202311701696A CN 117688916 A CN117688916 A CN 117688916A
- Authority
- CN
- China
- Prior art keywords
- cell
- document
- determining
- frame
- layout
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004806 packaging method and process Methods 0.000 claims abstract description 30
- 238000003780 insertion Methods 0.000 claims description 49
- 230000037431 insertion Effects 0.000 claims description 49
- 230000004044 response Effects 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 238000005538 encapsulation Methods 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
Classifications
-
- 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
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
-
- 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
- G06F40/174—Form filling; Merging
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)
Abstract
The application relates to a method, a device, electronic equipment and a storage medium for inserting a table in a format document, wherein the method comprises the following steps: determining a form to be inserted into the layout document; the following is performed for each cell in the table: creating a cell object for the cell, creating a frame element set for the cell, and associating the frame element set with the cell object; packaging each unit cell object and the associated format document element into a table object conforming to a format document standard, wherein the format document element comprises the frame element set; and writing the table object into the layout document. By applying the method, the table is inserted into the format document, so that the editing requirement of a user on the format document is better met.
Description
Technical Field
The present invention relates to the field of document processing, and in particular, to a method, an apparatus, a device, and a storage medium for inserting a table in a layout document.
Background
The format document format refers to an electronic document format with a fixed layout rendering effect, such as document formats of. Pdf,. Ofd, etc. The rendering effect of the layout document is independent of the device, so that the rendering result of the layout document is consistent when the layout document is read, printed or printed on various devices. Therefore, the format document is mainly applied to the scenes such as publishing, spreading and archiving of the documents after the documents are formed.
In practice, users sometimes need to edit layout documents, wherein inserting tables in the documents is a relatively common document editing operation. However, none of the current layout document editing clients support the insertion of tables in the layout document, which greatly affects the user experience.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for inserting a table in a format document, which are used for solving the technical problem that the table insertion in the format document is not supported in the prior art.
In a first aspect, the present application provides a method of inserting a table in a layout document, the method comprising:
determining a form to be inserted into the layout document;
the following is performed for each cell in the table: creating a cell object for the cell, creating a frame element set for the cell, and associating the frame element set with the cell object;
Packaging each unit cell object and the associated format document element into a table object conforming to a format document standard, wherein the format document element comprises the frame element set;
and writing the table object into the layout document.
In a possible implementation manner, the determining a table to be inserted into the layout document includes:
displaying a table editing window in response to a table insertion operation for the layout document;
acquiring form editing information through the form editing window;
and determining a form to be inserted into the version document according to the form editing information.
In a possible implementation manner, the determining a table to be inserted into the layout document includes:
in response to a form paste operation for the version document, a form in a clipboard is determined as a form to be inserted into the version document.
In a possible implementation manner, the determining a table to be inserted into the layout document includes:
acquiring page size information of a form page to be inserted in the version document;
determining the row height and the column width of a table to be inserted into the layout document according to the page size information;
And determining a form to be inserted into the version document according to the row width and the column width.
In a possible implementation manner, the creating the set of border elements for the unit cell includes:
respectively creating frame elements of a set type for each frame of the cell, and classifying the frame elements into frame element sets corresponding to the cell; wherein the setting type includes one of the following: vector type, text type.
In a possible implementation manner, in a case that the setting type includes a vector type, the creating a frame element of the setting type for each frame of the cell includes:
determining an insertion position of the table in the format document and determining an arrangement position of the cells in the table;
the following is performed for each frame of the cell:
determining a target path starting point and a target path ending point according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frames in the layout document page;
and creating a frame element corresponding to the frame according to the target path starting point and the target path ending point.
In a possible implementation manner, in a case that the setting type includes a text type, the creating, for each frame of the cell, a frame element of the setting type includes:
determining an insertion position of the table in the format document and determining an arrangement position of the cells in the table;
the following is performed for each frame of the cell:
determining a target unicode according to the arrangement direction of the frames in the format document page;
determining a target circumscribed rectangular frame according to the row height and column width of the table, the insertion position, the arrangement position and the arrangement direction of the frames in the layout document page;
and creating a frame element corresponding to the frame according to the target unicode and the target circumscribed rectangular frame.
In a possible implementation manner, the packaging each cell object and the associated layout document element into a table object conforming to the layout document standard includes:
determining an arrangement position of each cell in the table;
according to the arrangement position, packaging a plurality of cells belonging to the same row and the associated frame element set into a row container;
And packaging a plurality of the row containers into table objects conforming to the format document standard.
In a possible embodiment, the method further comprises:
and if the cell is not empty, packaging the content in the cell into a format document element, and associating the format document element with the cell object.
In a second aspect, the present application provides an apparatus for inserting a table in a layout document, the apparatus comprising:
the table determining module is used for determining a table to be inserted into the format document;
a cell object creation module for performing the following processing for each cell in the table: creating a cell object for the cell;
a border element creation module for performing, for each cell in the table, the following processing: creating a frame element set for the cell, and associating the frame element set with the cell object;
the table object packaging module is used for packaging each cell object and the associated format document element into a table object conforming to the format document standard, wherein the format document element comprises the frame element set;
And the table insertion module is used for writing the table object into the layout document.
In a possible implementation manner, the table determining module includes:
a window display unit for displaying a table editing window in response to a table insertion operation for the layout document;
an information acquisition unit configured to acquire form editing information through the form editing window;
and the table determining unit is used for determining a table to be inserted into the version document according to the table editing information.
In a possible implementation manner, the table determining module is specifically configured to:
in response to a form paste operation for the version document, a form in a clipboard is determined as a form to be inserted into the version document.
In a possible implementation manner, the table determining module includes:
the page size determining unit is used for obtaining page size information of a form page to be inserted in the version document;
a table size determining unit configured to determine a row height and a column width of a table to be inserted into the layout document according to the page size information;
and the table determining unit is used for determining a table to be inserted into the version document according to the row width and the column width.
In a possible implementation manner, the frame element creation module is specifically configured to:
respectively creating frame elements of a set type for each frame of the cell, and classifying the frame elements into frame element sets corresponding to the cell; wherein the setting type includes one of the following: vector type, text type.
In a possible implementation manner, in a case that the setting type includes a vector type, the border element creation module includes:
a position determining unit configured to determine an insertion position of the table in the layout document, and determine an arrangement position of the cells in the table;
an element information determination unit configured to perform the following processing for each frame of the cell:
determining a target path starting point and a target path ending point according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frames in the layout document page;
and the element creation unit is used for creating a frame element corresponding to the frame according to the target path starting point and the target path ending point.
In a possible implementation manner, in a case that the setting type includes a text type, the border element creation module includes:
A position determining unit configured to determine an insertion position of the table in the layout document, and determine an arrangement position of the cells in the table;
a character encoding determination unit configured to perform the following processing for each frame of the cell: determining a target unicode according to the arrangement direction of the frames in the format document page;
the external rectangular frame determining unit is used for determining a target external rectangular frame according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frames in the layout document page;
and the element creation unit is used for creating a frame element corresponding to the frame according to the target unicode and the target circumscribed rectangle frame.
In a possible implementation manner, the table object packaging module includes:
a position determining unit configured to determine an arrangement position of each of the cells in the table;
a row encapsulation unit, configured to encapsulate, according to the arrangement position, a plurality of the cells belonging to the same row and the associated frame element set into one row container;
and the object packaging unit is used for packaging the plurality of row containers into a table object conforming to the format document standard.
In a possible embodiment, the apparatus further comprises:
and the cell content packaging module is used for packaging the content in the cell into a format document element and associating the format document element with the cell object under the condition that the cell is not empty.
In a third aspect, the present application provides an apparatus comprising: a processor and a memory, the processor being configured to execute a program stored in the memory for inserting a table in a layout document, to implement the method for inserting a table in a layout document according to any one of the first aspects.
In a fourth aspect, the present application provides a storage medium storing one or more programs executable by one or more processors to implement the method of inserting a form in a layout document according to any one of the first aspects.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the cell object is created for each cell in the form, the frame element set is created, the frame element set is associated with the cell object, each cell object and the associated format document element are packaged into the form object conforming to the format document standard, and the form object is written into the format document.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
FIG. 1 is a flowchart of an embodiment of a method for inserting a form in a layout document according to an embodiment of the present application;
FIG. 2 is a schematic interface diagram of a form editing window according to an embodiment of the present disclosure;
FIG. 3 is a schematic interface diagram of another form editing window according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of an embodiment of another method for inserting a form in a layout document according to an embodiment of the present application;
FIG. 5 is a block diagram of an embodiment of an apparatus for inserting a form in a layout document according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
The following disclosure provides many different embodiments, or examples, for implementing different structures of the application. In order to simplify the disclosure of the present application, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present application. Furthermore, the present application may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
In order to solve the technical problem that the table is not inserted into the layout document in the prior art, the application provides a method for inserting the table into the layout document, which can enable a user to freely insert the table into the layout document according to requirements, meet the editing requirements of the user on the layout document and improve user experience.
Fig. 1 is a flowchart of an embodiment of a method for inserting a table in a layout document according to an embodiment of the present application. As shown in fig. 1, the method comprises the following steps:
step 101, determining a table to be inserted into the layout document.
In this embodiment of the present application, a user may freely insert a table into a layout document according to actual needs, that is, in this embodiment of the present application, the table to be inserted into a version document is not limited, and specifically includes not limiting the number of rows and columns of the table to be inserted, the style of the table (such as a row height, a column width, a thickness of a table line, a color of a table line, etc.), the cell content in the table, and the format (such as a font, a word size, a color, etc.) of the cell content.
Wherein, as an embodiment, the user may insert a blank form in the layout document, i.e. the form to be inserted into the layout document is a blank form. At this time, the user may specify the form editing information, and the execution subject of the embodiment of the present application determines the form to be inserted into the layout document according to the form editing information. Here, the execution main body of the embodiment of the present application is, for example, a document editing client having a display and editing function of a layout document.
The table editing information includes, but is not limited to, information such as the number of rows, the number of columns, the number of rows, the width of columns, the thickness of the table lines, the color of the table lines, etc. Alternatively, each item of information in the table edit information may be specified by the user, or only the number of rows and columns of the table may be specified by the user. In the case where the user designates only the number of rows and columns of the table, as an alternative implementation manner, the table to be inserted may employ default row and column widths, and default table line thicknesses, table line colors, and the like; as another alternative implementation, the row and column widths of the table may be adaptively set according to the size of the page of the table to be inserted in the layout document, and the color of the table line, the thickness of the table line, etc. may be adaptively set according to the layout style of the page of the table to be inserted.
As another example, the user may insert the completed form in the layout document, where the completed form may or may not include form content. The constructed form may be from other documents, or may be from a currently edited layout document, which is not limited in this embodiment of the present application.
Step 102, for each cell in the table, performing the following processing: creating a cell object for the cell, and creating a set of border elements for the cell, and associating the set of border elements with the cell object.
In the embodiment of the present application, a unit cell object is created for each unit cell in the table. Here, creating a cell object refers to: an object is created that meets layout document criteria and object properties are defined for the object so that the object can characterize a cell. The above-mentioned object meeting the format document standard refers to: the organization structure of the object and the layout document elements contained in the object conform to the currently prevailing layout document format specifications, such as OFD standard, PDF1.7 standard, UOF standard, etc., so that the document editor can recognize the object. The object attributes of the cell object include, for example, row and column coordinates of the cell, coordinates of the circumscribed rectangular frame, and width and height of the circumscribed rectangular frame. For example, a cell object is created for a cell located in row 1 and column 2 in the table, and the attribute of the cell object includes the row and column coordinates (1, 2) of the cell, the coordinates (a, b) of an circumscribed rectangular frame, the width of the circumscribed rectangular frame is w, and the height is h. The coordinates of the circumscribed rectangular frame refer to the coordinates of the top left vertex of the circumscribed rectangular frame.
The frame elements correspond to the frames of the cells, i.e., the table grid lines. It will be appreciated that one cell has 4 frames, an upper frame, a lower frame, a left frame, and a right frame, respectively, and thus, 4 frame elements are included in the frame element set of one cell. In addition to the border elements (i.e., table lines), the layout document may further include text elements, picture elements, vector diagram elements, etc., where the text elements correspond to text content in the layout document, and may be text content in a table, or text content outside the table. The picture element corresponds to the picture content in the format document, and can be the picture content in a table or the picture content outside the table. The vector diagram elements correspond to paths in the layout document, etc., such as background fill in cells, background of text content, etc.
From the viewpoint of element types, a layout document may include a plurality of types of elements such as Text type (Text type), path type (vector type), and Image type (Image type), where it is more common to use Text type elements or Path type elements to draw table lines in the layout document. Therefore, when creating the frame element set for the cell, a frame element of a set type can be created for each frame of the cell, and the frame element is classified into the frame element set corresponding to the cell. Here, the setting type includes one of the following: vector type, text type. Further, the different types of elements are limited by their own properties, and have respective drawing manners when drawn as table ruled lines, so that the creation manners are also different for the different types of border elements. This is explained in detail in the flow shown in fig. 4 below, and will not be described in detail here.
Based on the above description, in the embodiment of the present application, for each cell to be inserted into a table, a set of border elements of the cell object is associated with a cell object of the cell object, so that a cell with a border may be created.
And step 103, packaging each cell object and the associated layout document element into a table object conforming to the layout document standard, wherein the layout document element comprises a frame element set.
The table object meeting the format document standard refers to: the data structure of the form object conforms to the format specification of the format document of the current mainstream, such as the OFD standard, PDF1.7 standard, UOF standard, etc., so that the document editor can recognize the form object.
The layout document elements related to the cell objects can also comprise other elements besides the frame element set, and the other elements correspond to the contents in the table. It can be seen that in the embodiment of the present application, in the case that the cell is not empty, the content in the cell is encapsulated into a layout document element, and the layout document element is associated with the cell object. Wherein, for text content in a cell, it can be packaged as text element, for picture content in a cell, it can be packaged as picture element, and for vector diagram in a cell, it can be packaged as path element (theoretically, all elements of a layout document can be accommodated in a cell). Here, the case where the cell is not empty may occur in a scene where the constructed completed form is inserted into the layout document.
As can be seen from the description in step 103, in the embodiment of the present application, the unit cell object is created first, and then each unit cell object and the associated layout document element are packaged as the table object conforming to the layout document standard, so as to create a table structure capable of being inserted into the layout document.
Step 104, writing the table object into the layout document.
It will be appreciated that the form objects are written herein at specified locations of the document structure of the layout document according to the insertion locations of the form on the pages in the layout document.
When writing a Table object into a document structure of a layout document, corresponding tags can be added for the Table object and the cell objects therein according to the Table structure, for example, the tag of the Table object is Table, the tag of each row in the Table is TR, the tag of the cell object is TD, then the layout document elements associated with the cell object are written into the TD tag, the cell objects in the same row are written into one TR tag, and then a plurality of TR tags are written into the Table tag, thereby completing the writing of the Table object.
According to the method provided by the embodiment of the application, the cell object is created for each cell in the form, the frame element set is created, the frame element set is associated with the cell object, each cell object and the associated format document element are packaged into the form object conforming to the format document standard, and the form object is written into the format document.
FIG. 4 is a flowchart of an embodiment of another method for inserting a table in a layout document according to an embodiment of the present application. As shown in fig. 4, the method comprises the following steps:
step 401, determining a table to be inserted into the layout document.
As one example, a user may insert a blank form in the layout document, i.e., the form to be inserted into the layout document is a blank form. Specifically, the form to be inserted into the version document may be determined in this embodiment by: in response to a form insertion operation for the layout document, a form editing window is displayed, form editing information is acquired through the form editing window, and a form to be inserted into the version document is determined according to the form editing information.
The table editing information includes, but is not limited to, information such as the number of rows, the number of columns, the number of rows, the width of columns, the thickness of the table lines, the color of the table lines, etc. Alternatively, each item of information in the table edit information may be specified by the user, or only the number of rows and columns of the table may be specified by the user. In the case where the user designates only the number of rows and columns of the table, as an alternative implementation manner, the table to be inserted may employ default row and column widths, and default table line thicknesses, table line colors, and the like; as another alternative implementation, the row and column widths of the table may be adaptively set according to the size of the page of the table to be inserted in the layout document, and the color of the table line, the thickness of the table line, etc. may be adaptively set according to the layout style of the page of the table to be inserted.
Wherein, as an optional implementation manner, in response to the table insertion operation for the layout document, a table editing window is displayed, and the specific implementation of obtaining the table editing information through the table editing window includes: referring to fig. 2, in the case where the document editing client opens the above-described layout document, in response to a user's trigger operation of a "form" icon in a top menu bar of the document editing client, a form editing window 21 is displayed, the form editing window 21 including a plurality of squares aligned in the horizontal and vertical directions, and the user can set form editing information by clicking any of the squares, where the form editing information includes the number of rows and columns of the form. For example, the user may want to insert a 4-line 5-column form in the current layout document, and then the user may click on a pane located at the 4 th line 5 th column in the form editing window 21. At this time, the document editing client acquires form editing information by the position of the clicked square in the form editing window 21 in response to the click operation of the square located in the 4 th row and 5 th column in the form editing window 21 by the user, and the acquired form editing information includes: the number of rows of the table is 4 and the number of columns is 5. Further, the document editing client determines, according to the table editing information, that the table to be inserted into the current layout document is a 4-row 5-column table.
As another alternative implementation manner, in response to a form inserting operation for a layout document, displaying a form editing window, and a specific implementation of obtaining form editing information through the form editing window includes: referring to fig. 3, in the case where the document editing client opens the above-described layout document, in response to a trigger operation (e.g., right click operation) by the user at any position in the layout document, a menu list 31 is displayed, the menu list 31 including an "insert form" icon therein, and in response to a trigger operation by the user on the "insert form" icon, a form editing window 32 is displayed, the form editing window 32 including two input boxes for inputting the number of rows and the number of columns, respectively. Based on this, the user can input numerals in the two input boxes, respectively, to set table edit information including the number of rows and columns of the table. For example, if the user wants to insert a table of 4 rows and 5 columns in the current layout document, the user may input the number 4 in the input box corresponding to the number of rows and input the number 5 in the input box corresponding to the number of columns, at this time, the document editing client obtains the table editing information in response to the user's input operation in the two input boxes in the table editing window 32, where the obtained table editing information includes: the number of rows of the table is 4 and the number of columns is 5. Further, the document editing client determines, according to the table editing information, that the table to be inserted into the current layout document is a 4-row 5-column table.
Therefore, in the technical scheme provided by the embodiment of the application, the user can set the table editing information in the table editing window, the table editing information to be set can be intuitively displayed, the operation is simple and convenient, the user can insert the table into the layout document through simple operation, and the user experience is friendly.
Further alternatively, the user may set the row height, column width, and style of the table ruled line (including the thickness of the table ruled line, the color of the table ruled line, etc.) of the table in the table editing window. Here, neither fig. 2 nor fig. 3 are schematic, and a person skilled in the art may design a layout of contents in the editing window according to the service requirement, which is not limited in the embodiment of the present application.
Alternatively, in the case where the user does not set the row and column widths of the table through the table editing window, the default row and column widths are employed to complement the above-described table editing information.
Alternatively, in the case where the user does not set the line width and the line width of the table through the table editing window, the above-described table editing information is complemented with the line width and the line width adaptively set according to the size of the page to be inserted into the table in the layout document. Specifically, the document editing client may obtain page size information of a page of a form to be inserted in the version document, determine a row height and a column width of the form to be inserted in the version document according to the page size information, and determine the form to be inserted in the version document according to the row height and the column width.
The page size information described above includes, for example, the height and width of the page.
When determining the column width of the table to be inserted into the layout document according to the page size information, the overall width of the table may be set according to the width of the page, and then the column width of the table may be obtained by dividing the overall width of the table by the column number of the table. Alternatively, the width value of the page may be determined as the entire width of the table, or a set proportion (e.g., 80%) of the width value of the page may be determined as the entire width of the table. In practical application, the overall width of the table does not exceed the width value of the page, and the specific setting mode is not limited in the embodiment of the application.
In determining the line height of the table to be inserted into the layout document according to the page size information, it may be determined according to the height of the page and the line number of the table together. For example, a table rule indicating a setting manner of a table row in a case where different table rows are set for pages of different heights, respectively, may be set in advance. Based on the above, the applicable form rule can be found according to the height of the page, and then the number of rows of the form to be inserted is matched in the found form rule, so that the row height is determined.
The above is merely an exemplary description of adaptively setting the row and column widths of the table according to the size of the page of the form document to be inserted, and the embodiment of the present application does not particularly limit this.
Alternatively, in the case where the user does not set the table line style of the table through the table editing window, the above-described table editing information is complemented with default table line style information.
Optionally, in a case where the user does not set the form line style of the form through the form editing window, the form line style is adaptively set according to the size of the page to be inserted into the form in the layout document to complement the form editing information. For example, the color of the table ruled line may be set with the color used by the text in the page to be inserted into the table, or the color of the table ruled line may be set with a color different from the background of the page. Only the exemplary description is made here of adaptively setting the form line style according to the size of the page to be inserted into the form in the layout document, which is not particularly limited by the embodiment of the present application.
As another example, the user may insert the completed form in the layout document, where the completed form may or may not include form content. The constructed form may be from other documents, or may be from a currently edited layout document, which is not limited in this embodiment of the present application.
In this embodiment, as an optional implementation manner, the execution body of the embodiment of the present application determines the form in the clipboard as the form to be inserted into the version document in response to the form paste operation for the version document. Here, the form in the clipboard may be a form copied or cut from other documents (or a currently edited layout document).
Specifically, in actual operation, taking the example of inserting a table in another document into a currently edited format document, a user opens the other document in a document editing client, selects the table therein, and then triggers a copy operation or a cut operation on the selected table. The document editing client temporarily stores the form in the clipboard in response to a user's copy operation or cut operation of the form in the other document. Then, the user opens the layout document to be edited in the document editing client, performs a triggering operation (e.g., right click operation) at a position where the form is to be inserted in the layout document, and displays a menu list including a "paste" icon, and then the user triggers the "paste" icon. At this time, the document editing client determines the form in the clipboard as the form to be inserted into the version document in response to the triggering operation of the "paste" icon by the user.
Therefore, in the technical scheme provided by the embodiment of the application, the user can insert the form in the format document in a copy-paste or cut-paste mode, and the user is easy and simple to operate without difficulty, so that the user experience is better.
Step 402, the following processing is performed for each cell in the table: creating a cell object for the cell, and creating a set of border elements for the cell, and associating the set of border elements with the cell object.
In an embodiment, when creating a Path-type border element, since the Path-type element has attributes such as a circumscribed rectangular box (BBox), a Path instruction, a Path start point (StartPoint), and a Path end point (EndPoint), the specific implementation of creating the Path-type border element for each border of a cell includes: determining the insertion position of the table in the layout document, and determining the arrangement position of the cells in the table, and performing the following processing for each frame of the cells: according to the row height, the column width, the inserting position and the arranging position of the table and the arrangement direction of the frames in the layout document page, determining a target path starting point and a target path ending point, and creating frame elements corresponding to the frames according to the target path starting point and the target path ending point.
The insertion position of the table in the layout document is usually the position where the user triggers the table insertion operation in the layout document, such as the position where the cursor is located, and the insertion position is usually the position of the top left vertex of the inserted table in the layout document.
The arrangement position of the cells in the table refers to the number of rows and columns where the cells are located. For example, the arrangement position of the cell in the table is (2, 3), indicating that the cell is located in row 2 and column 3 in the table.
The arrangement direction of the frames in the layout document page comprises a horizontal direction or a vertical direction. For example, the arrangement direction of the upper and lower frames of the cells in the layout document page is a horizontal direction, and the arrangement direction of the left and right frames of the cells in the layout document page is a vertical direction.
Specifically, for the upper border of the cell, determining the target path start point and the target path end point according to the row height and column width, the insertion position, the arrangement position, and the arrangement direction of the border in the layout document page of the table can be achieved by the following formula:
Path.StartPoint.x=x P +(C-1)*w;
Path.EndPoint.x=x P +C*w;
Path.y=y P +(L-1)*h;
in the above formula, x P For the horizontal direction coordinates of the insertion position of the table in the layout file, y P The vertical coordinate of the insertion position of the table in the format document is that C is the column number of the cell, L is the row number of the cell, w is the column width of the table to be inserted, and h is the row height of the table to be inserted. The position coordinates of the target path start point of the upper frame on the layout document page are (path. Startpoint. X, path. Y), the position coordinates of the target path end point on the layout document page are (path. Endpoint. X,Path.y)。
for the lower frame of the cell, determining the target path starting point and the target path ending point according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frame in the layout document page can be realized through the following formulas:
Path.StartPoint.x=x P +(C-1)*w;
Path.EndPoint.x=x P +C*w;
Path.y=y P +L*h;
based on the above formula, the position coordinate of the target path start point of the lower frame on the layout document page is (path. Startpoint. X, path. Y), and the position coordinate of the target path end point on the layout document page is (path. Endpoint. X, path. Y).
In addition, for the upper and lower frames of the cell, the width bbox.width=w of the circumscribed rectangular frame and the height bbox.height=d of the circumscribed rectangular frame. Here, d is the thickness value of the cell frame.
For the left frame of the cell, determining the target path starting point and the target path ending point according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frame in the layout document page can be realized through the following formulas:
Path.StartPoint.y=y P +(L-1)*h;
Path.EndPoint.y=y P +L*h;
Path.x=x P +(C-1)*w;
Based on the above formula, the position coordinate of the target path start point of the left frame on the layout document page is (path. X, path. Startpoint. Y), and the position coordinate of the target path end point on the layout document page is (path. X, path. End point. Y).
For the right frame of the cell, determining the target path starting point and the target path ending point according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frame in the layout document page can be realized through the following formulas:
Path.StartPoint.y=y P +(L-1)*h;
Path.EndPoint.y=y P +L*h;
Path.x=x P +C*w;
based on the above formula, the position coordinate of the target path start point of the right frame on the layout document page is (path. X, path. Startpoint. Y), and the position coordinate of the target path end point on the layout document page is (path. X, path. End point. Y).
In addition, for the left and right frames of the cell, the width bbox.width=d of the circumscribed rectangular frame and the height bbox.height=w of the circumscribed rectangular frame.
It should be noted that the path instruction includes a LineTo instruction (which means to move and draw a straight line), a BezierTo instruction (which means to move and draw a bezier curve), and the like. It will be appreciated that when table ruled lines are drawn using Path type elements, the Path instruction for the Path type elements is a lineTo instruction, but not a BezierTo instruction.
Thus, the execution body of the embodiment of the present application may create a Path type border element according to the target Path start point and the target Path end point of each border and the circumscribed rectangular box.
In another embodiment, when creating the Text type border element, since the Text type element has a Unicode, a circumscribed rectangle box (BBox), and the circumscribed rectangle box has attributes such as a width (BBox. Width), a height (BBox. Height), etc., the specific implementation of creating the Text type border element for each border of the cell includes: determining the insertion position of the table in the layout document, and determining the arrangement position of the cells in the table, and performing the following processing for each frame of the cells: and determining a target unicode according to the arrangement direction of the frames in the format document page, determining a target circumscribed rectangular frame according to the row height and the column width of the table, the insertion position and the arrangement position of the frames in the format document page, and creating frame elements corresponding to the frames according to the target unicode and the target circumscribed rectangular frame.
The target unicode may be one of "-", "", and "|" unicode. Specifically, for the upper frame and the lower frame of the cell, that is, in the case that the arrangement direction of the frame in the layout document page is a horizontal direction, the target unicode determined according to the arrangement direction of the frame in the layout document page may include: "-", one "etc. can be used to draw unicode for horizontal table ruled lines. And for the left and right frames of the cell, that is, in the case that the arrangement direction of the frames in the layout document page is a vertical direction, the target unicode determined according to the arrangement direction of the frames in the layout document page may include: "|" and the like can be used for unicode drawing vertical table ruled lines.
The insertion position of a form in a layout document is typically the position in the layout document where the user triggers a form insertion operation, such as the position of a cursor, and is typically the position of the upper left vertex of the inserted form in the layout document. The arrangement position of the cells in the table refers to the number of rows and columns where the cells are located. For example, the arrangement position of the cell in the table is (2, 3), indicating that the cell is located in row 2 and column 3 in the table.
Still further, determining the target bounding rectangle frame according to the row and column widths, the insertion positions, the arrangement positions of the tables, and the arrangement direction of the frames in the layout document page includes: and determining the position coordinates of the upper left vertex of the target circumscribed rectangular frame on the document page and the height and the width of the target circumscribed rectangular frame according to the row height and the column width of the table, the inserting position, the arrangement position and the arrangement direction of the frame in the format document page.
Specifically, for the upper border of the cell, determining the position coordinates of the upper left vertex of the target circumscribed rectangular frame on the document page, and the height and width of the target circumscribed rectangular frame according to the row and column width, the insertion position, the arrangement position, and the arrangement direction of the border in the layout document page of the table can be realized by the following formula:
BBox.x=x P +(C-1)*w;
BBox.y=y P +(L-1)*h;
BBox.Width=w;
BBox.Height=d;
Wherein BBox.x is the position coordinate of the top left vertex of the target circumscribed rectangle frame in the horizontal direction of the document page, BBox.y is the position coordinate of the top left vertex of the target circumscribed rectangle frame in the vertical direction of the document page, bbox.width is the width of the target bounding rectangle, bbox.height is the height of the target bounding rectangle, and d is the thickness of the cell frame.
For the lower frame of the cell, the position coordinates of the top left vertex of the target circumscribed rectangular frame on the document page, and the height and width of the target circumscribed rectangular frame can be determined according to the row height and column width, the insertion position, the arrangement position and the arrangement direction of the frame in the layout document page of the table by the following formula:
BBox.x=x P +(C-1)*w;
BBox.y=y P +(L-1)*h;
BBox.Width=w;
BBox.Height=d。
for the left frame of the cell, the position coordinates of the top left vertex of the target circumscribed rectangular frame on the document page, and the height and width of the target circumscribed rectangular frame can be determined according to the row height and column width, the insertion position, the arrangement position and the arrangement direction of the frame in the layout document page of the table by the following formula:
BBox.x=x P +(C-1)*w;
BBox.y=y P +(L-1)*h;
BBox.Height=h;
BBox.Width=d。
for the right frame of the cell, the position coordinates of the top left vertex of the target circumscribed rectangular frame on the document page, and the height and width of the target circumscribed rectangular frame can be determined according to the row height and column width, the insertion position, the arrangement position and the arrangement direction of the frame in the layout document page of the table in the following manner:
BBox.x=x P +C*w;
BBox.y=y P +(L-1)*h;
BBox.Height=h;
BBox.Width=d。
Thus, the execution body of the embodiment of the application can create the Text type frame element according to the circumscribed rectangular frame of each frame and the unicode.
As can be seen from the foregoing embodiments, the technical solutions provided by the embodiments of the present application may implement the insertion of a table in a format document based on the existing format document data structure, and there is no need to limit the element types of the elements included in the table, so that the technical solutions provided by the embodiments of the present application may be directly applied to a mainstream format document editing client in the prior art.
Step 403, in the case that the cell is not empty, packaging the content in the cell into a format document element, and associating the format document element with the cell object.
The content in the cells may include text or pictures. For Text, it may be packaged as Text type layout document elements, also called Text elements, and for pictures, it may be packaged as Image type layout document elements, also called picture elements.
In addition, in the embodiment of the application, the format document elements corresponding to the content in the cell are associated with the cell objects of the cell, so that the format document elements are distinguished by taking the cell as a unit.
Step 404, packaging each cell object and the associated layout document element into a table object conforming to the layout document standard, wherein the layout document element comprises a border element set.
In one embodiment, the implementation of step 404 includes: determining the arrangement position of each cell in the table, packaging a plurality of cells belonging to the same row and associated frame element sets into a row container according to the arrangement position, and packaging the plurality of row containers into a table object conforming to the format document standard.
The row container is an organization structure that stores cell objects and their associated sets of border elements in rows. The line container is used because writing is performed in the order of lines in the chinese writing habit, and in practical application, a plurality of cells belonging to the same column and associated frame element sets may be packaged into one column container, and a plurality of column containers may be packaged into a table object conforming to the format document standard. Here, a column container is an organizational structure that stores a cell object and its associated set of border elements in rows.
Step 405, writing the table object into the layout document.
It will be appreciated that the form objects are written herein at specified locations of the document structure of the layout document according to the insertion locations of the form on the pages in the layout document.
According to the method provided by the embodiment of the application, the cell object is created and the frame element set is created for each cell in the table, the frame element set is associated with the cell object, the content in the cell is packaged into the format document element, the format document element is associated with the cell object, each cell object and the associated format document element are packaged into the table object conforming to the format document standard, and the table object is written into the format document.
FIG. 5 is a block diagram of an embodiment of an apparatus for inserting a form in a layout document according to an embodiment of the present application. As shown in fig. 5, the apparatus includes:
A form determination module 51 for determining a form to be inserted into the layout document;
a cell object creation module 52 for performing the following processing for each cell in the table: creating a cell object for the cell;
a border element creation module 53, configured to perform the following processing for each cell in the table: creating a frame element set for the cell, and associating the frame element set with the cell object;
a table object packaging module 54, configured to package each of the unit cell objects and the associated layout document element into a table object that accords with a layout document standard, where the layout document element includes the set of border elements;
the table insertion module 55 is configured to write the table object into the layout document.
In a possible implementation, the table determining module 51 includes (not shown in the figure):
a window display unit for displaying a table editing window in response to a table insertion operation for the layout document;
an information acquisition unit configured to acquire form editing information through the form editing window;
and the table determining unit is used for determining a table to be inserted into the version document according to the table editing information.
In a possible implementation manner, the table determining module 51 is specifically configured to:
in response to a form paste operation for the version document, a form in a clipboard is determined as a form to be inserted into the version document.
In a possible implementation, the table determining module 51 includes (not shown in the figure):
the page size determining unit is used for obtaining page size information of a form page to be inserted in the version document;
a table size determining unit configured to determine a row height and a column width of a table to be inserted into the layout document according to the page size information;
and the table determining unit is used for determining a table to be inserted into the version document according to the row width and the column width.
In a possible implementation manner, the border element creation module 53 is specifically configured to:
respectively creating frame elements of a set type for each frame of the cell, and classifying the frame elements into frame element sets corresponding to the cell; wherein the setting type includes one of the following: vector type, text type.
In a possible implementation manner, in the case that the setting type includes a vector type, the bezel element creation module 53 includes (not shown in the figure):
A position determining unit configured to determine an insertion position of the table in the layout document, and determine an arrangement position of the cells in the table;
an element information determination unit configured to perform the following processing for each frame of the cell:
determining a target path starting point and a target path ending point according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frames in the layout document page;
and the element creation unit is used for creating a frame element corresponding to the frame according to the target path starting point and the target path ending point.
In a possible implementation manner, in the case that the setting type includes a text type, the border element creation module 53 includes (not shown in the figure):
a position determining unit configured to determine an insertion position of the table in the layout document, and determine an arrangement position of the cells in the table;
a character encoding determination unit configured to perform the following processing for each frame of the cell: determining a target unicode according to the arrangement direction of the frames in the format document page;
The external rectangular frame determining unit is used for determining a target external rectangular frame according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frames in the layout document page;
and the element creation unit is used for creating a frame element corresponding to the frame according to the target unicode and the target circumscribed rectangle frame.
In a possible implementation, the table object encapsulation module 54 includes (not shown in the figure):
a position determining unit configured to determine an arrangement position of each of the cells in the table;
a row encapsulation unit, configured to encapsulate, according to the arrangement position, a plurality of the cells belonging to the same row and the associated frame element set into one row container;
and the object packaging unit is used for packaging the plurality of row containers into a table object conforming to the format document standard.
In a possible embodiment, the device further comprises (not shown in the figures):
and the cell content packaging module is used for packaging the content in the cell into a format document element and associating the format document element with the cell object under the condition that the cell is not empty.
As shown in fig. 6, the embodiment of the present application provides an electronic device, which includes a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 perform communication with each other through the communication bus 114,
a memory 113 for storing a computer program;
in one embodiment of the present application, the processor 111 is configured to implement the method for inserting a table in a layout document according to any one of the foregoing method embodiments when executing a program stored in the memory 113, where the method includes:
determining a form to be inserted into the layout document;
the following is performed for each cell in the table: creating a cell object for the cell, creating a frame element set for the cell, and associating the frame element set with the cell object;
packaging each unit cell object and the associated format document element into a table object conforming to a format document standard, wherein the format document element comprises the frame element set;
and writing the table object into the layout document.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of inserting a form in a layout document provided by any one of the method embodiments described above.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Based on such understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the related art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the method described in the respective embodiments or some parts of the embodiments.
It is to be understood that the terminology used herein is for the purpose of describing particular example embodiments only, and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "includes," "including," and "having" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order described or illustrated, unless an order of performance is explicitly stated. It should also be appreciated that additional or alternative steps may be used.
The foregoing is merely a specific embodiment of the application to enable one skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
1. A method of inserting a form in a layout document, the method comprising:
determining a form to be inserted into the layout document;
the following is performed for each cell in the table: creating a cell object for the cell, creating a frame element set for the cell, and associating the frame element set with the cell object;
packaging each unit cell object and the associated format document element into a table object conforming to a format document standard, wherein the format document element comprises the frame element set;
and writing the table object into the layout document.
2. The method of claim 1, wherein the determining a form to be inserted into the layout document comprises:
displaying a table editing window in response to a table insertion operation for the layout document;
acquiring form editing information through the form editing window;
and determining a form to be inserted into the version document according to the form editing information.
3. The method of claim 1, wherein the determining a form to be inserted into the layout document comprises:
In response to a form paste operation for the version document, a form in a clipboard is determined as a form to be inserted into the version document.
4. The method of claim 1, wherein the determining a form to be inserted into the layout document comprises:
acquiring page size information of a form page to be inserted in the version document;
determining the row height and the column width of a table to be inserted into the layout document according to the page size information;
and determining a form to be inserted into the version document according to the row width and the column width.
5. The method of claim 1, wherein the creating a set of border elements for the cell comprises:
respectively creating frame elements of a set type for each frame of the cell, and classifying the frame elements into frame element sets corresponding to the cell; wherein the setting type includes one of the following: vector type, text type.
6. The method of claim 5, wherein, in the case where the set type includes a vector type, the creating a set type of border element for each border of the cell, respectively, includes:
Determining an insertion position of the table in the format document and determining an arrangement position of the cells in the table;
the following is performed for each frame of the cell:
determining a target path starting point and a target path ending point according to the row height and the column width of the table, the insertion position, the arrangement position and the arrangement direction of the frames in the layout document page;
and creating a frame element corresponding to the frame according to the target path starting point and the target path ending point.
7. The method of claim 5, wherein, in the case where the set type includes a text type, the creating a set type of border element for each border of the cell, respectively, includes:
determining an insertion position of the table in the format document and determining an arrangement position of the cells in the table;
the following is performed for each frame of the cell:
determining a target unicode according to the arrangement direction of the frames in the format document page;
determining a target circumscribed rectangular frame according to the row height and column width of the table, the insertion position, the arrangement position and the arrangement direction of the frames in the layout document page;
And creating a frame element corresponding to the frame according to the target unicode and the target circumscribed rectangular frame.
8. The method of claim 1, wherein said encapsulating each of the cell objects and associated layout document elements into a form object conforming to a layout document standard comprises:
determining an arrangement position of each cell in the table;
according to the arrangement position, packaging a plurality of cells belonging to the same row and the associated frame element set into a row container;
and packaging a plurality of the row containers into table objects conforming to the format document standard.
9. The method according to claim 1, wherein the method further comprises:
and if the cell is not empty, packaging the content in the cell into a format document element, and associating the format document element with the cell object.
10. An apparatus for inserting a form in a layout document, the apparatus comprising:
the table determining module is used for determining a table to be inserted into the format document;
a cell object creation module for performing the following processing for each cell in the table: creating a cell object for the cell;
A border element creation module for performing, for each cell in the table, the following processing: creating a frame element set for the cell, and associating the frame element set with the cell object;
the table object packaging module is used for packaging each cell object and the associated format document element into a table object conforming to the format document standard, wherein the format document element comprises the frame element set;
and the table insertion module is used for writing the table object into the layout document.
11. An apparatus, comprising: a processor and a memory, the processor being configured to execute a program stored in the memory for inserting a table in a layout document, to implement the method for inserting a table in a layout document according to any one of claims 1 to 9.
12. A storage medium storing one or more programs executable by one or more processors to implement the method of inserting a form in a layout document of any of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311701696.6A CN117688916A (en) | 2023-12-11 | 2023-12-11 | Method, device, equipment and storage medium for inserting form in layout document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311701696.6A CN117688916A (en) | 2023-12-11 | 2023-12-11 | Method, device, equipment and storage medium for inserting form in layout document |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117688916A true CN117688916A (en) | 2024-03-12 |
Family
ID=90129636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311701696.6A Pending CN117688916A (en) | 2023-12-11 | 2023-12-11 | Method, device, equipment and storage medium for inserting form in layout document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117688916A (en) |
-
2023
- 2023-12-11 CN CN202311701696.6A patent/CN117688916A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3220249A1 (en) | Method, device and terminal for implementing regional screen capture | |
KR101334483B1 (en) | Apparatus and method for digitizing a document, and computer-readable recording medium | |
US11216253B2 (en) | Application prototyping tool | |
US10210144B2 (en) | Creation and display of a webpage with alternative layouts for different webpage widths | |
JP2020205052A (en) | System and method for automated conversion of interactive sites and applications to support mobile and other display environments | |
US20100199195A1 (en) | Adaptive Rendering Of A Webpage On An Electronic Display Device | |
US20120254733A1 (en) | Method for Users to Create and Edit Web Page Layouts | |
CN106610829B (en) | Webpage screenshot method and device | |
KR20150091132A (en) | Page rendering method and apparatus | |
BRPI0502554B1 (en) | method and system for creating a chart associated with a document | |
CN105956133B (en) | Method and device for displaying file on intelligent terminal | |
CN106776994B (en) | Application method and system of engineering symbols in engineering report forms and web pages | |
US20160042021A1 (en) | System and method for rendering of hierarchical data structures | |
CN111309671A (en) | Method, device and storage medium for exporting PDF (Portable document Format) of web report | |
CN113031949A (en) | iOS-based text rendering engine, method, apparatus, device, and medium | |
CN104794106A (en) | Annotating method and device | |
CN111694493B (en) | Webpage screenshot method, computer equipment and readable storage medium | |
CN111190519A (en) | File and control processing method, device, equipment and storage medium thereof | |
CN116402020A (en) | Signature imaging processing method, system and storage medium based on OFD document | |
CN115757272A (en) | Method and system for converting HTML file into OFD file | |
CN104424174B (en) | Document processing system and document processing method | |
CN103049430A (en) | Page display method based on IDF (interactive document format) files | |
CN112416340A (en) | Webpage generation method and system based on sketch | |
US8185818B2 (en) | Mixed techniques for HTML crosstab rendering | |
CN110825989B (en) | Picture display method and device, electronic equipment and readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |