29 instantiations of DocumentNode
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (25)
6377
DocumentNode dnNewDir = new
DocumentNode
(DocumentNodeType.dnInline)
7305
DocumentNode dnNewTable = new
DocumentNode
(DocumentNodeType.dnTable);
7306
DocumentNode dnNewTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
8361
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnHyperlink)
8470
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnText)
8683
DocumentNode dnImage = new
DocumentNode
(DocumentNodeType.dnImage)
8877
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd)
8893
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd)
9880
dn = new
DocumentNode
(DocumentNodeType.dnParagraph)
9899
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnParagraph)
10185
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText)
10353
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnShape);
10463
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText)
11030
DocumentNode dnf = new
DocumentNode
(DocumentNodeType.dnFieldBegin)
11118
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11126
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11134
DocumentNode dnTable = new
DocumentNode
(DocumentNodeType.dnTable);
11135
DocumentNode dnTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
11136
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11137
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11535
dnTop = new
DocumentNode
(DocumentNodeType.dnText)
11557
DocumentNode documentNode = new
DocumentNode
(DocumentNodeType.dnLineBreak)
11710
DocumentNode dnList = new
DocumentNode
(DocumentNodeType.dnList);
11711
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
11747
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)
4690
internal
DocumentNode
GetParentOfType(DocumentNodeType parentType)
4692
DocumentNode
dn = Parent;
4704
DocumentNode
dn = Parent;
4722
DocumentNode
dn = Parent;
5148
DocumentNode
dnRow = GetParentOfType(DocumentNodeType.dnRow);
5278
DocumentNode
dnList = Parent;
5454
internal bool IsAncestorOf(
DocumentNode
documentNode)
5469
DocumentNode
dnCell = GetParentOfType(DocumentNodeType.dnCell);
5480
DocumentNode
dn = dna.EntryAt(nLast);
5507
DocumentNode
dnRow = dna.EntryAt(nStart);
5531
DocumentNode
dnCell = dna.EntryAt(nStart);
5550
DocumentNode
dnRow = this.GetParentOfType(DocumentNodeType.dnRow);
5559
DocumentNode
dnCell = dna.EntryAt(nStart);
5587
DocumentNode
dnRow = dnaRows.EntryAt(i);
5888
DocumentNode
dnPa = Parent;
5954
internal
DocumentNode
ClosedParent
5962
internal
DocumentNode
Parent
6062
for (
DocumentNode
dnPa = Parent; dnPa != null; dnPa = dnPa.Parent)
6140
private
DocumentNode
_parent;
6186
internal
DocumentNode
Row
6211
private
DocumentNode
_row;
6285
internal
DocumentNode
EntryAt(int nAt)
6287
return (
DocumentNode
)this[nAt];
6290
internal void Push(
DocumentNode
documentNode)
6295
internal
DocumentNode
Pop()
6297
DocumentNode
documentNode = Top;
6307
internal
DocumentNode
TopPending()
6311
DocumentNode
dn = EntryAt(i);
6334
DocumentNode
dnCoalesce = EntryAt(nStart);
6355
DocumentNode
dn = EntryAt(nAt);
6363
DocumentNode
dnn = EntryAt(nnAt);
6377
DocumentNode
dnNewDir = new DocumentNode(DocumentNodeType.dnInline)
6431
DocumentNode
dnCoalesce = EntryAt(nStart);
6443
DocumentNode
dn = EntryAt(nAt);
6460
DocumentNode
dnChild = EntryAt(i);
6492
DocumentNode
dnCoalesce = EntryAt(nStart);
6504
DocumentNode
dn = EntryAt(nAt);
6524
DocumentNode
dnChild = EntryAt(i);
6557
DocumentNode
dnClose = EntryAt(index);
6572
DocumentNode
dn = EntryAt(nAt);
6586
DocumentNode
dnClose = EntryAt(index);
6598
DocumentNode
dn = EntryAt(i);
6618
DocumentNode
dn = EntryAt(nAt);
6627
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
6641
DocumentNode
dn = EntryAt(nAt);
6642
DocumentNode
dnPa = dn.Parent;
6684
DocumentNode
dn = _dnaOpen.EntryAt(i);
6710
internal
DocumentNode
GetOpenParentWhileParsing(
DocumentNode
dn)
6717
DocumentNode
dnPa = _dnaOpen.EntryAt(i);
6736
DocumentNode
dn = _dnaOpen.EntryAt(i);
6770
DocumentNode
dn = _dnaOpen.EntryAt(i);
6780
DocumentNode
dn = _dnaOpen.EntryAt(i);
6805
DocumentNode
dn = EntryAt(i);
6816
DocumentNode
dnCell = dn.GetParentOfType(DocumentNodeType.dnCell);
6823
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6830
for (
DocumentNode
dnList = dn.Parent; dnList != null; dnList = dnList.Parent)
6869
DocumentNode
dn = EntryAt(i);
6874
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6881
for (
DocumentNode
dnPa = dn; dnPa != null; dnPa = dnPa.Parent)
6902
DocumentNode
dn = _dnaOpen.EntryAt(i);
6918
DocumentNode
ddn = EntryAt(j);
6929
for (
DocumentNode
dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent)
6950
DocumentNode
dn = _dnaOpen.EntryAt(i);
6996
DocumentNode
dn = _dnaOpen.EntryAt(i);
7019
DocumentNode
dnThis = EntryAt(i);
7020
DocumentNode
dnPrev = EntryAt(i - 1);
7043
DocumentNode
dn = EntryAt(i);
7057
internal void InsertOpenNode(
DocumentNode
dn)
7072
internal void InsertNode(int nAt,
DocumentNode
dn)
7098
internal void InsertChildAt(
DocumentNode
dnParent,
DocumentNode
dnNew, int nInsertAt, int nChild)
7123
DocumentNode
dn = EntryAt(nAt);
7131
DocumentNode
dn1 = EntryAt(i);
7143
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
7172
internal
DocumentNode
Top
7204
private void PreCoalesceListItem(
DocumentNode
dn)
7212
DocumentNode
ddn = EntryAt(nnAt);
7229
DocumentNode
ddn = EntryAt(nnAt);
7244
private void PreCoalesceList(
DocumentNode
dn)
7252
DocumentNode
ddn = EntryAt(nnAt);
7272
DocumentNode
ddn = EntryAt(nnAt);
7290
private int PreCoalesceTable(
DocumentNode
dn)
7305
DocumentNode
dnNewTable = new DocumentNode(DocumentNodeType.dnTable);
7306
DocumentNode
dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
7321
for (
DocumentNode
dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent)
7340
private void PreCoalesceRow(
DocumentNode
dn, ref bool fVMerged)
7344
DocumentNode
dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
7359
DocumentNode
dnCell = dnaCells.EntryAt(i);
7425
DocumentNode
dnTable = dnaTables.EntryAt(i);
7442
DocumentNode
dnRow = dnaRows.EntryAt(j);
7465
DocumentNode
dnCell = dnaCells.EntryAt(k);
7469
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(kCSA);
7961
DocumentNode
documentNode = dna.EntryAt(i);
7981
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
7998
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8029
DocumentNode
documentNode = dna.EntryAt(i);
8054
DocumentNode
dnFieldBegin = null;
8055
DocumentNode
dnFieldEnd = null;
8056
DocumentNode
dnFieldInstBegin = null;
8057
DocumentNode
dnFieldInstEnd = null;
8058
DocumentNode
dnFieldResultBegin = null;
8059
DocumentNode
dnFieldResultEnd = null;
8063
DocumentNode
dn = dna.EntryAt(i);
8104
DocumentNode
dnInstruction = null;
8119
DocumentNode
dnChild = dna.EntryAt(fieldInstruction);
8161
DocumentNode
dnPa = dnFieldBegin.ClosedParent;
8169
DocumentNode
dnImage = dna.EntryAt(nInsertAt);
8223
DocumentNode
dn = dna.EntryAt(i);
8237
DocumentNode
dn = dna.EntryAt(nInlineAt);
8252
DocumentNode
dn = dna.EntryAt(nInlineAt + 1);
8267
DocumentNode
dn = dna.EntryAt(i);
8278
DocumentNode
dn = dna.EntryAt(i);
8359
internal
DocumentNode
ProcessHyperlinkField(string instr)
8361
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnHyperlink)
8468
internal
DocumentNode
ProcessSymbolField(string instr)
8470
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnText)
8543
private void ProcessSymbolFieldInstruction(
DocumentNode
dn, string instr, ref int i, ref EncodeType encodeType)
8683
DocumentNode
dnImage = new DocumentNode(DocumentNodeType.dnImage)
8766
private void ConvertSymbolCharValueToText(
DocumentNode
dn, int nChar, EncodeType encodeType)
8815
DocumentNode
dnListText = dna.EntryAt(ndnListText);
8829
DocumentNode
dnText = dna.EntryAt(i);
8877
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd)
8893
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd)
9826
DocumentNode
dn;
9865
DocumentNode
dn;
9898
DocumentNode
dnChild = dna.EntryAt(nInsertAt + nChildren - 1);
9899
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnParagraph)
9905
DocumentNode
dnParent = null;
9928
DocumentNode
dn = dna.EntryAt(i);
10035
DocumentNode
dnRow = dna.EntryAt(nRowAt);
10045
DocumentNode
dnTable = dna.EntryAt(nTable);
10185
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText)
10353
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnShape);
10365
DocumentNode
dnListText = dna.EntryAt(ndnListText);
10463
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText)
11030
DocumentNode
dnf = new DocumentNode(DocumentNodeType.dnFieldBegin)
11061
DocumentNode
dnPara = dna.Pop();
11093
DocumentNode
dnPara = dna.Pop();
11118
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11126
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11134
DocumentNode
dnTable = new DocumentNode(DocumentNodeType.dnTable);
11135
DocumentNode
dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
11136
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11137
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11228
DocumentNode
dnPara = dna.EntryAt(dna.Count - 1);
11519
DocumentNode
dnTop = dna.Top;
11557
DocumentNode
documentNode = new DocumentNode(DocumentNodeType.dnLineBreak)
11668
DocumentNode
documentNodePara = dna.Pop();
11710
DocumentNode
dnList = new DocumentNode(DocumentNodeType.dnList);
11711
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
11736
DocumentNode
documentNodePara = dna.Pop();
11747
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);