Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Help contents are available from GitHub with this link.

...

titleColor#4178be
titleBGColor#e7f5ff
titleAll Plugins

...

Word Editor with this plug-in can read and modify the docx file header, footer, table, and paragraph.

Item

Value

Icon

Image Added

Display Name

Word Editor

Arun Kumar (arunk@argos-labs.com)

Arun Kumar

Version Control

Input (Required)

OP Type

Parameters

Output

Read Header


p_id,paragraph




Read Header

Run

p_id,r_id,paragraph




Update Header

Paragraph Index

Updated file path


Update Value


Update Header

Paragraph Index

Updated file path


Update Value



Output Path


Update Header

Paragraph Index

Updated file path


Run Index



Update Value


Update Header

Paragraph Index

Updated file path


Run Index



Update Value



Output Path


Read Paragraphs


p_id,paragraph




Read Paragraphs

Run

p_id,r_id,paragraph




Update Paragraphs

Paragraph Index

Updated file path


Update Value


Update Paragraphs

Paragraph Index

Updated file path


Update Value



Output Path


Update Paragraphs

Paragraph Index

Updated file path


Run Index



Update Value


Update Paragraphs

Paragraph Index

Updated file path


Run Index



Update Value



Output Path


Read Table

Table Index

row_id,cell_id,value




Read Table

Table Index

row_id,cell_id,value


Row Index


Read Table

Table Index

row_id,cell_id,value


Row Index



Cell Index


Read Table

Table Index

row_id,cell_id,p_id,r_id,value


Row Index



Cell Index



Run


Update Table Rows

Table Index

Updated file path


Row Index



Cell Index



Update Value


Update Table Rows

Table Index

Updated file path


Row Index



Cell Index



Update Value



Output Path


Update Table Rows

Table Index

Updated file path


Row Index



Cell Index



Paragraph Index



Run Index



Update Value


Update Table Rows

Table Index

Updated file path


Row Index



Cell Index



Paragraph Index



Run Index



Update Value



Output Path


Read Footer


p_id,paragraph




Read Footer

Run

p_id,r_id,paragraph




Update Footer

Paragraph Index

Updated file path


Update Value


Update Footer

Paragraph Index

Updated file path


Update Value



Output Path


Update Footer

Paragraph Index

Updated file path


Run Index



Update Value


Update Footer

Paragraph Index

Updated file path


Run Index



Update Value



Output Path


Notes:-

  • p_id has information about Paragraph Index.
  • r_id has information about Run Index.
  • Run Index treated as sub-paragraph.
  • row_id has information about Row Index.
  • cell_id has information about Cell Index.
  • Cell Index treated as sub-row.
  • Output Path is an optional parameter to store an updated file,
    In case of not being selected default updated file will keep in the exact location as the docx file.
  • In case of an empty Run Index, put it as None.
  • When reading Paragraphs or Table with the plot select, a help docx file will generate with
    Row Index, Cell Index, Paragraph Index, and Run Index.
  1. (Paragraph Index)
  2. (Paragraph Index, Run Index),
  3. (Row Index, Cell Index),
  4. (Row Index, Cell Index, Paragraph Index, Run Index)

Return Value

Normal Case

Description of the output result

Return Code

Code

Meaning

0

Success

1

Exceptional case

Output Format

You may choose one of 3 output formats below,

  • String (default)
  • CSV
  • File

Parameter setting examples (diagrams)

Operations

Sample Docx File:

Word Editor Input Data

Read Header:

Image Added

Read Header with Run:

Image Added

Read Paragraphs:

Image Added

Read Paragraphs with Run:

Image Added

Read Table:

Image Added

Update Paragraphs:

Image Added

Update Table:

Image Added

Update Table with Run:

Image Added