Home > Mobile > Linux platform, Qt generated word, there are technical difficulties, conquer (openoffice)
Linux platform, Qt generated word, there are technical difficulties, conquer (openoffice)
Time:09-21
I encounter a difficult problem in the project, and everyone answers,
Platform: the winning kirin (Linux) Customer requirements: the form content generation word, need the font, font size, text color, to control, the key (when there is a more informative, every page must have the header)
My status: Plan 1: Using HTML, generating word, simple format can be controlled, such as font, font size, color, etc., (the winning PWC office supports HTML format, so I just tested the,) Difficulties: in the generated word tables, each page must have the header is a problem, if use manual calculation way: computer every page of the height, the height of each row, each page to store the number of lines to control the position of each page header, one thousand form more than one cell contents, two lines of position, the back of the header order all messed up, (this scheme is feasible, but the control of the table format is not accurate, so the standby),
Scheme 2: Use openoffice interface, with Qt interface to operate openoffice, generating word and excel spreadsheets, Difficulties: the online information about openoffice is too little, there is no interface related information, the tight project, don't have time to read the source openoffice,
Please everyone a great god put forward your valuable advice, (what's a good idea, can also add my QQ, tell me directly, grateful)
CodePudding user response:
My QQ: 913970877, don't get to the Internet during the day, can't reply you, sorry,
CodePudding user response:
One way how disorderly? Is random, or not to, simple lines of x line height is clearly wrong,
Scheme 2, many data, only Chinese language materials is less,,, https://www.libreoffice.org/community/developers/
CodePudding user response:
Never done this kind of, but I thought it would be felt in the second scenario, it is best to use openoffice or LibreOffice existing components to convert the format,