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);
8352
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnHyperlink)
8461
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnText)
8674
DocumentNode dnImage = new
DocumentNode
(DocumentNodeType.dnImage)
8868
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd)
8884
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd)
9865
dn = new
DocumentNode
(DocumentNodeType.dnParagraph)
9884
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnParagraph)
10164
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText)
10317
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnShape);
10427
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText)
10898
DocumentNode dnf = new
DocumentNode
(DocumentNodeType.dnFieldBegin)
10986
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
10994
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11002
DocumentNode dnTable = new
DocumentNode
(DocumentNodeType.dnTable);
11003
DocumentNode dnTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
11004
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11005
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11403
dnTop = new
DocumentNode
(DocumentNodeType.dnText)
11425
DocumentNode documentNode = new
DocumentNode
(DocumentNodeType.dnLineBreak)
11578
DocumentNode dnList = new
DocumentNode
(DocumentNodeType.dnList);
11579
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
11615
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);
7952
DocumentNode
documentNode = dna.EntryAt(i);
7972
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
7989
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8020
DocumentNode
documentNode = dna.EntryAt(i);
8045
DocumentNode
dnFieldBegin = null;
8046
DocumentNode
dnFieldEnd = null;
8047
DocumentNode
dnFieldInstBegin = null;
8048
DocumentNode
dnFieldInstEnd = null;
8049
DocumentNode
dnFieldResultBegin = null;
8050
DocumentNode
dnFieldResultEnd = null;
8054
DocumentNode
dn = dna.EntryAt(i);
8095
DocumentNode
dnInstruction = null;
8110
DocumentNode
dnChild = dna.EntryAt(fieldInstruction);
8152
DocumentNode
dnPa = dnFieldBegin.ClosedParent;
8160
DocumentNode
dnImage = dna.EntryAt(nInsertAt);
8214
DocumentNode
dn = dna.EntryAt(i);
8228
DocumentNode
dn = dna.EntryAt(nInlineAt);
8243
DocumentNode
dn = dna.EntryAt(nInlineAt + 1);
8258
DocumentNode
dn = dna.EntryAt(i);
8269
DocumentNode
dn = dna.EntryAt(i);
8350
internal
DocumentNode
ProcessHyperlinkField(string instr)
8352
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnHyperlink)
8459
internal
DocumentNode
ProcessSymbolField(string instr)
8461
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnText)
8534
private void ProcessSymbolFieldInstruction(
DocumentNode
dn, string instr, ref int i, ref EncodeType encodeType)
8674
DocumentNode
dnImage = new DocumentNode(DocumentNodeType.dnImage)
8757
private void ConvertSymbolCharValueToText(
DocumentNode
dn, int nChar, EncodeType encodeType)
8806
DocumentNode
dnListText = dna.EntryAt(ndnListText);
8820
DocumentNode
dnText = dna.EntryAt(i);
8868
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd)
8884
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd)
9811
DocumentNode
dn;
9850
DocumentNode
dn;
9883
DocumentNode
dnChild = dna.EntryAt(nInsertAt + nChildren - 1);
9884
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnParagraph)
9890
DocumentNode
dnParent = null;
9913
DocumentNode
dn = dna.EntryAt(i);
10020
DocumentNode
dnRow = dna.EntryAt(nRowAt);
10030
DocumentNode
dnTable = dna.EntryAt(nTable);
10164
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText)
10317
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnShape);
10329
DocumentNode
dnListText = dna.EntryAt(ndnListText);
10427
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText)
10898
DocumentNode
dnf = new DocumentNode(DocumentNodeType.dnFieldBegin)
10929
DocumentNode
dnPara = dna.Pop();
10961
DocumentNode
dnPara = dna.Pop();
10986
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
10994
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11002
DocumentNode
dnTable = new DocumentNode(DocumentNodeType.dnTable);
11003
DocumentNode
dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
11004
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11005
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11096
DocumentNode
dnPara = dna.EntryAt(dna.Count - 1);
11387
DocumentNode
dnTop = dna.Top;
11425
DocumentNode
documentNode = new DocumentNode(DocumentNodeType.dnLineBreak)
11536
DocumentNode
documentNodePara = dna.Pop();
11578
DocumentNode
dnList = new DocumentNode(DocumentNodeType.dnList);
11579
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
11604
DocumentNode
documentNodePara = dna.Pop();
11615
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);