Modified version of Task Count by Dawid. This macro counts all checkboxes and adds how many are completed to the title of the page. It also counts how many exclamation, question, star, and pin tags there are. This version counts all checkbox style tags (including CheckBox priority 1 - n, meeting checkboxes, starred checkboxes etc). Furthermore, it counts all checkbox tags applied to the same paragraph rather than just 1, so if two checkbox tags are applied to the same paragraph, it will count both of them.
Indents first line of each paragraph in Current Page or Current Section, ignoring the following cases: Paragraph in the table, bulleted paragraph, numbered paragraph, blank paragraph, paragraph other than default style is set, "center" or "right" alignment is set.
This macro toggles hierarchical numbering for all paragraphs styled as Heading 1 through Heading 6 on the current page. It intelligently detects existing numeric prefixes using string analysis to determine whether to add or remove numbering.
In Add Mode, it prepends multi-level numbers (e.g., "1", "1.1", "1.1.1", etc.) to your headings while automatically maintaining and resetting sub-level counts. In Remove Mode, it identifies the numeric prefix and strips it away to restore your original heading text. This toggle design allows you to quickly refresh or "reset" your numbering by simply running the macro twice.