我尝试使用Python中的reportlab生成一个发货清单.我试图通过使用Platypus将所有部件(如发件人地址,收件人地址,表格)放在适当的位置Frames.
我遇到的第一个问题是我需要很多Frames东西以正确的方式定位所有东西,使用Platypus有更好的方法吗?因为我希望发件人地址和我的地址处于相同的高度,如果我只是将它们添加到我的地址,story = []它们会一个接一个地对齐.
接下来的问题是我正在绘制的表格是动态的,当我到达Frame(我希望表格去的空间)的末尾时,它只是FrameBreak在下一帧中进行并且连续.那么如何让Frame(我的桌子的空间)动态?
I have a free text field in my html page, but I want to fill it with given strings. So lets say I have strings, "apple", "banana" and "pineapple", and now I want to have a button "add content" that opens a modal box, or if it's easier simply a list embedded in my page, that gives me a list where I can select multiple items with the option to enter a quantity for each selected item and adds the …