Shape title font in aspose v7

Previously (2.4.x.x) we were able to do the following to set the title and title font on a shape. This does not appear to work in 7.


shape.setCharacters(0, titleText.length(), titleAsposeFont);

The alternative seems to be shape.setTitle(String) but I cannot find a way to set the font for the title.

Thanks!





Hi,

Thanks for your posting and using Aspose.Cells for Java.

I am afraid, this API is not supported yet. We have logged this issue in our database with the ticket id: CELLSJAVA-40250. We will look into it and implement it.

Once this issue is fixed or we have some other update for you relating to it, we will let you know asap.

Furthermore, we had to update our APIs model because we wanted Aspose.Cells
for Java should be equally matched with Aspose.Cells for .NET for its features,
performance, efficiency and APIs etc. We did port our .NET code to write
Aspose.Cells for Java. Now there is no difference b/w Aspose.Cells for .NET and
Aspose.Cells for Java as both products are equally matched regarding APIs,
features, enhancements and performance etc.

Moreover, we may not change our current APIs model (since the release of v7.0.0 and greater versions) in future (except for any inevitable reason) as now we have more composed model of the product in parallel to Aspose.Cells for .NET.

For your complete reference, I have attached an Excel file that contains all the changes that you may come across in the APIs model to upgrade from v2.5.4.x to new 7.x.x for your needs. Hope, using the attached file you may understand the significant changes in the APIs model now.

Thanks for your understanding!

Hi,

Thanks for your interest in Aspose.Cells.

At the moment, Aspose.Cells for Java does not provide the implementation of setCharacters() method.

However, if you want to set the font to the whole title of the shape, please use
Shape.SetFont() method.

And we will soon provide the implementation of setCharacters() method in our coming versions.

I wish to have two separate fonts for the shape, one for the title and one for the shape text. This was possible in 2.5.4.x and setFont does not resolve this unfortunately.

Hi,

Thanks for your feedback.

We understand your needs. We have added the request for your requested feature in our database. We will implement it and provide you this feature soon.

Have a good day.

Hi,

Please download and use the latest version: Aspose.Cells for Java 7.3.0

We added a method:

FontSetting com.aspose.cells.Shape.characters(int startIndex, int length)

To change the font settings for the shape text, please modify the font got from the returned FontSetting object.