82 references to ElementType
PresentationFramework (82)
System\Windows\Documents\DocumentStructures\NamedElement.cs (2)
19
internal FixedElement.
ElementType
ElementType
24
internal FixedElement.
ElementType
_elementType;
System\Windows\Documents\DocumentStructures\SemanticBasicElement.cs (9)
52
_elementType = FixedElement.
ElementType
.Section;
98
_elementType = FixedElement.
ElementType
.Paragraph;
143
_elementType = FixedElement.
ElementType
.Figure;
185
_elementType = FixedElement.
ElementType
.List;
227
_elementType = FixedElement.
ElementType
.ListItem;
281
_elementType = FixedElement.
ElementType
.Table;
323
_elementType = FixedElement.
ElementType
.TableRowGroup;
366
_elementType = FixedElement.
ElementType
.TableRow;
408
_elementType = FixedElement.
ElementType
.TableCell;
System\Windows\Documents\FixedDSBuilder.cs (1)
87
_flowBuilder.AddStartNode(FixedElement.
ElementType
.Paragraph);
System\Windows\Documents\FixedElement.cs (38)
127
internal FixedElement(
ElementType
type, FixedTextPointer start, FixedTextPointer end, int pageIndex)
131
if (_type ==
ElementType
.Object) // is EmbeddedObject
189
if (_type ==
ElementType
.InlineUIContainer)
191
Debug.Assert(_object == null && e._type ==
ElementType
.Object);
198
if (_type ==
ElementType
.Hyperlink || _type ==
ElementType
.Paragraph ||
199
(_type >=
ElementType
.Table && _type <=
ElementType
.TableCell))
208
if (!(_type ==
ElementType
.Object || _type ==
ElementType
.InlineUIContainer))
216
if (_type ==
ElementType
.InlineUIContainer)
230
case
ElementType
.Table:
233
case
ElementType
.TableRowGroup:
236
case
ElementType
.TableRow:
239
case
ElementType
.TableCell:
242
case
ElementType
.Paragraph:
245
case
ElementType
.Hyperlink:
355
return ! (_type ==
ElementType
.Object
356
|| _type ==
ElementType
.Container);
366
case
ElementType
.Paragraph:
369
case
ElementType
.Inline:
372
case
ElementType
.Run:
375
case
ElementType
.Span:
378
case
ElementType
.Bold:
381
case
ElementType
.Italic:
384
case
ElementType
.Underline:
387
case
ElementType
.Object:
390
case
ElementType
.Table:
393
case
ElementType
.TableRowGroup:
396
case
ElementType
.TableRow:
399
case
ElementType
.TableCell:
402
case
ElementType
.List:
405
case
ElementType
.ListItem:
408
case
ElementType
.Section:
411
case
ElementType
.Figure:
414
case
ElementType
.Hyperlink:
417
case
ElementType
.InlineUIContainer:
456
private
ElementType
_type; // logical type that this element represents
System\Windows\Documents\FixedSOMContainer.cs (2)
171
internal virtual FixedElement.
ElementType
[] ElementTypes
175
return Array.Empty<FixedElement.
ElementType
>();
System\Windows\Documents\FixedSOMFixedBlock.cs (3)
70
internal override FixedElement.
ElementType
[] ElementTypes
74
return new FixedElement.
ElementType
[1] { FixedElement.
ElementType
.Paragraph };
System\Windows\Documents\FixedSOMPage.cs (3)
106
internal override FixedElement.
ElementType
[] ElementTypes
110
return new FixedElement.
ElementType
[1] { FixedElement.
ElementType
.Section };
System\Windows\Documents\FixedSOMTable.cs (4)
134
internal override FixedElement.
ElementType
[] ElementTypes
138
return new FixedElement.
ElementType
[2] { FixedElement.
ElementType
.Table, FixedElement.
ElementType
.TableRowGroup };
System\Windows\Documents\FixedSOMTableCell.cs (3)
97
internal override FixedElement.
ElementType
[] ElementTypes
101
return new FixedElement.
ElementType
[1] { FixedElement.
ElementType
.TableCell };
System\Windows\Documents\FixedSOMTableRow.cs (3)
66
internal override FixedElement.
ElementType
[] ElementTypes
70
return new FixedElement.
ElementType
[1] { FixedElement.
ElementType
.TableRow };
System\Windows\Documents\FixedTextBuilder.cs (12)
1031
flowBuilder.AddStartNode(FixedElement.
ElementType
.Section);
1051
FixedElement.
ElementType
[] elementsForNode = node.ElementTypes;
1052
foreach (FixedElement.
ElementType
type in elementsForNode)
1077
foreach (FixedElement.
ElementType
type in elementsForNode)
1436
_AddStartNode(FixedElement.
ElementType
.Paragraph);
1437
_AddStartNode(FixedElement.
ElementType
.Hyperlink);
1447
public void AddStartNode(FixedElement.
ElementType
type)
1499
_AddStartNode(FixedElement.
ElementType
.Run);
1516
_AddStartNode(FixedElement.
ElementType
.InlineUIContainer);
1521
FixedElement.
ElementType
.Object,
1601
private void _AddStartNode(FixedElement.
ElementType
type)
1732
_AddStartNode(FixedElement.
ElementType
.Hyperlink);
System\Windows\Documents\FixedTextContainer.cs (2)
580
_containerElement = new FixedElement(FixedElement.
ElementType
.Container, _start, _end, int.MaxValue);
585
internal void OnNewFlowElement(FixedElement parentElement, FixedElement.
ElementType
elementType, FlowPosition pStart, FlowPosition pEnd, Object source, int pageIndex)