Block-level text container with formatting, indentation, and list support.
Path: /body/p[N]
/body/p[N]
get - Returned attributes and output format
add - Add paragraphs with text, styles, and lists
set - Modify paragraph formatting and properties
officecli get report.docx /body/p[1] officecli get report.docx /body/p[1] --depth 2
Selectors: paragraph, p
paragraph
p
style
alignment
left
center
right
justify
firstLineIndent
numId
numLevel
ilvl
listStyle
Pseudo-selectors: :contains("text"), :empty
:contains("text")
:empty
officecli query report.docx "p[style=Heading1]" officecli query report.docx "p[alignment=center]" officecli query report.docx "p:empty" officecli query report.docx 'p:contains("conclusion")' officecli query report.docx "p[style!=Normal]"
officecli remove report.docx /body/p[3]
officecli move report.docx /body/p[5] --index 0
Based on OfficeCLI v1.0.64
There was an error while loading. Please reload this page.