Free Support Forum - aspose.cloud

Will supports API call in ‘Aspose.Words for Cloud API Reference’ for get Document Styles for Microsoft Docx as it do as in java library?


#1

I saw in Java library we can working with styles. Will be supports API call for it?

I see style name (for example “Bod”), but how can I get font size, font family and other attributes this custom style?
Thanks


This Topic is created by tilal.ahmad using the Email to Topic plugin.


#2

@Anatoliy

Thanks for your request. We have logged an enhancement ticket(WORDSCLOUD-699) to support working with styles. We will keep you updated about the issue resolution progress within this forum thread.


#3

@Anatoliy

We will appreciate it if you please share your sample input document along with expected results. It will help us to understand the requirement and address it exactly.

Furthermore, we already have an API to get font details of a run. It can also help to get font properties.

https://apireference.aspose.cloud/words/#!/Runs/GetDocumentParagraphRun


#4

Thank you for create task. When I use https://apireference.aspose.cloud/words/#!/Runs/GetDocumentParagraphRun then I get empty answer.
I attached screenshot.

getDocumentParagraphRun.png (249.7 KB)

params
name: “Microsoft_Corporation_-Stock_Purchase_Agreement(Anatoliy_Shirokikh).docx”
paragraphPath: http://api.aspose.cloud/v1.1/words/docx/sections/0/paragraphs/1
index: 0


#5

@Anatoliy

Please pass parameters to the subjected API as follow. Use sections/0/paragraphs/0 For first paragraph of first section. You may share your sample document and expected results here, so we will also look into it and guide you.

name=test.docx
paragraphpath=sections/0/paragraphs/0
index=0


#6

Thank you for your answer. But as result to get all styles from document I should make very-very many requests. Maybe exists variant when I can get all styles from document via less count requests?


#7

@Anatoliy

Thanks for your feedback. We have recorded your requirement. We will further investigate it and implement accordingly. We will keep you updated about the issue resolution progress within this forum thread.