Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TFboy1/academic-paper-writer
/ functions
Functions
116 in github.com/TFboy1/academic-paper-writer
⨍
Functions
116
◇
Types & classes
5
↓ 5 callers
Function
_append_xml
(xml_path: Path, root_tag: str, content: str)
docx/scripts/comment.py:86
↓ 5 callers
Method
_parse_id_value
(self, val: str, base: int = 16)
docx/scripts/office/validators/docx.py:251
↓ 3 callers
Function
_find_elements
(root, tag: str)
docx/scripts/office/helpers/merge_runs.py:44
↓ 3 callers
Function
_is_run
(node)
docx/scripts/office/helpers/merge_runs.py:154
↓ 3 callers
Function
get_soffice_env
()
docx/scripts/office/soffice.py:24
↓ 2 callers
Method
_extract_text_content
(self, root)
docx/scripts/office/validators/redlining.py:229
↓ 2 callers
Function
_find_elements
(root, tag: str)
docx/scripts/office/helpers/simplify_redlines.py:111
↓ 2 callers
Function
_generate_hex_id
()
docx/scripts/comment.py:68
↓ 2 callers
Function
_get_author
(elem)
docx/scripts/office/helpers/simplify_redlines.py:80
↓ 2 callers
Function
_get_child
(parent, tag: str)
docx/scripts/office/helpers/merge_runs.py:59
↓ 2 callers
Function
_merge_tracked_changes_in
(container, tag: str)
docx/scripts/office/helpers/simplify_redlines.py:47
↓ 2 callers
Method
_remove_author_tracked_changes
(self, root)
docx/scripts/office/validators/redlining.py:198
↓ 2 callers
Method
_validate_single_file_xsd
(self, xml_file, base_path)
docx/scripts/office/validators/base.py:750
↓ 2 callers
Function
get_field_info
(reader: PdfReader)
pdf/scripts/extract_form_field_info.py:47
↓ 2 callers
Method
repair
(self)
docx/scripts/office/validators/docx.py:386
↓ 2 callers
Method
validate
(self)
docx/scripts/office/validators/pptx.py:25
↓ 2 callers
Method
validate_against_xsd
(self)
docx/scripts/office/validators/base.py:636
↓ 2 callers
Method
validate_all_relationship_ids
(self)
docx/scripts/office/validators/base.py:385
↓ 2 callers
Method
validate_content_types
(self)
docx/scripts/office/validators/base.py:492
↓ 2 callers
Method
validate_file_references
(self)
docx/scripts/office/validators/base.py:289
↓ 2 callers
Method
validate_namespaces
(self)
docx/scripts/office/validators/base.py:170
↓ 2 callers
Method
validate_unique_ids
(self)
docx/scripts/office/validators/base.py:199
↓ 2 callers
Method
validate_xml
(self)
docx/scripts/office/validators/base.py:143
↓ 1 callers
Function
_can_merge
(run1, run2)
docx/scripts/office/helpers/merge_runs.py:159
↓ 1 callers
Function
_can_merge_tracked
(elem1, elem2)
docx/scripts/office/helpers/simplify_redlines.py:89
↓ 1 callers
Method
_clean_ignorable_namespaces
(self, xml_doc)
docx/scripts/office/validators/base.py:703
↓ 1 callers
Function
_condense_xml
(xml_file: Path)
docx/scripts/office/pack.py:108
↓ 1 callers
Function
_consolidate_text
(run)
docx/scripts/office/helpers/merge_runs.py:178
↓ 1 callers
Function
_encode_smart_quotes
(text: str)
docx/scripts/comment.py:80
↓ 1 callers
Function
_ensure_comment_content_types
(unpacked_dir: Path)
docx/scripts/comment.py:179
↓ 1 callers
Function
_ensure_comment_relationships
(unpacked_dir: Path)
docx/scripts/comment.py:137
↓ 1 callers
Function
_ensure_shim
()
docx/scripts/office/soffice.py:53
↓ 1 callers
Function
_escape_smart_quotes
(xml_file: Path)
docx/scripts/office/unpack.py:91
↓ 1 callers
Function
_find_para_id
(comments_path: Path, comment_id: int)
docx/scripts/comment.py:98
↓ 1 callers
Function
_first_child_run
(container)
docx/scripts/office/helpers/merge_runs.py:128
↓ 1 callers
Method
_generate_detailed_diff
(self, original_text, modified_text)
docx/scripts/office/validators/redlining.py:104
↓ 1 callers
Function
_get_authors_from_docx
(docx_path: Path)
docx/scripts/office/helpers/simplify_redlines.py:149
↓ 1 callers
Function
_get_children
(parent, tag: str)
docx/scripts/office/helpers/merge_runs.py:68
↓ 1 callers
Method
_get_expected_relationship_type
(self, element_name)
docx/scripts/office/validators/base.py:469
↓ 1 callers
Method
_get_git_word_diff
(self, original_text, modified_text)
docx/scripts/office/validators/redlining.py:127
↓ 1 callers
Function
_get_next_rid
(rels_path: Path)
docx/scripts/comment.py:108
↓ 1 callers
Method
_get_original_file_errors
(self, xml_file)
docx/scripts/office/validators/base.py:787
↓ 1 callers
Method
_get_schema_path
(self, xml_file)
docx/scripts/office/validators/base.py:685
↓ 1 callers
Function
_has_content_type
(ct_path: Path, part_name: str)
docx/scripts/comment.py:129
↓ 1 callers
Function
_has_relationship
(rels_path: Path, target: str)
docx/scripts/comment.py:121
↓ 1 callers
Function
_is_adjacent
(elem1, elem2)
docx/scripts/office/helpers/merge_runs.py:78
↓ 1 callers
Function
_is_element
(node, tag: str)
docx/scripts/office/helpers/simplify_redlines.py:75
↓ 1 callers
Method
_looks_like_uuid
(self, value)
docx/scripts/office/validators/pptx.py:100
↓ 1 callers
Function
_merge_run_content
(target, source)
docx/scripts/office/helpers/merge_runs.py:170
↓ 1 callers
Function
_merge_runs_in
(container)
docx/scripts/office/helpers/merge_runs.py:108
↓ 1 callers
Function
_merge_tracked_content
(target, source)
docx/scripts/office/helpers/simplify_redlines.py:104
↓ 1 callers
Function
_needs_shim
()
docx/scripts/office/soffice.py:44
↓ 1 callers
Function
_next_element_sibling
(node)
docx/scripts/office/helpers/merge_runs.py:135
↓ 1 callers
Function
_next_sibling_run
(node)
docx/scripts/office/helpers/merge_runs.py:144
↓ 1 callers
Method
_preprocess_for_mc_ignorable
(self, xml_doc)
docx/scripts/office/validators/base.py:742
↓ 1 callers
Function
_pretty_print_xml
(xml_file: Path)
docx/scripts/office/unpack.py:82
↓ 1 callers
Function
_remove_elements
(root, tag: str)
docx/scripts/office/helpers/merge_runs.py:93
↓ 1 callers
Method
_remove_ignorable_elements
(self, root)
docx/scripts/office/validators/base.py:723
↓ 1 callers
Method
_remove_template_tags_from_text_nodes
(self, xml_doc)
docx/scripts/office/validators/base.py:814
↓ 1 callers
Function
_run_validation
( unpacked_dir: Path, original_file: Path, suffix: str, infer_author_func=None, )
docx/scripts/office/pack.py:69
↓ 1 callers
Function
_setup_libreoffice_macro
()
docx/scripts/accept_changes.py:91
↓ 1 callers
Function
_strip_run_rsid_attrs
(root)
docx/scripts/office/helpers/merge_runs.py:99
↓ 1 callers
Function
accept_changes
( input_file: str, output_file: str, )
docx/scripts/accept_changes.py:36
↓ 1 callers
Function
add_comment
( unpacked_dir: str, comment_id: int, text: str, author: str = "Claude", initials: str = "
docx/scripts/comment.py:218
↓ 1 callers
Method
compare_paragraph_counts
(self)
docx/scripts/office/validators/docx.py:243
↓ 1 callers
Function
convert
(pdf_path, output_dir, max_dim=1000)
pdf/scripts/convert_pdf_to_images.py:9
↓ 1 callers
Function
convert_pdf_to_images
Converts a PDF file into a sequence of PNG images, one for each page.
ocr_kb/scripts/page_to_image.py:10
↓ 1 callers
Method
count_paragraphs_in_original
(self)
docx/scripts/office/validators/docx.py:179
↓ 1 callers
Method
count_paragraphs_in_unpacked
(self)
docx/scripts/office/validators/docx.py:163
↓ 1 callers
Function
create_validation_image
(page_number, fields_json_path, input_path, output_path)
pdf/scripts/create_validation_image.py:9
↓ 1 callers
Function
extract_form_structure
(pdf_path)
pdf/scripts/extract_form_structure.py:20
↓ 1 callers
Function
fill_pdf_fields
(input_pdf_path: str, fields_json_path: str, output_pdf_path: str)
pdf/scripts/fill_fillable_fields.py:11
↓ 1 callers
Function
fill_pdf_form
(input_pdf_path, fields_json_path, output_pdf_path)
pdf/scripts/fill_pdf_form_with_annotations.py:33
↓ 1 callers
Function
get_bounding_box_messages
(fields_json_stream)
pdf/scripts/check_bounding_boxes.py:15
↓ 1 callers
Function
get_full_annotation_field_id
(annotation)
pdf/scripts/extract_form_field_info.py:9
↓ 1 callers
Function
get_tracked_change_authors
(doc_xml_path: Path)
docx/scripts/office/helpers/simplify_redlines.py:126
↓ 1 callers
Function
latex_to_omml
Converts a LaTeX math string into Microsoft Word OMML (Office Math Markup Language) XML. Uses pandoc as the conversion engine.
ocr_kb/scripts/latex_to_omml.py:8
↓ 1 callers
Function
main
()
pdf/scripts/extract_form_structure.py:91
↓ 1 callers
Function
main
()
docx/scripts/office/validate.py:25
↓ 1 callers
Function
make_field_dict
(field, field_id)
pdf/scripts/extract_form_field_info.py:19
↓ 1 callers
Function
monkeypatch_pydpf_method
()
pdf/scripts/fill_fillable_fields.py:74
↓ 1 callers
Function
pack
( input_directory: str, output_file: str, original_file: str | None = None, validate: bool = T
docx/scripts/office/pack.py:24
↓ 1 callers
Function
rects_intersect
(r1, r2)
pdf/scripts/check_bounding_boxes.py:20
↓ 1 callers
Method
repair_durableId
(self)
docx/scripts/office/validators/docx.py:391
↓ 1 callers
Method
repair_whitespace_preservation
(self)
docx/scripts/office/validators/base.py:115
↓ 1 callers
Function
run_soffice
(args: list[str], **kwargs)
docx/scripts/office/soffice.py:35
↓ 1 callers
Function
transform_from_image_coords
(bbox, image_width, image_height, pdf_width, pdf_height)
pdf/scripts/fill_pdf_form_with_annotations.py:10
↓ 1 callers
Function
transform_from_pdf_coords
(bbox, pdf_height)
pdf/scripts/fill_pdf_form_with_annotations.py:23
↓ 1 callers
Function
traverse
(node)
docx/scripts/office/helpers/simplify_redlines.py:114
↓ 1 callers
Function
traverse
(node)
docx/scripts/office/helpers/merge_runs.py:47
↓ 1 callers
Function
unpack
( input_file: str, output_directory: str, merge_runs: bool = True, simplify_redlines: bool = T
docx/scripts/office/unpack.py:34
↓ 1 callers
Method
validate
(self)
docx/scripts/office/validators/base.py:109
↓ 1 callers
Method
validate_comment_markers
(self)
docx/scripts/office/validators/docx.py:298
↓ 1 callers
Method
validate_deletions
(self)
docx/scripts/office/validators/docx.py:112
↓ 1 callers
Method
validate_file_against_xsd
(self, xml_file, verbose=False)
docx/scripts/office/validators/base.py:598
↓ 1 callers
Method
validate_id_constraints
(self)
docx/scripts/office/validators/docx.py:254
↓ 1 callers
Method
validate_insertions
(self)
docx/scripts/office/validators/docx.py:202
↓ 1 callers
Method
validate_no_duplicate_slide_layouts
(self)
docx/scripts/office/validators/pptx.py:172
↓ 1 callers
Method
validate_notes_slide_references
(self)
docx/scripts/office/validators/pptx.py:210
↓ 1 callers
Method
validate_slide_layout_ids
(self)
docx/scripts/office/validators/pptx.py:104
next →
1–100 of 116, ranked by callers