29 instantiations of DocumentNode
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (25)
6368
DocumentNode dnNewDir = new
DocumentNode
(DocumentNodeType.dnInline)
7296
DocumentNode dnNewTable = new
DocumentNode
(DocumentNodeType.dnTable);
7297
DocumentNode dnNewTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
8349
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnHyperlink)
8458
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnText)
8671
DocumentNode dnImage = new
DocumentNode
(DocumentNodeType.dnImage)
8865
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd)
8881
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd)
9862
dn = new
DocumentNode
(DocumentNodeType.dnParagraph)
9881
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnParagraph)
10161
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText)
10314
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnShape);
10424
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText)
10895
DocumentNode dnf = new
DocumentNode
(DocumentNodeType.dnFieldBegin)
10983
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
10991
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
10999
DocumentNode dnTable = new
DocumentNode
(DocumentNodeType.dnTable);
11000
DocumentNode dnTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
11001
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11002
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11400
dnTop = new
DocumentNode
(DocumentNodeType.dnText)
11422
DocumentNode documentNode = new
DocumentNode
(DocumentNodeType.dnLineBreak)
11575
DocumentNode dnList = new
DocumentNode
(DocumentNodeType.dnList);
11576
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
11612
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (4)
1766
DocumentNode dnNew = new
DocumentNode
(DocumentNodeType.dnCell);
1824
DocumentNode dnNew = new
DocumentNode
(DocumentNodeType.dnCell);
2461
dn = new
DocumentNode
(DocumentNodeType.dnText);
2796
DocumentNode documentNode = new
DocumentNode
(documentNodeType);
230 references to DocumentNode
PresentationFramework (230)
System\Windows\Documents\RtfToXamlReader.cs (153)
4681
internal
DocumentNode
GetParentOfType(DocumentNodeType parentType)
4683
DocumentNode
dn = Parent;
4695
DocumentNode
dn = Parent;
4713
DocumentNode
dn = Parent;
5139
DocumentNode
dnRow = GetParentOfType(DocumentNodeType.dnRow);
5269
DocumentNode
dnList = Parent;
5445
internal bool IsAncestorOf(
DocumentNode
documentNode)
5460
DocumentNode
dnCell = GetParentOfType(DocumentNodeType.dnCell);
5471
DocumentNode
dn = dna.EntryAt(nLast);
5498
DocumentNode
dnRow = dna.EntryAt(nStart);
5522
DocumentNode
dnCell = dna.EntryAt(nStart);
5541
DocumentNode
dnRow = this.GetParentOfType(DocumentNodeType.dnRow);
5550
DocumentNode
dnCell = dna.EntryAt(nStart);
5578
DocumentNode
dnRow = dnaRows.EntryAt(i);
5879
DocumentNode
dnPa = Parent;
5945
internal
DocumentNode
ClosedParent
5953
internal
DocumentNode
Parent
6053
for (
DocumentNode
dnPa = Parent; dnPa != null; dnPa = dnPa.Parent)
6131
private
DocumentNode
_parent;
6177
internal
DocumentNode
Row
6202
private
DocumentNode
_row;
6276
internal
DocumentNode
EntryAt(int nAt)
6278
return (
DocumentNode
)this[nAt];
6281
internal void Push(
DocumentNode
documentNode)
6286
internal
DocumentNode
Pop()
6288
DocumentNode
documentNode = Top;
6298
internal
DocumentNode
TopPending()
6302
DocumentNode
dn = EntryAt(i);
6325
DocumentNode
dnCoalesce = EntryAt(nStart);
6346
DocumentNode
dn = EntryAt(nAt);
6354
DocumentNode
dnn = EntryAt(nnAt);
6368
DocumentNode
dnNewDir = new DocumentNode(DocumentNodeType.dnInline)
6422
DocumentNode
dnCoalesce = EntryAt(nStart);
6434
DocumentNode
dn = EntryAt(nAt);
6451
DocumentNode
dnChild = EntryAt(i);
6483
DocumentNode
dnCoalesce = EntryAt(nStart);
6495
DocumentNode
dn = EntryAt(nAt);
6515
DocumentNode
dnChild = EntryAt(i);
6548
DocumentNode
dnClose = EntryAt(index);
6563
DocumentNode
dn = EntryAt(nAt);
6577
DocumentNode
dnClose = EntryAt(index);
6589
DocumentNode
dn = EntryAt(i);
6609
DocumentNode
dn = EntryAt(nAt);
6618
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
6632
DocumentNode
dn = EntryAt(nAt);
6633
DocumentNode
dnPa = dn.Parent;
6675
DocumentNode
dn = _dnaOpen.EntryAt(i);
6701
internal
DocumentNode
GetOpenParentWhileParsing(
DocumentNode
dn)
6708
DocumentNode
dnPa = _dnaOpen.EntryAt(i);
6727
DocumentNode
dn = _dnaOpen.EntryAt(i);
6761
DocumentNode
dn = _dnaOpen.EntryAt(i);
6771
DocumentNode
dn = _dnaOpen.EntryAt(i);
6796
DocumentNode
dn = EntryAt(i);
6807
DocumentNode
dnCell = dn.GetParentOfType(DocumentNodeType.dnCell);
6814
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6821
for (
DocumentNode
dnList = dn.Parent; dnList != null; dnList = dnList.Parent)
6860
DocumentNode
dn = EntryAt(i);
6865
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6872
for (
DocumentNode
dnPa = dn; dnPa != null; dnPa = dnPa.Parent)
6893
DocumentNode
dn = _dnaOpen.EntryAt(i);
6909
DocumentNode
ddn = EntryAt(j);
6920
for (
DocumentNode
dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent)
6941
DocumentNode
dn = _dnaOpen.EntryAt(i);
6987
DocumentNode
dn = _dnaOpen.EntryAt(i);
7010
DocumentNode
dnThis = EntryAt(i);
7011
DocumentNode
dnPrev = EntryAt(i - 1);
7034
DocumentNode
dn = EntryAt(i);
7048
internal void InsertOpenNode(
DocumentNode
dn)
7063
internal void InsertNode(int nAt,
DocumentNode
dn)
7089
internal void InsertChildAt(
DocumentNode
dnParent,
DocumentNode
dnNew, int nInsertAt, int nChild)
7114
DocumentNode
dn = EntryAt(nAt);
7122
DocumentNode
dn1 = EntryAt(i);
7134
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
7163
internal
DocumentNode
Top
7195
private void PreCoalesceListItem(
DocumentNode
dn)
7203
DocumentNode
ddn = EntryAt(nnAt);
7220
DocumentNode
ddn = EntryAt(nnAt);
7235
private void PreCoalesceList(
DocumentNode
dn)
7243
DocumentNode
ddn = EntryAt(nnAt);
7263
DocumentNode
ddn = EntryAt(nnAt);
7281
private int PreCoalesceTable(
DocumentNode
dn)
7296
DocumentNode
dnNewTable = new DocumentNode(DocumentNodeType.dnTable);
7297
DocumentNode
dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
7312
for (
DocumentNode
dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent)
7331
private void PreCoalesceRow(
DocumentNode
dn, ref bool fVMerged)
7335
DocumentNode
dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
7350
DocumentNode
dnCell = dnaCells.EntryAt(i);
7416
DocumentNode
dnTable = dnaTables.EntryAt(i);
7433
DocumentNode
dnRow = dnaRows.EntryAt(j);
7456
DocumentNode
dnCell = dnaCells.EntryAt(k);
7460
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(kCSA);
7949
DocumentNode
documentNode = dna.EntryAt(i);
7969
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
7986
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8017
DocumentNode
documentNode = dna.EntryAt(i);
8042
DocumentNode
dnFieldBegin = null;
8043
DocumentNode
dnFieldEnd = null;
8044
DocumentNode
dnFieldInstBegin = null;
8045
DocumentNode
dnFieldInstEnd = null;
8046
DocumentNode
dnFieldResultBegin = null;
8047
DocumentNode
dnFieldResultEnd = null;
8051
DocumentNode
dn = dna.EntryAt(i);
8092
DocumentNode
dnInstruction = null;
8107
DocumentNode
dnChild = dna.EntryAt(fieldInstruction);
8149
DocumentNode
dnPa = dnFieldBegin.ClosedParent;
8157
DocumentNode
dnImage = dna.EntryAt(nInsertAt);
8211
DocumentNode
dn = dna.EntryAt(i);
8225
DocumentNode
dn = dna.EntryAt(nInlineAt);
8240
DocumentNode
dn = dna.EntryAt(nInlineAt + 1);
8255
DocumentNode
dn = dna.EntryAt(i);
8266
DocumentNode
dn = dna.EntryAt(i);
8347
internal
DocumentNode
ProcessHyperlinkField(string instr)
8349
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnHyperlink)
8456
internal
DocumentNode
ProcessSymbolField(string instr)
8458
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnText)
8531
private void ProcessSymbolFieldInstruction(
DocumentNode
dn, string instr, ref int i, ref EncodeType encodeType)
8671
DocumentNode
dnImage = new DocumentNode(DocumentNodeType.dnImage)
8754
private void ConvertSymbolCharValueToText(
DocumentNode
dn, int nChar, EncodeType encodeType)
8803
DocumentNode
dnListText = dna.EntryAt(ndnListText);
8817
DocumentNode
dnText = dna.EntryAt(i);
8865
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd)
8881
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd)
9808
DocumentNode
dn;
9847
DocumentNode
dn;
9880
DocumentNode
dnChild = dna.EntryAt(nInsertAt + nChildren - 1);
9881
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnParagraph)
9887
DocumentNode
dnParent = null;
9910
DocumentNode
dn = dna.EntryAt(i);
10017
DocumentNode
dnRow = dna.EntryAt(nRowAt);
10027
DocumentNode
dnTable = dna.EntryAt(nTable);
10161
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText)
10314
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnShape);
10326
DocumentNode
dnListText = dna.EntryAt(ndnListText);
10424
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText)
10895
DocumentNode
dnf = new DocumentNode(DocumentNodeType.dnFieldBegin)
10926
DocumentNode
dnPara = dna.Pop();
10958
DocumentNode
dnPara = dna.Pop();
10983
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
10991
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
10999
DocumentNode
dnTable = new DocumentNode(DocumentNodeType.dnTable);
11000
DocumentNode
dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
11001
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11002
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11093
DocumentNode
dnPara = dna.EntryAt(dna.Count - 1);
11384
DocumentNode
dnTop = dna.Top;
11422
DocumentNode
documentNode = new DocumentNode(DocumentNodeType.dnLineBreak)
11533
DocumentNode
documentNodePara = dna.Pop();
11575
DocumentNode
dnList = new DocumentNode(DocumentNodeType.dnList);
11576
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
11601
DocumentNode
documentNodePara = dna.Pop();
11612
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (77)
236
DocumentNode
dn1 = (
DocumentNode
)openLists[openLists.Count - 1];
261
DocumentNode
dn = dna.EntryAt(i);
279
DocumentNode
dnList = (
DocumentNode
)openLists[openLists.Count - 1];
326
dnList = (
DocumentNode
)openLists[j];
358
DocumentNode
dn = dna.EntryAt(i);
365
for (
DocumentNode
dnParent = dn.Parent; dnParent != null; dnParent = dnParent.Parent)
410
DocumentNode
dn1 = (
DocumentNode
)openLists[openLists.Count - 1];
421
DocumentNode
dn = dna.EntryAt(i);
446
DocumentNode
dnList = (
DocumentNode
)openLists[openLists.Count - 1];
463
DocumentNode
dn = dna.EntryAt(i);
470
for (
DocumentNode
dnParent = dn.Parent;
500
DocumentNode
dn = dna.EntryAt(i);
672
private void WriteEmptyChild(
DocumentNode
documentNode)
682
private void WriteInlineChild(
DocumentNode
documentNode)
872
DocumentNode
documentNodeChild = dna.EntryAt(nStart);
894
private void WriteUIContainerChild(
DocumentNode
documentNode)
906
DocumentNode
documentNodeChild = dna.EntryAt(nStart);
926
private void WriteSection(
DocumentNode
dnThis)
1009
DocumentNode
dnChild = dna.EntryAt(nAt);
1023
private void WriteParagraph(
DocumentNode
dnThis)
1066
DocumentNode
dnChild = dna.EntryAt(nAt);
1160
DocumentNode
dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell);
1181
private bool WriteParagraphFontInfo(
DocumentNode
dnThis, FormatState fsThis, FormatState fsParent)
1195
DocumentNode
dnChild = dna.EntryAt(nAt);
1278
private bool WriteParagraphListInfo(
DocumentNode
dnThis, FormatState fsThis)
1285
DocumentNode
dnList = dnThis.GetParentOfType(DocumentNodeType.dnList);
1367
private void WriteRow(
DocumentNode
dnRow)
1419
private void WriteRowStart(
DocumentNode
dnRow)
1424
private void WriteRowSettings(
DocumentNode
dnRow)
1426
DocumentNode
dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable);
1459
private void WriteRowBorders(
DocumentNode
dnRow)
1469
DocumentNode
dnCell = cellArray.EntryAt(0);
1484
private void WriteRowDimensions(
DocumentNode
dnRow)
1490
private void WriteRowPadding(
DocumentNode
dnRow)
1502
private void WriteRowsCellProperties(
DocumentNode
dnRow)
1511
DocumentNode
dnCell = cellArray.EntryAt(i);
1518
private void WriteRowsCellContents(
DocumentNode
dnRow)
1525
DocumentNode
dnCell = cellArray.EntryAt(i);
1532
private long WriteCellProperties(
DocumentNode
dnCell, int nCol, long lastCellX)
1554
private void WriteCellVAlignment(
DocumentNode
dnCell)
1559
private void WriteCellBorders(
DocumentNode
dnCell)
1579
private void WriteCellPadding(
DocumentNode
dnCell)
1583
private void WriteCellColor(
DocumentNode
dnCell)
1610
private long WriteCellDimensions(
DocumentNode
dnCell, int nCol, long lastCellX)
1612
DocumentNode
dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable);
1677
private long GetDefaultAllTablesWidthFromCell(
DocumentNode
dnCell)
1684
DocumentNode
dnChildTable = _converterState.DocumentNodeArray.EntryAt(childIndex);
1698
private long CalculateDefaultTableWidth(
DocumentNode
dnTable)
1705
DocumentNode
dnChild = _converterState.DocumentNodeArray.EntryAt(tableChildIndex);
1717
DocumentNode
dnCell = cellArray.EntryAt(cellIndex);
1742
private void PatchVerticallyMergedCells(
DocumentNode
dnThis)
1753
DocumentNode
dnRow = dnaRows.EntryAt(i);
1759
DocumentNode
dnCell = dnaCells.EntryAt(j);
1765
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(nColExtra);
1766
DocumentNode
dnNew = new DocumentNode(DocumentNodeType.dnCell);
1823
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(nColExtra);
1824
DocumentNode
dnNew = new DocumentNode(DocumentNodeType.dnCell);
1864
private void WriteStructure(
DocumentNode
dnThis)
1936
DocumentNode
dnChild = dna.EntryAt(nStart);
1984
DocumentNode
dn = dna.EntryAt(i);
2009
private void WriteImage(
DocumentNode
documentNode)
2043
private void WriteShapeImage(
DocumentNode
documentNode, Stream imageStream, RtfImageFormat imageFormat)
2437
DocumentNode
dnTop = dna.TopPending();
2438
DocumentNode
dn;
2510
DocumentNode
dnTop = dna.TopPending();
2511
DocumentNode
documentNode = null;
2597
DocumentNode
documentNode = dna.EntryAt(nCloseAt);
2794
private
DocumentNode
CreateDocumentNode(ConverterState converterState, DocumentNodeType documentNodeType,
DocumentNode
dnTop, XamlTag xamlTag)
2796
DocumentNode
documentNode = new DocumentNode(documentNodeType);
2842
DocumentNode
documentNode, XamlTag xamlTag, DocumentNodeArray dna)
3076
DocumentNode
dnTable = dna.EntryAt(nTableAt);
3914
DocumentNode
documentNodeParagraph = dna.EntryAt(paragraphIndex);