29 instantiations of DocumentNode
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (25)
6378
DocumentNode dnNewDir = new
DocumentNode
(DocumentNodeType.dnInline)
7306
DocumentNode dnNewTable = new
DocumentNode
(DocumentNodeType.dnTable);
7307
DocumentNode dnNewTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
8362
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnHyperlink)
8471
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnText)
8684
DocumentNode dnImage = new
DocumentNode
(DocumentNodeType.dnImage)
8878
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd)
8894
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd)
9881
dn = new
DocumentNode
(DocumentNodeType.dnParagraph)
9900
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnParagraph)
10186
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText)
10354
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnShape);
10464
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText)
11031
DocumentNode dnf = new
DocumentNode
(DocumentNodeType.dnFieldBegin)
11119
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11127
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11135
DocumentNode dnTable = new
DocumentNode
(DocumentNodeType.dnTable);
11136
DocumentNode dnTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
11137
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11138
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11536
dnTop = new
DocumentNode
(DocumentNodeType.dnText)
11558
DocumentNode documentNode = new
DocumentNode
(DocumentNodeType.dnLineBreak)
11711
DocumentNode dnList = new
DocumentNode
(DocumentNodeType.dnList);
11712
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
11748
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (4)
1767
DocumentNode dnNew = new
DocumentNode
(DocumentNodeType.dnCell);
1825
DocumentNode dnNew = new
DocumentNode
(DocumentNodeType.dnCell);
2462
dn = new
DocumentNode
(DocumentNodeType.dnText);
2797
DocumentNode documentNode = new
DocumentNode
(documentNodeType);
230 references to DocumentNode
PresentationFramework (230)
System\Windows\Documents\RtfToXamlReader.cs (153)
4691
internal
DocumentNode
GetParentOfType(DocumentNodeType parentType)
4693
DocumentNode
dn = Parent;
4705
DocumentNode
dn = Parent;
4723
DocumentNode
dn = Parent;
5149
DocumentNode
dnRow = GetParentOfType(DocumentNodeType.dnRow);
5279
DocumentNode
dnList = Parent;
5455
internal bool IsAncestorOf(
DocumentNode
documentNode)
5470
DocumentNode
dnCell = GetParentOfType(DocumentNodeType.dnCell);
5481
DocumentNode
dn = dna.EntryAt(nLast);
5508
DocumentNode
dnRow = dna.EntryAt(nStart);
5532
DocumentNode
dnCell = dna.EntryAt(nStart);
5551
DocumentNode
dnRow = this.GetParentOfType(DocumentNodeType.dnRow);
5560
DocumentNode
dnCell = dna.EntryAt(nStart);
5588
DocumentNode
dnRow = dnaRows.EntryAt(i);
5889
DocumentNode
dnPa = Parent;
5955
internal
DocumentNode
ClosedParent
5963
internal
DocumentNode
Parent
6063
for (
DocumentNode
dnPa = Parent; dnPa != null; dnPa = dnPa.Parent)
6141
private
DocumentNode
_parent;
6187
internal
DocumentNode
Row
6212
private
DocumentNode
_row;
6286
internal
DocumentNode
EntryAt(int nAt)
6288
return (
DocumentNode
)this[nAt];
6291
internal void Push(
DocumentNode
documentNode)
6296
internal
DocumentNode
Pop()
6298
DocumentNode
documentNode = Top;
6308
internal
DocumentNode
TopPending()
6312
DocumentNode
dn = EntryAt(i);
6335
DocumentNode
dnCoalesce = EntryAt(nStart);
6356
DocumentNode
dn = EntryAt(nAt);
6364
DocumentNode
dnn = EntryAt(nnAt);
6378
DocumentNode
dnNewDir = new DocumentNode(DocumentNodeType.dnInline)
6432
DocumentNode
dnCoalesce = EntryAt(nStart);
6444
DocumentNode
dn = EntryAt(nAt);
6461
DocumentNode
dnChild = EntryAt(i);
6493
DocumentNode
dnCoalesce = EntryAt(nStart);
6505
DocumentNode
dn = EntryAt(nAt);
6525
DocumentNode
dnChild = EntryAt(i);
6558
DocumentNode
dnClose = EntryAt(index);
6573
DocumentNode
dn = EntryAt(nAt);
6587
DocumentNode
dnClose = EntryAt(index);
6599
DocumentNode
dn = EntryAt(i);
6619
DocumentNode
dn = EntryAt(nAt);
6628
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
6642
DocumentNode
dn = EntryAt(nAt);
6643
DocumentNode
dnPa = dn.Parent;
6685
DocumentNode
dn = _dnaOpen.EntryAt(i);
6711
internal
DocumentNode
GetOpenParentWhileParsing(
DocumentNode
dn)
6718
DocumentNode
dnPa = _dnaOpen.EntryAt(i);
6737
DocumentNode
dn = _dnaOpen.EntryAt(i);
6771
DocumentNode
dn = _dnaOpen.EntryAt(i);
6781
DocumentNode
dn = _dnaOpen.EntryAt(i);
6806
DocumentNode
dn = EntryAt(i);
6817
DocumentNode
dnCell = dn.GetParentOfType(DocumentNodeType.dnCell);
6824
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6831
for (
DocumentNode
dnList = dn.Parent; dnList != null; dnList = dnList.Parent)
6870
DocumentNode
dn = EntryAt(i);
6875
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6882
for (
DocumentNode
dnPa = dn; dnPa != null; dnPa = dnPa.Parent)
6903
DocumentNode
dn = _dnaOpen.EntryAt(i);
6919
DocumentNode
ddn = EntryAt(j);
6930
for (
DocumentNode
dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent)
6951
DocumentNode
dn = _dnaOpen.EntryAt(i);
6997
DocumentNode
dn = _dnaOpen.EntryAt(i);
7020
DocumentNode
dnThis = EntryAt(i);
7021
DocumentNode
dnPrev = EntryAt(i - 1);
7044
DocumentNode
dn = EntryAt(i);
7058
internal void InsertOpenNode(
DocumentNode
dn)
7073
internal void InsertNode(int nAt,
DocumentNode
dn)
7099
internal void InsertChildAt(
DocumentNode
dnParent,
DocumentNode
dnNew, int nInsertAt, int nChild)
7124
DocumentNode
dn = EntryAt(nAt);
7132
DocumentNode
dn1 = EntryAt(i);
7144
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
7173
internal
DocumentNode
Top
7205
private void PreCoalesceListItem(
DocumentNode
dn)
7213
DocumentNode
ddn = EntryAt(nnAt);
7230
DocumentNode
ddn = EntryAt(nnAt);
7245
private void PreCoalesceList(
DocumentNode
dn)
7253
DocumentNode
ddn = EntryAt(nnAt);
7273
DocumentNode
ddn = EntryAt(nnAt);
7291
private int PreCoalesceTable(
DocumentNode
dn)
7306
DocumentNode
dnNewTable = new DocumentNode(DocumentNodeType.dnTable);
7307
DocumentNode
dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
7322
for (
DocumentNode
dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent)
7341
private void PreCoalesceRow(
DocumentNode
dn, ref bool fVMerged)
7345
DocumentNode
dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
7360
DocumentNode
dnCell = dnaCells.EntryAt(i);
7426
DocumentNode
dnTable = dnaTables.EntryAt(i);
7443
DocumentNode
dnRow = dnaRows.EntryAt(j);
7466
DocumentNode
dnCell = dnaCells.EntryAt(k);
7470
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(kCSA);
7962
DocumentNode
documentNode = dna.EntryAt(i);
7982
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
7999
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8030
DocumentNode
documentNode = dna.EntryAt(i);
8055
DocumentNode
dnFieldBegin = null;
8056
DocumentNode
dnFieldEnd = null;
8057
DocumentNode
dnFieldInstBegin = null;
8058
DocumentNode
dnFieldInstEnd = null;
8059
DocumentNode
dnFieldResultBegin = null;
8060
DocumentNode
dnFieldResultEnd = null;
8064
DocumentNode
dn = dna.EntryAt(i);
8105
DocumentNode
dnInstruction = null;
8120
DocumentNode
dnChild = dna.EntryAt(fieldInstruction);
8162
DocumentNode
dnPa = dnFieldBegin.ClosedParent;
8170
DocumentNode
dnImage = dna.EntryAt(nInsertAt);
8224
DocumentNode
dn = dna.EntryAt(i);
8238
DocumentNode
dn = dna.EntryAt(nInlineAt);
8253
DocumentNode
dn = dna.EntryAt(nInlineAt + 1);
8268
DocumentNode
dn = dna.EntryAt(i);
8279
DocumentNode
dn = dna.EntryAt(i);
8360
internal
DocumentNode
ProcessHyperlinkField(string instr)
8362
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnHyperlink)
8469
internal
DocumentNode
ProcessSymbolField(string instr)
8471
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnText)
8544
private void ProcessSymbolFieldInstruction(
DocumentNode
dn, string instr, ref int i, ref EncodeType encodeType)
8684
DocumentNode
dnImage = new DocumentNode(DocumentNodeType.dnImage)
8767
private void ConvertSymbolCharValueToText(
DocumentNode
dn, int nChar, EncodeType encodeType)
8816
DocumentNode
dnListText = dna.EntryAt(ndnListText);
8830
DocumentNode
dnText = dna.EntryAt(i);
8878
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd)
8894
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd)
9827
DocumentNode
dn;
9866
DocumentNode
dn;
9899
DocumentNode
dnChild = dna.EntryAt(nInsertAt + nChildren - 1);
9900
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnParagraph)
9906
DocumentNode
dnParent = null;
9929
DocumentNode
dn = dna.EntryAt(i);
10036
DocumentNode
dnRow = dna.EntryAt(nRowAt);
10046
DocumentNode
dnTable = dna.EntryAt(nTable);
10186
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText)
10354
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnShape);
10366
DocumentNode
dnListText = dna.EntryAt(ndnListText);
10464
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText)
11031
DocumentNode
dnf = new DocumentNode(DocumentNodeType.dnFieldBegin)
11062
DocumentNode
dnPara = dna.Pop();
11094
DocumentNode
dnPara = dna.Pop();
11119
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11127
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11135
DocumentNode
dnTable = new DocumentNode(DocumentNodeType.dnTable);
11136
DocumentNode
dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
11137
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11138
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11229
DocumentNode
dnPara = dna.EntryAt(dna.Count - 1);
11520
DocumentNode
dnTop = dna.Top;
11558
DocumentNode
documentNode = new DocumentNode(DocumentNodeType.dnLineBreak)
11669
DocumentNode
documentNodePara = dna.Pop();
11711
DocumentNode
dnList = new DocumentNode(DocumentNodeType.dnList);
11712
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
11737
DocumentNode
documentNodePara = dna.Pop();
11748
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (77)
237
DocumentNode
dn1 = (
DocumentNode
)openLists[openLists.Count - 1];
262
DocumentNode
dn = dna.EntryAt(i);
280
DocumentNode
dnList = (
DocumentNode
)openLists[openLists.Count - 1];
327
dnList = (
DocumentNode
)openLists[j];
359
DocumentNode
dn = dna.EntryAt(i);
366
for (
DocumentNode
dnParent = dn.Parent; dnParent != null; dnParent = dnParent.Parent)
411
DocumentNode
dn1 = (
DocumentNode
)openLists[openLists.Count - 1];
422
DocumentNode
dn = dna.EntryAt(i);
447
DocumentNode
dnList = (
DocumentNode
)openLists[openLists.Count - 1];
464
DocumentNode
dn = dna.EntryAt(i);
471
for (
DocumentNode
dnParent = dn.Parent;
501
DocumentNode
dn = dna.EntryAt(i);
673
private void WriteEmptyChild(
DocumentNode
documentNode)
683
private void WriteInlineChild(
DocumentNode
documentNode)
873
DocumentNode
documentNodeChild = dna.EntryAt(nStart);
895
private void WriteUIContainerChild(
DocumentNode
documentNode)
907
DocumentNode
documentNodeChild = dna.EntryAt(nStart);
927
private void WriteSection(
DocumentNode
dnThis)
1010
DocumentNode
dnChild = dna.EntryAt(nAt);
1024
private void WriteParagraph(
DocumentNode
dnThis)
1067
DocumentNode
dnChild = dna.EntryAt(nAt);
1161
DocumentNode
dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell);
1182
private bool WriteParagraphFontInfo(
DocumentNode
dnThis, FormatState fsThis, FormatState fsParent)
1196
DocumentNode
dnChild = dna.EntryAt(nAt);
1279
private bool WriteParagraphListInfo(
DocumentNode
dnThis, FormatState fsThis)
1286
DocumentNode
dnList = dnThis.GetParentOfType(DocumentNodeType.dnList);
1368
private void WriteRow(
DocumentNode
dnRow)
1420
private void WriteRowStart(
DocumentNode
dnRow)
1425
private void WriteRowSettings(
DocumentNode
dnRow)
1427
DocumentNode
dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable);
1460
private void WriteRowBorders(
DocumentNode
dnRow)
1470
DocumentNode
dnCell = cellArray.EntryAt(0);
1485
private void WriteRowDimensions(
DocumentNode
dnRow)
1491
private void WriteRowPadding(
DocumentNode
dnRow)
1503
private void WriteRowsCellProperties(
DocumentNode
dnRow)
1512
DocumentNode
dnCell = cellArray.EntryAt(i);
1519
private void WriteRowsCellContents(
DocumentNode
dnRow)
1526
DocumentNode
dnCell = cellArray.EntryAt(i);
1533
private long WriteCellProperties(
DocumentNode
dnCell, int nCol, long lastCellX)
1555
private void WriteCellVAlignment(
DocumentNode
dnCell)
1560
private void WriteCellBorders(
DocumentNode
dnCell)
1580
private void WriteCellPadding(
DocumentNode
dnCell)
1584
private void WriteCellColor(
DocumentNode
dnCell)
1611
private long WriteCellDimensions(
DocumentNode
dnCell, int nCol, long lastCellX)
1613
DocumentNode
dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable);
1678
private long GetDefaultAllTablesWidthFromCell(
DocumentNode
dnCell)
1685
DocumentNode
dnChildTable = _converterState.DocumentNodeArray.EntryAt(childIndex);
1699
private long CalculateDefaultTableWidth(
DocumentNode
dnTable)
1706
DocumentNode
dnChild = _converterState.DocumentNodeArray.EntryAt(tableChildIndex);
1718
DocumentNode
dnCell = cellArray.EntryAt(cellIndex);
1743
private void PatchVerticallyMergedCells(
DocumentNode
dnThis)
1754
DocumentNode
dnRow = dnaRows.EntryAt(i);
1760
DocumentNode
dnCell = dnaCells.EntryAt(j);
1766
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(nColExtra);
1767
DocumentNode
dnNew = new DocumentNode(DocumentNodeType.dnCell);
1824
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(nColExtra);
1825
DocumentNode
dnNew = new DocumentNode(DocumentNodeType.dnCell);
1865
private void WriteStructure(
DocumentNode
dnThis)
1937
DocumentNode
dnChild = dna.EntryAt(nStart);
1985
DocumentNode
dn = dna.EntryAt(i);
2010
private void WriteImage(
DocumentNode
documentNode)
2044
private void WriteShapeImage(
DocumentNode
documentNode, Stream imageStream, RtfImageFormat imageFormat)
2438
DocumentNode
dnTop = dna.TopPending();
2439
DocumentNode
dn;
2511
DocumentNode
dnTop = dna.TopPending();
2512
DocumentNode
documentNode = null;
2598
DocumentNode
documentNode = dna.EntryAt(nCloseAt);
2795
private
DocumentNode
CreateDocumentNode(ConverterState converterState, DocumentNodeType documentNodeType,
DocumentNode
dnTop, XamlTag xamlTag)
2797
DocumentNode
documentNode = new DocumentNode(documentNodeType);
2843
DocumentNode
documentNode, XamlTag xamlTag, DocumentNodeArray dna)
3077
DocumentNode
dnTable = dna.EntryAt(nTableAt);
3915
DocumentNode
documentNodeParagraph = dna.EntryAt(paragraphIndex);