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,

CodePudding user response:

refer to the second floor dext response:
scheme how a mess? Is random, or not to, simple lines of x line height is clearly wrong,

Scheme ii, many data, only Chinese language materials is less,,, https://www.libreoffice.org/community/developers/

I know wrong, control is not accurate, so I didn't say a used as a backup,

CodePudding user response:

reference kuyucman reply: 3/f
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,

Well, if there is no back, just use the first way, I'll look for information about openoffice and libreOffice,

CodePudding user response:

Hello, don't know what your problem is solved, my project is also need in the header, footer to add data, but I was in the excel file to add,
I have generated by QXslx external libraries will excel form, but is simply a list, now need to add the header and footer, don't know how to begin ~
Your scheme ii don't know what principle?

CodePudding user response:

refer to 6th floor u013914992 response:
hello, don't know what your problem is solved, my project is also need in the header, footer to add data, but I was in the excel file to add,
I have generated by QXslx external libraries will excel form, but is simply a list, now need to add the header and footer, don't know how to begin ~
Your scheme ii don't know what principle?

I didn't do it, now looking at the openoffice interface,

CodePudding user response:

refer to 7th floor rl529014 response:
Quote: refer to the sixth floor u013914992 response:

Hello, don't know what your problem is solved, my project is also need in the header, footer to add data, but I was in the excel file to add,
I have generated by QXslx external libraries will excel form, but is simply a list, now need to add the header and footer, don't know how to begin ~
Your scheme ii don't know what principle?

I didn't do it, now looking at the interface of openoffice,

Oh oh ok 1

CodePudding user response:

LZ, do you solved this problem? The younger brother is also met this problem now, don't know how to start

CodePudding user response:

Her main problem solved?

CodePudding user response:

Use the WPS secondary development interface

CodePudding user response:

The
references to the tenth floor zhouyi936 response:
her main problem solved?

Finally I use HTML, the effect also can also, to meet customer demand,

CodePudding user response:

references 9 f Xinyang886 response:
LZ, do you solved the problem? The younger brother is also met this problem now, I don't know how to lay their hands on the

I am using HTML

CodePudding user response:

As you said in the way of using only HTML the difficulty is how to solve? Can say something about ideas?

CodePudding user response:

I recently also have similar projects with you, I now the difficulty is in the table is in Chinese gibberish, the building Lord you is how to solve?

CodePudding user response:

The building Lord, how can I ask the HTML turned my word, I recently doing this stuff, also want to cross-platform do
  •  Tags:  
  • Qt
  • Related