29 instantiations of DocumentNode
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (25)
6365
DocumentNode dnNewDir = new
DocumentNode
(DocumentNodeType.dnInline);
7290
DocumentNode dnNewTable = new
DocumentNode
(DocumentNodeType.dnTable);
7291
DocumentNode dnNewTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
8344
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnHyperlink);
8451
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnText);
8662
DocumentNode dnImage = new
DocumentNode
(DocumentNodeType.dnImage);
8855
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd);
8869
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd);
9854
dn = new
DocumentNode
(DocumentNodeType.dnParagraph);
9871
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnParagraph);
10155
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText);
10322
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnShape);
10432
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText);
11001
DocumentNode dnf = new
DocumentNode
(DocumentNodeType.dnFieldBegin);
11088
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11096
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11104
DocumentNode dnTable = new
DocumentNode
(DocumentNodeType.dnTable);
11105
DocumentNode dnTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
11106
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11107
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11505
dnTop = new
DocumentNode
(DocumentNodeType.dnText);
11525
DocumentNode documentNode = new
DocumentNode
(DocumentNodeType.dnLineBreak);
11676
DocumentNode dnList = new
DocumentNode
(DocumentNodeType.dnList);
11677
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
11713
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)
4682
internal
DocumentNode
GetParentOfType(DocumentNodeType parentType)
4684
DocumentNode
dn = Parent;
4696
DocumentNode
dn = Parent;
4714
DocumentNode
dn = Parent;
5140
DocumentNode
dnRow = GetParentOfType(DocumentNodeType.dnRow);
5270
DocumentNode
dnList = Parent;
5446
internal bool IsAncestorOf(
DocumentNode
documentNode)
5461
DocumentNode
dnCell = GetParentOfType(DocumentNodeType.dnCell);
5472
DocumentNode
dn = dna.EntryAt(nLast);
5499
DocumentNode
dnRow = dna.EntryAt(nStart);
5523
DocumentNode
dnCell = dna.EntryAt(nStart);
5542
DocumentNode
dnRow = this.GetParentOfType(DocumentNodeType.dnRow);
5551
DocumentNode
dnCell = dna.EntryAt(nStart);
5579
DocumentNode
dnRow = dnaRows.EntryAt(i);
5876
DocumentNode
dnPa = Parent;
5942
internal
DocumentNode
ClosedParent
5950
internal
DocumentNode
Parent
6050
for (
DocumentNode
dnPa = Parent; dnPa != null; dnPa = dnPa.Parent)
6128
private
DocumentNode
_parent;
6174
internal
DocumentNode
Row
6199
private
DocumentNode
_row;
6273
internal
DocumentNode
EntryAt(int nAt)
6275
return (
DocumentNode
)this[nAt];
6278
internal void Push(
DocumentNode
documentNode)
6283
internal
DocumentNode
Pop()
6285
DocumentNode
documentNode = Top;
6295
internal
DocumentNode
TopPending()
6299
DocumentNode
dn = EntryAt(i);
6322
DocumentNode
dnCoalesce = EntryAt(nStart);
6343
DocumentNode
dn = EntryAt(nAt);
6351
DocumentNode
dnn = EntryAt(nnAt);
6365
DocumentNode
dnNewDir = new DocumentNode(DocumentNodeType.dnInline);
6417
DocumentNode
dnCoalesce = EntryAt(nStart);
6429
DocumentNode
dn = EntryAt(nAt);
6446
DocumentNode
dnChild = EntryAt(i);
6478
DocumentNode
dnCoalesce = EntryAt(nStart);
6490
DocumentNode
dn = EntryAt(nAt);
6510
DocumentNode
dnChild = EntryAt(i);
6543
DocumentNode
dnClose = EntryAt(index);
6558
DocumentNode
dn = EntryAt(nAt);
6572
DocumentNode
dnClose = EntryAt(index);
6584
DocumentNode
dn = EntryAt(i);
6604
DocumentNode
dn = EntryAt(nAt);
6613
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
6627
DocumentNode
dn = EntryAt(nAt);
6628
DocumentNode
dnPa = dn.Parent;
6670
DocumentNode
dn = _dnaOpen.EntryAt(i);
6696
internal
DocumentNode
GetOpenParentWhileParsing(
DocumentNode
dn)
6703
DocumentNode
dnPa = _dnaOpen.EntryAt(i);
6722
DocumentNode
dn = _dnaOpen.EntryAt(i);
6756
DocumentNode
dn = _dnaOpen.EntryAt(i);
6766
DocumentNode
dn = _dnaOpen.EntryAt(i);
6791
DocumentNode
dn = EntryAt(i);
6802
DocumentNode
dnCell = dn.GetParentOfType(DocumentNodeType.dnCell);
6809
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6816
for (
DocumentNode
dnList = dn.Parent; dnList != null; dnList = dnList.Parent)
6854
DocumentNode
dn = EntryAt(i);
6859
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6866
for (
DocumentNode
dnPa = dn; dnPa != null; dnPa = dnPa.Parent)
6887
DocumentNode
dn = _dnaOpen.EntryAt(i);
6903
DocumentNode
ddn = EntryAt(j);
6914
for (
DocumentNode
dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent)
6935
DocumentNode
dn = _dnaOpen.EntryAt(i);
6981
DocumentNode
dn = _dnaOpen.EntryAt(i);
7004
DocumentNode
dnThis = EntryAt(i);
7005
DocumentNode
dnPrev = EntryAt(i - 1);
7028
DocumentNode
dn = EntryAt(i);
7042
internal void InsertOpenNode(
DocumentNode
dn)
7057
internal void InsertNode(int nAt,
DocumentNode
dn)
7083
internal void InsertChildAt(
DocumentNode
dnParent,
DocumentNode
dnNew, int nInsertAt, int nChild)
7108
DocumentNode
dn = EntryAt(nAt);
7116
DocumentNode
dn1 = EntryAt(i);
7128
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
7157
internal
DocumentNode
Top
7189
private void PreCoalesceListItem(
DocumentNode
dn)
7197
DocumentNode
ddn = EntryAt(nnAt);
7214
DocumentNode
ddn = EntryAt(nnAt);
7229
private void PreCoalesceList(
DocumentNode
dn)
7237
DocumentNode
ddn = EntryAt(nnAt);
7257
DocumentNode
ddn = EntryAt(nnAt);
7275
private int PreCoalesceTable(
DocumentNode
dn)
7290
DocumentNode
dnNewTable = new DocumentNode(DocumentNodeType.dnTable);
7291
DocumentNode
dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
7306
for (
DocumentNode
dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent)
7325
private void PreCoalesceRow(
DocumentNode
dn, ref bool fVMerged)
7329
DocumentNode
dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
7344
DocumentNode
dnCell = dnaCells.EntryAt(i);
7410
DocumentNode
dnTable = dnaTables.EntryAt(i);
7427
DocumentNode
dnRow = dnaRows.EntryAt(j);
7450
DocumentNode
dnCell = dnaCells.EntryAt(k);
7454
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(kCSA);
7944
DocumentNode
documentNode = dna.EntryAt(i);
7964
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
7981
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8012
DocumentNode
documentNode = dna.EntryAt(i);
8037
DocumentNode
dnFieldBegin = null;
8038
DocumentNode
dnFieldEnd = null;
8039
DocumentNode
dnFieldInstBegin = null;
8040
DocumentNode
dnFieldInstEnd = null;
8041
DocumentNode
dnFieldResultBegin = null;
8042
DocumentNode
dnFieldResultEnd = null;
8046
DocumentNode
dn = dna.EntryAt(i);
8087
DocumentNode
dnInstruction = null;
8102
DocumentNode
dnChild = dna.EntryAt(fieldInstruction);
8144
DocumentNode
dnPa = dnFieldBegin.ClosedParent;
8152
DocumentNode
dnImage = dna.EntryAt(nInsertAt);
8206
DocumentNode
dn = dna.EntryAt(i);
8220
DocumentNode
dn = dna.EntryAt(nInlineAt);
8235
DocumentNode
dn = dna.EntryAt(nInlineAt + 1);
8250
DocumentNode
dn = dna.EntryAt(i);
8261
DocumentNode
dn = dna.EntryAt(i);
8342
internal
DocumentNode
ProcessHyperlinkField(string instr)
8344
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnHyperlink);
8449
internal
DocumentNode
ProcessSymbolField(string instr)
8451
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnText);
8522
private void ProcessSymbolFieldInstruction(
DocumentNode
dn, string instr, ref int i, ref EncodeType encodeType)
8662
DocumentNode
dnImage = new DocumentNode(DocumentNodeType.dnImage);
8744
private void ConvertSymbolCharValueToText(
DocumentNode
dn, int nChar, EncodeType encodeType)
8793
DocumentNode
dnListText = dna.EntryAt(ndnListText);
8807
DocumentNode
dnText = dna.EntryAt(i);
8855
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd);
8869
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd);
9800
DocumentNode
dn;
9839
DocumentNode
dn;
9870
DocumentNode
dnChild = dna.EntryAt(nInsertAt + nChildren - 1);
9871
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnParagraph);
9875
DocumentNode
dnParent = null;
9898
DocumentNode
dn = dna.EntryAt(i);
10005
DocumentNode
dnRow = dna.EntryAt(nRowAt);
10015
DocumentNode
dnTable = dna.EntryAt(nTable);
10155
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText);
10322
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnShape);
10334
DocumentNode
dnListText = dna.EntryAt(ndnListText);
10432
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText);
11001
DocumentNode
dnf = new DocumentNode(DocumentNodeType.dnFieldBegin);
11031
DocumentNode
dnPara = dna.Pop();
11063
DocumentNode
dnPara = dna.Pop();
11088
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11096
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11104
DocumentNode
dnTable = new DocumentNode(DocumentNodeType.dnTable);
11105
DocumentNode
dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
11106
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11107
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11198
DocumentNode
dnPara = dna.EntryAt(dna.Count - 1);
11489
DocumentNode
dnTop = dna.Top;
11525
DocumentNode
documentNode = new DocumentNode(DocumentNodeType.dnLineBreak);
11634
DocumentNode
documentNodePara = dna.Pop();
11676
DocumentNode
dnList = new DocumentNode(DocumentNodeType.dnList);
11677
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
11702
DocumentNode
documentNodePara = dna.Pop();
11713
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);