### forEach with Start Attribute
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_forEach_topic_ID0EM5KSB.html
This example shows how to specify a starting point within a data set using the 'st' attribute. The second element in the set will be the first point returned.
```xml
```
--------------------------------
### Start Condition Delay Example
Source: https://c-rex.net/samples/ooxml/e1/Part3/OOXML_P3_Primer_Conditional_topic_ID0ELBFO.html
Use the `` element to specify conditions that must be met for a time node to start. This example shows a delay of 5000 milliseconds before the time node begins.
```XML
```
--------------------------------
### Example Usage of with and
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_end_topic_ID0E1QWJB.html
This example demonstrates how to use the `` (start) and `` elements within `` to define a specific audio playback range. The `` element specifies the track and time at which playback should stop.
```xml
```
--------------------------------
### Example of `` and `` Usage
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_permEnd_topic_ID0EKVZW.html
Illustrates the pairing of `` and `` elements to define a range permission across multiple paragraphs. The `@id` attribute links the start and end markers.
```xml
This is sentence one.This is sentence two.This is sentence three.
```
--------------------------------
### Example Pack URI
Source: https://c-rex.net/samples/ooxml/e1/Part2/OOXML_P2_Open_Packaging_Conventions_Resolving_topic_ID0ENKBM.html
This is an example of a Pack URI that needs to be resolved to a resource.
```plaintext
pack://http%3c,,www.my.com,packages.aspx%3fmy.package/a/b/foo.xml
```
--------------------------------
### Define Wrapping Polygon with ``
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_lineTo_topic_ID0EFE5OB.html
This example demonstrates how to define a square wrapping polygon using `` and multiple `` elements. Each `` element specifies a vertex of the polygon.
```xml
```
--------------------------------
### BookmarkEnd Element Example
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_bookmarkEnd_topic_ID0EZQWW.html
This example demonstrates the structure of a paragraph containing a bookmark, with both BookmarkStart and BookmarkEnd elements.
```XML
This is sentence one.This is sentence two.This is sentence three.
```
--------------------------------
### Example of Guid Element Usage
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_Guid_topic_ID0E6EK2B.html
This snippet shows the structure of the Source element, including the Guid element with a sample GUID value. The Guid element specifies the GUID of a source.
```xml
2{EE06CBFE-1989-4533-A274-D81DFA436D79}0
```
--------------------------------
### Line Numbering Start Value
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_lnNumType_topic_ID0EVRAT.html
Defines the starting number for line numbering when it restarts. This example sets the starting number to 3.
```xml
```
--------------------------------
### FILESIZE Syntax Examples
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_FILESIZEFILESIZE_topic_ID0ERWF1.html
Demonstrates the usage of the FILESIZE syntax with different switches to retrieve document size in bytes, kilobytes, and megabytes.
```text
FILESIZE # #,##0
```
```text
FILESIZE \k
```
```text
FILESIZE \m
```
--------------------------------
### Example ST_Zoom Usage
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_Zoom_topic_ID0E2153.html
This example shows how to apply a zoom setting using the w:zoom element with specific values for 'bestFit' and 'percent'.
```xml
```
--------------------------------
### Example Usage of `` Element
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_Guid_topic_ID0E5FW2.html
This snippet demonstrates the usage of the `` element within a `` element to assign a unique 128-bit GUID to a document part. The GUID format must adhere to the specified pattern.
```xml
****
...
****
...
****
```
--------------------------------
### BookmarkStart and BookmarkEnd with Name
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_bookmarkStart_topic_ID0EHVXW.html
This example demonstrates how to define a bookmark with a specific name ('place') using both bookmarkStart and bookmarkEnd elements. The text between these elements ('Seattle') is the content of the bookmark.
```xml
Seattle
```
--------------------------------
### Example of `` for Date Grouping
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_rangePr_topic_ID0EKB5AB.html
This example demonstrates how to configure `` for grouping data by months, specifying a start and end date.
```xml
```
--------------------------------
### Example of `` with ``
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_lvl3pPr_topic_ID0ECXJLB.html
This example shows the basic structure of `` within a `` element, specifying no bullet (``) for list level 2 text.
```xml
…
…
Some text
…
```
--------------------------------
### Define Starting Value for Numbering Level
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_start_topic_ID0E1NVU.html
This example shows how to set the starting value for a numbering level using the `` element within an abstract numbering definition. The `w:val` attribute specifies the decimal number for the start value.
```xml
...
...
```
--------------------------------
### OOXML Equation Syntax Examples
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_EQ_topic_ID0EQKE1.html
Demonstrates various OOXML equation commands for formatting and mathematical expressions.
```ooxml
EQ \a \co 2 \ac \hs 10 ( 1000, 20, A, Sunday )
```
```ooxml
EQ \b \bc \| ( -100 )
```
```ooxml
EQ \b \bc \| ( \r(3, a + b)xx
```
```ooxml
EQ \d \fo 20 () xx
```
```ooxml
EQ \d \fo 30 \li ()xx
```
```ooxml
EQ \f ( 1, 32 )
```
```ooxml
EQ \f ( 7, 64 )
```
```ooxml
EQ \i ( 0, ∞, x )
```
```ooxml
EQ \i \su \in ( 0, 10, x )
```
```ooxml
EQ \i \pr \in ( 0, 5, x )
```
```ooxml
EQ \i \fc \\{ ( 0, 5, \f (x, 0.34) )
```
```ooxml
EQ \i \vc \\{ ( 0, 5, \f (x, 0.34) )
```
```ooxml
EQ \l ( 0, 10 )
```
```ooxml
EQ \b \lc \[ \rc \\) (\l (0, 10))
```
```ooxml
EQ \o ( 0, 0, 0 )
```
```ooxml
EQ \o ( 0, + )
```
```ooxml
EQ \o \ar ( 0, |, _ )
```
```ooxml
EQ \r ( 2 )
```
```ooxml
EQ \r ( 2, x )a
```
```ooxml
EQ \s \up (2) + b
```
```ooxml
EQ \s \up (2)a
```
```ooxml
EQ \x ( + ) b a
```
```ooxml
EQ \x \to \le ( + ) b a
```
```ooxml
EQ \x \bo \ri ( + ) b
```
--------------------------------
### Example of with
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_DocPartBehavior_topic_ID0ECCQ2.html
This example demonstrates the structure of a docPart element, including its properties and body, with a behavior attribute set to 'p' for paragraph insertion.
```xml
…
Sample entry.
```
--------------------------------
### Numbering Level Definition Example
Source: https://c-rex.net/samples/ooxml/e1/Part3/OOXML_P3_Primer_Abstract_topic_ID0EK1CI.html
This example defines a specific numbering level within an abstract numbering definition, specifying properties like starting number, format, style, and text.
```xml
```
--------------------------------
### TEMPLATE Field Syntax and Examples
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_TEMPLATETEMPLATE_topic_ID0ELBO1.html
Demonstrates the basic syntax of the TEMPLATE field and its usage with switches to control output format and include the full file path.
```text
TEMPLATE * Upper
TEMPLATE \p
```
--------------------------------
### Date and Time Formatting Examples
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_Date_topic_ID0EABZZ.html
Shows how to combine date and time formatting picture items for comprehensive output.
```OOXML
DATE \@ "M/d/yyyy h:mm am/pm"
```
```OOXML
DATE \@ "M/d/yyyy h:mm:ss am/pm"
```
--------------------------------
### Example of PatentNumber Element in OOXML
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_PatentNumber_topic_ID0ETSM2B.html
Illustrates the structure of a Source element including the PatentNumber, RefOrder, Guid, and LCID.
```xml
…
1,000,00026{8295ABC5-2DFD-4FA7-A2A7-A748917C1755}0
```
--------------------------------
### GOTOBUTTON Field Syntax Examples
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_GOTOBUTTONGOTOBUTTON_topic_ID0ELLG1.html
Demonstrates the syntax for the GOTOBUTTON field, specifying different types of destinations like bookmarks, page numbers, and footnotes.
```ooxml
GOTOBUTTON MyBookmark Dest
```
```ooxml
GOTOBUTTON p3 Page
```
```ooxml
GOTOBUTTON "f 2" Footnote
```
--------------------------------
### Setting Footnote Starting Number with numStart
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_numStart_topic_ID0ESPCV.html
This example shows how to configure the footnote numbering to start from the fourth letter of the alphabet ('D') by setting the numStart value to 4. The numFmt element specifies the numbering format as upperLetter.
```xml
```
--------------------------------
### CUBE Function Connection Example for ``
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_main_topic_ID0E2FACB.html
Example of the `` element's `first` attribute specifying the connection for a CUBE function.
```xml
```
--------------------------------
### Example of nextPage Section Break in OOXML
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_SectionMark_topic_ID0EKNN3.html
This snippet illustrates the XML structure for a section break that starts on the next page.
```xml
```
--------------------------------
### Example Usage of ``
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_lvl2pPr_topic_ID0EY2HLB.html
Demonstrates the structure of `` within a `` element, showing its use with `` for list level 1.
```xml
...
...
Some text
...
```
--------------------------------
### Basic Date Formatting Examples
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_Date_topic_ID0EABZZ.html
Demonstrates various ways to format dates using the DATE field with different picture switch arguments.
```OOXML
DATE \@ "M/d/yyyy"
```
```OOXML
DATE \@ "dddd, MMMM dd, yyyy"
```
```OOXML
DATE \@ "MMMM d, yyyy"
```
```OOXML
DATE \@ "M/d/yy"
```
```OOXML
DATE \@ "yyyy-MM-dd"
```
```OOXML
DATE \@ "d-MMM-yy"
```
```OOXML
DATE \@ "M.d.yyyy"
```
```OOXML
DATE \@ "MMM. d, yy"
```
```OOXML
DATE \@ "d MMMM yyyy"
```
```OOXML
DATE \@ "MMMM yy"
```
```OOXML
DATE \@ "MMM-yy"
```
--------------------------------
### Example Usage of ST_Char in OOXML
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_Char_topic_ID0E1US1B.html
Illustrates the usage of ST_Char for defining start and end characters within a dPr element.
```xml
<><>< <>< <><>
```
--------------------------------
### Example: Animation with a 2-second delay condition
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_cond_topic_ID0EPOTHB.html
This example demonstrates a `` element with a `` containing a `` element that specifies a 2000ms delay after the animation starts. It also includes child timeline nodes for animation effects.
```xml
...
```
--------------------------------
### Define a Complex Field with ``
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_fldChar_topic_ID0E2ZT1.html
This example demonstrates the basic structure of a complex field using `` elements for start, separator, and end.
```xml
AUTHORRex Jaeschke
```
--------------------------------
### Time Formatting Examples
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_Date_topic_ID0EABZZ.html
Illustrates different ways to format time using 12-hour and 24-hour clocks.
```OOXML
DATE \@ "h:mm am/pm"
```
```OOXML
DATE \@ "h:mm:ss am/pm"
```
```OOXML
DATE \@ "HH:mm"
```
--------------------------------
### Example Pack URI Composition
Source: https://c-rex.net/samples/ooxml/e1/Part2/OOXML_P2_Open_Packaging_Conventions_Composing_topic_ID0EFPBM.html
Demonstrates the composition of a Pack URI given a package URI and a part name. The process involves specific encoding and replacement rules.
```text
http://www.my.com/packages.aspx?my.package
```
```text
/a/foo.xml
```
```text
pack://http%3c,,www.my.com,packages.aspx%3fmy.package/a/foo.xml
```
--------------------------------
### Reporter Element Example
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_Reporter_topic_ID0E55N2B.html
This snippet shows the structure of the Reporter element within a Source element. It includes the reporter's name, reference order, GUID, and LCID.
```xml
****Reporter****
****27****
****{CE314AB7-E824-4D10-B295-044C68EBED27}****
****0****
****
```
--------------------------------
### Custom Sheet View Definition
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_customSheetView_topic_ID0E4LT4.html
Defines a custom view for a spreadsheet, including pane, selection, margins, print, and page setup settings. This view is identified by a GUID.
```xml
```
--------------------------------
### Example Custom Show List in OOXML
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_custShow_topic_ID0ERZBGB.html
This example demonstrates the structure of a custom show list, defining two custom shows with different slide sequences.
```xml
```
--------------------------------
### Get Sales Data for a Specific Month
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_GETPIVOTDATAGETPIVOT_topic_ID0E4UQDB.html
Retrieves the total sales for a specific month ('March') from the PivotTable. This example shows how to filter data by a single field-item pair.
```excel
GETPIVOTDATA("Sales",$A$4,"Month","March")
```
--------------------------------
### Simple Field with FILENAME Instruction
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_fldSimple_topic_ID0EPAV1.html
This example demonstrates a simple field using the FILENAME instruction. The field result is 'Example Document.docx'.
```xml
Example Document.docx
```
--------------------------------
### Example `` Structure
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_fillStyleLst_topic_ID0EOP2JB.html
This example shows the basic structure of a fill style list, containing a solid fill and two gradient fills.
```xml
...
...
...
```
--------------------------------
### Example of Type Element in OOXML
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_Type_topic_ID0ECYR2B.html
This snippet shows the usage of the `` element within the `` tag to specify a patent type. It also includes `` and `` elements.
```xml
****Patent Type****
****{8295ABC5-2DFD-4FA7-A2A7-A748917C1755}****
****0****
****
```
--------------------------------
### Custom Tab Stop with Underscore Leader
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_tab_topic_ID0EM6AO.html
This example shows a custom tab stop that uses an underscore character to fill the space before the tab. This is useful for creating visually guided tabulations.
```xml
```
--------------------------------
### SDT with End Character Run Properties
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_rPr_topic_ID0EKGSS.html
This example shows an SDT with placeholder, showing placeholder header, and properties for both the start and end characters. The end character is styled with bold and italics.
```xml
…
…
```
--------------------------------
### Example Pack URI for a Specific Part
Source: https://c-rex.net/samples/ooxml/e1/Part2/OOXML_P2_Open_Packaging_Conventions_Pack_topic_ID0EJCBM.html
Illustrates how to use a pack URI to identify a specific part within a package resource.
```uri
pack://http%3c,,www.openxmlformats.org,my.container/a/b/foo.xml
```
--------------------------------
### Insert Manual Line Break in OOXML
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_brk_topic_ID0E2XEZB.html
Use the `` element within `` to force a line break at the start of a run or function. This example demonstrates a manual break at an operator.
```xml
a==b
```
--------------------------------
### Example Part Reference with Content Type
Source: https://c-rex.net/samples/ooxml/e1/Part2/OOXML_P2_Open_Packaging_Conventions_Usage_topic_ID0EXSCK.html
This example demonstrates a specific part reference, including the content type for a relationship part. This is useful for defining the exact content type of a referenced part within the package.
```text
URI="/_rels/document.xml.rels?ContentType=application/vnd.ms-package.relationships+xml"
```
--------------------------------
### Example Text Run with Korean Language Tag
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_noLineBreaksBefore_topic_ID0ED34X.html
This example shows a text run (``) with a Korean language tag (`w:eastAsia="ko-KR"`) and a dollar sign as the text content. This setup, when combined with specific line-breaking rules, could result in the dollar sign appearing at the beginning of a new line.
```xml
$
```
--------------------------------
### Define `` with 3D and Style Properties
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_styleLbl_topic_ID0ELVATB.html
This example demonstrates the structure of a `` element, including 3D scene and shape properties, as well as detailed line, fill, effect, and font styles.
```xml
```
--------------------------------
### Header Relationships Example
Source: https://c-rex.net/samples/ooxml/e1/Part1/OOXML_P1_Fundamentals_Header_topic_ID0ET3AK.html
Shows how relationships to header parts are defined within a package.
```xml
```
--------------------------------
### Example of `` in a Slide Transition
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_sndAc_topic_ID0EPY3HB.html
This snippet shows how to use the `` element to include a sound effect within a slide transition. It specifies the start sound action with an embedded sound resource.
```xml
****
****
****
****
****
****
****
```
--------------------------------
### Example Help Text Element
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_InfoTextType_topic_ID0ESSZ2.html
Illustrates how to use the w:ffData element with a w:helpText element to specify literal help text for a form field.
```xml
```
--------------------------------
### Example Connector Shape Structure
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_cxnSp_topic_ID0EBA6RB.html
Illustrates the structure of a group shape containing two regular shapes and a connector shape linking them. The connector references the start and end shapes using IDs.
```xml
..
..
..
…
```
--------------------------------
### Example of Header Reference with Type
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_HdrFtr_topic_ID0E2UW2.html
This example shows how to reference a header part, specifying its type as 'first' page.
```xml
```
--------------------------------
### WordprocessingML Comment with annotationRef
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_annotationRef_topic_ID0EQQJV.html
This example shows a WordprocessingML comment fragment that includes the annotationRef element, indicating the comment starts with an annotation reference mark. The mark is displayed as user initials and a sequential number.
```xml
…
```
--------------------------------
### Specifying Table Style ID in OOXML
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_tableStyleId_topic_ID0E6Y3LB.html
This example shows how to reference a table style using the `` element within the `` element. Ensure the GUID provided matches an existing table style definition.
```xml
{5940675A-B579-460E-94D1-54222C63F5DA}
```
--------------------------------
### Example Usage
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_varLst_topic_ID0EI2SSB.html
This example demonstrates the structure of the element and its child elements used to define UI component behavior.
```xml
```
--------------------------------
### Example of `` within a ``
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_cxnSp_topic_ID0E4YZGB.html
This example demonstrates the structure of a connection shape (``) within a presentation shape tree (``), showing how it links two regular shapes (``) using connection points defined in `` and ``.
```xml
..
..
..
..
```
--------------------------------
### Custom XML Markup Move Source Start Example
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_customXmlMoveFromRan_topic_ID0E4AWV.html
Illustrates the structure of custom XML markup within a document body, showing a paragraph and custom XML content. This serves as a baseline before a move operation.
```xml
```
--------------------------------
### Modify Shape Adjust Value
Source: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_avLst_topic_ID0ENDFNB.html
This example demonstrates how changing the 'fmla' value of a shape guide within `` from 2 to 1 alters the shape's geometry. This is useful for dynamically adjusting shape properties.
```xml
```