Is it possible to change the Z-Order of a shape in a pptx slide with Apache POI?
If not directly, any workaround?
Related
We are generating a PPT file using apache poi 3.9. The table in the slide will have dynamic number of columns. How to center align the table in the generated file. Now, the margin is set using:
table.setAnchor(new Rectangle(50, 60, 300, 300));
You can calculate the table width and setting the left margin. That should fix the issue. I will check if there is any alternative.
The issue is resolved by calculating the table width and setting the left margin
there is an excel file which contains chart number, segment number and their respective colors. So i want to change the color of reports on Pentaho Report Designer through the excel file means each segment of pie chart gets the color mentioned in excel file.
There is a Chart Property called Series Color where you can define the colors as per your need.
We are applying a stylesheet to SSRS report footer. Footer Font color is set dynamically based on the configuration in the database.
When report is exported into Excel, footer color is always black. It is always black in the SSRS report as well. However PDF export shows the footer color correctly.
Has anyone faced this issue with footer color in Excel export? Is it not possible to change the footer color in Excel export? Any tips are appreciated.
Thanks in advance
I suspect you're just using a color that Excel doesn't typically use. Try matching your CSS to one of the 56 colors that Excel can accepts from SSRS. See:
exporting-to-microsoft-excel
"If more than 56 colors are used in the report, the rendering
extension matches the required color to one of the 56 colors already
available in the custom palette."
I just struck a similar issue, but when Exporting to Word docx format. It seems to ignore the font settings for placeholders in a footer.
I was able to work around it using the technique described in the link below - you set the text as a Placeholder with Markup Type = HTML, then wrap the text in HTML tags as the Value e.g.
="<font color='blue'>My blue footer text</font>"
https://social.technet.microsoft.com/wiki/contents/articles/18748.ssrs-multi-font-color-multi-font-size-within-a-single-field-textbox.aspx
My charts turned into regular shape after I saved it to SVG and re-opened the file. I am not sure if it was that caused the problem but that is all what I know and now, since it turned into regular shape, I can't edit the data anymore.
here is the image :
And for your info, it is not donut chart, it is just collection of pie chart.
so my question is, how to convert it back so I can edit the data chart.
Is it possible to insert shape and add the shape to already existing picture inserted from a file like PNG, JPG, GIF. I am looking for merging the shape and the picture in ONE image, not just grouping them together.
Alternatively is there a way to group two objects in Excel permanently so that no ungrouping is possible?
It is not possible to draw images in Excel. You can only import images.