-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Captions for Images/Tables #809
Comments
@kilianweisl Hi have you got a sample file as expected result for analysis ? |
@Progi1984 Sure! Thanks for the fast reply. Suppose I have the following code:
The output .pptx file is: Now the problem is, I don't know how many rows my table has and I need to add a caption below it like so: How can I get the final height of the table (after adding all rows) in order to place a text object afterwards? This might also include splitting the table and printing them on multiple slides, as mentioned in #72. |
@kilianweisl Could you send me a sample docx file with expected result ? I want to analyze the file. Thanks |
Do you mean the pptx file? It's just a bunch of rows and a text underneath it. |
Oh. I didn't understand it. I think you must all calculate : font size, margin, border size, etc... |
Hello!
I'd like to add captions to images or tables.
I couldn't find anything in the docs.
Either it's possible to get the height of a dynamic shape after filling it (like adding rows to a table) or there is a solution implemented already.
For images, I could also pre-calculate the height when drawing the image with a specific width (considering its aspect-ration), but getting the height via the library would be much more convenient.
Many thanks in advance!
The text was updated successfully, but these errors were encountered: