Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.82 KB

File metadata and controls

35 lines (26 loc) · 1.82 KB

DocxParagraphAnchorOutput

One citation anchored to a paragraph in a .docx deliverable.

Properties

Name Type Description Notes
type str [optional] [default to 'docx_paragraph']
paragraph_index int 0-based position of the <w:p> in word/document.xml body.
comment_id int w:id of the comment in word/comments.xml.
citations List[CitedChunk] Cited chunks in the order they appeared in the comment body, each with the source-document snapshot resolved at save time.
anchor_text str Paragraph text at this anchor (first 160 chars), for FE display. NOT the cited quote. [optional] [default to '']
chunk_ids List[UUID] Flat projection of cited chunk_ids — kept for FE back-compat. Prefer ``citations`` for new code. See ``XlsxCellAnchor.chunk_ids`` for the full rationale. [readonly]

Example

from ksapi.models.docx_paragraph_anchor_output import DocxParagraphAnchorOutput

# TODO update the JSON string below
json = "{}"
# create an instance of DocxParagraphAnchorOutput from a JSON string
docx_paragraph_anchor_output_instance = DocxParagraphAnchorOutput.from_json(json)
# print the JSON string representation of the object
print(DocxParagraphAnchorOutput.to_json())

# convert the object into a dict
docx_paragraph_anchor_output_dict = docx_paragraph_anchor_output_instance.to_dict()
# create an instance of DocxParagraphAnchorOutput from a dict
docx_paragraph_anchor_output_from_dict = DocxParagraphAnchorOutput.from_dict(docx_paragraph_anchor_output_dict)

[Back to Model list] [Back to API list] [Back to README]