29 instantiations of DocumentNode
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (25)
6367
DocumentNode dnNewDir = new
DocumentNode
(DocumentNodeType.dnInline);
7292
DocumentNode dnNewTable = new
DocumentNode
(DocumentNodeType.dnTable);
7293
DocumentNode dnNewTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
8346
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnHyperlink);
8453
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnText);
8664
DocumentNode dnImage = new
DocumentNode
(DocumentNodeType.dnImage);
8857
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd);
8871
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd);
9856
dn = new
DocumentNode
(DocumentNodeType.dnParagraph);
9873
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnParagraph);
10157
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText);
10324
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnShape);
10434
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText);
11003
DocumentNode dnf = new
DocumentNode
(DocumentNodeType.dnFieldBegin);
11090
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11098
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11106
DocumentNode dnTable = new
DocumentNode
(DocumentNodeType.dnTable);
11107
DocumentNode dnTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
11108
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11109
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11507
dnTop = new
DocumentNode
(DocumentNodeType.dnText);
11527
DocumentNode documentNode = new
DocumentNode
(DocumentNodeType.dnLineBreak);
11678
DocumentNode dnList = new
DocumentNode
(DocumentNodeType.dnList);
11679
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
11715
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (4)
1768
DocumentNode dnNew = new
DocumentNode
(DocumentNodeType.dnCell);
1826
DocumentNode dnNew = new
DocumentNode
(DocumentNodeType.dnCell);
2463
dn = new
DocumentNode
(DocumentNodeType.dnText);
2798
DocumentNode documentNode = new
DocumentNode
(documentNodeType);
230 references to DocumentNode
PresentationFramework (230)
System\Windows\Documents\RtfToXamlReader.cs (153)
4684
internal
DocumentNode
GetParentOfType(DocumentNodeType parentType)
4686
DocumentNode
dn = Parent;
4698
DocumentNode
dn = Parent;
4716
DocumentNode
dn = Parent;
5142
DocumentNode
dnRow = GetParentOfType(DocumentNodeType.dnRow);
5272
DocumentNode
dnList = Parent;
5448
internal bool IsAncestorOf(
DocumentNode
documentNode)
5463
DocumentNode
dnCell = GetParentOfType(DocumentNodeType.dnCell);
5474
DocumentNode
dn = dna.EntryAt(nLast);
5501
DocumentNode
dnRow = dna.EntryAt(nStart);
5525
DocumentNode
dnCell = dna.EntryAt(nStart);
5544
DocumentNode
dnRow = this.GetParentOfType(DocumentNodeType.dnRow);
5553
DocumentNode
dnCell = dna.EntryAt(nStart);
5581
DocumentNode
dnRow = dnaRows.EntryAt(i);
5878
DocumentNode
dnPa = Parent;
5944
internal
DocumentNode
ClosedParent
5952
internal
DocumentNode
Parent
6052
for (
DocumentNode
dnPa = Parent; dnPa != null; dnPa = dnPa.Parent)
6130
private
DocumentNode
_parent;
6176
internal
DocumentNode
Row
6201
private
DocumentNode
_row;
6275
internal
DocumentNode
EntryAt(int nAt)
6277
return (
DocumentNode
)this[nAt];
6280
internal void Push(
DocumentNode
documentNode)
6285
internal
DocumentNode
Pop()
6287
DocumentNode
documentNode = Top;
6297
internal
DocumentNode
TopPending()
6301
DocumentNode
dn = EntryAt(i);
6324
DocumentNode
dnCoalesce = EntryAt(nStart);
6345
DocumentNode
dn = EntryAt(nAt);
6353
DocumentNode
dnn = EntryAt(nnAt);
6367
DocumentNode
dnNewDir = new DocumentNode(DocumentNodeType.dnInline);
6419
DocumentNode
dnCoalesce = EntryAt(nStart);
6431
DocumentNode
dn = EntryAt(nAt);
6448
DocumentNode
dnChild = EntryAt(i);
6480
DocumentNode
dnCoalesce = EntryAt(nStart);
6492
DocumentNode
dn = EntryAt(nAt);
6512
DocumentNode
dnChild = EntryAt(i);
6545
DocumentNode
dnClose = EntryAt(index);
6560
DocumentNode
dn = EntryAt(nAt);
6574
DocumentNode
dnClose = EntryAt(index);
6586
DocumentNode
dn = EntryAt(i);
6606
DocumentNode
dn = EntryAt(nAt);
6615
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
6629
DocumentNode
dn = EntryAt(nAt);
6630
DocumentNode
dnPa = dn.Parent;
6672
DocumentNode
dn = _dnaOpen.EntryAt(i);
6698
internal
DocumentNode
GetOpenParentWhileParsing(
DocumentNode
dn)
6705
DocumentNode
dnPa = _dnaOpen.EntryAt(i);
6724
DocumentNode
dn = _dnaOpen.EntryAt(i);
6758
DocumentNode
dn = _dnaOpen.EntryAt(i);
6768
DocumentNode
dn = _dnaOpen.EntryAt(i);
6793
DocumentNode
dn = EntryAt(i);
6804
DocumentNode
dnCell = dn.GetParentOfType(DocumentNodeType.dnCell);
6811
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6818
for (
DocumentNode
dnList = dn.Parent; dnList != null; dnList = dnList.Parent)
6856
DocumentNode
dn = EntryAt(i);
6861
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6868
for (
DocumentNode
dnPa = dn; dnPa != null; dnPa = dnPa.Parent)
6889
DocumentNode
dn = _dnaOpen.EntryAt(i);
6905
DocumentNode
ddn = EntryAt(j);
6916
for (
DocumentNode
dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent)
6937
DocumentNode
dn = _dnaOpen.EntryAt(i);
6983
DocumentNode
dn = _dnaOpen.EntryAt(i);
7006
DocumentNode
dnThis = EntryAt(i);
7007
DocumentNode
dnPrev = EntryAt(i - 1);
7030
DocumentNode
dn = EntryAt(i);
7044
internal void InsertOpenNode(
DocumentNode
dn)
7059
internal void InsertNode(int nAt,
DocumentNode
dn)
7085
internal void InsertChildAt(
DocumentNode
dnParent,
DocumentNode
dnNew, int nInsertAt, int nChild)
7110
DocumentNode
dn = EntryAt(nAt);
7118
DocumentNode
dn1 = EntryAt(i);
7130
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
7159
internal
DocumentNode
Top
7191
private void PreCoalesceListItem(
DocumentNode
dn)
7199
DocumentNode
ddn = EntryAt(nnAt);
7216
DocumentNode
ddn = EntryAt(nnAt);
7231
private void PreCoalesceList(
DocumentNode
dn)
7239
DocumentNode
ddn = EntryAt(nnAt);
7259
DocumentNode
ddn = EntryAt(nnAt);
7277
private int PreCoalesceTable(
DocumentNode
dn)
7292
DocumentNode
dnNewTable = new DocumentNode(DocumentNodeType.dnTable);
7293
DocumentNode
dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
7308
for (
DocumentNode
dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent)
7327
private void PreCoalesceRow(
DocumentNode
dn, ref bool fVMerged)
7331
DocumentNode
dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
7346
DocumentNode
dnCell = dnaCells.EntryAt(i);
7412
DocumentNode
dnTable = dnaTables.EntryAt(i);
7429
DocumentNode
dnRow = dnaRows.EntryAt(j);
7452
DocumentNode
dnCell = dnaCells.EntryAt(k);
7456
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(kCSA);
7946
DocumentNode
documentNode = dna.EntryAt(i);
7966
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
7983
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8014
DocumentNode
documentNode = dna.EntryAt(i);
8039
DocumentNode
dnFieldBegin = null;
8040
DocumentNode
dnFieldEnd = null;
8041
DocumentNode
dnFieldInstBegin = null;
8042
DocumentNode
dnFieldInstEnd = null;
8043
DocumentNode
dnFieldResultBegin = null;
8044
DocumentNode
dnFieldResultEnd = null;
8048
DocumentNode
dn = dna.EntryAt(i);
8089
DocumentNode
dnInstruction = null;
8104
DocumentNode
dnChild = dna.EntryAt(fieldInstruction);
8146
DocumentNode
dnPa = dnFieldBegin.ClosedParent;
8154
DocumentNode
dnImage = dna.EntryAt(nInsertAt);
8208
DocumentNode
dn = dna.EntryAt(i);
8222
DocumentNode
dn = dna.EntryAt(nInlineAt);
8237
DocumentNode
dn = dna.EntryAt(nInlineAt + 1);
8252
DocumentNode
dn = dna.EntryAt(i);
8263
DocumentNode
dn = dna.EntryAt(i);
8344
internal
DocumentNode
ProcessHyperlinkField(string instr)
8346
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnHyperlink);
8451
internal
DocumentNode
ProcessSymbolField(string instr)
8453
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnText);
8524
private void ProcessSymbolFieldInstruction(
DocumentNode
dn, string instr, ref int i, ref EncodeType encodeType)
8664
DocumentNode
dnImage = new DocumentNode(DocumentNodeType.dnImage);
8746
private void ConvertSymbolCharValueToText(
DocumentNode
dn, int nChar, EncodeType encodeType)
8795
DocumentNode
dnListText = dna.EntryAt(ndnListText);
8809
DocumentNode
dnText = dna.EntryAt(i);
8857
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd);
8871
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd);
9802
DocumentNode
dn;
9841
DocumentNode
dn;
9872
DocumentNode
dnChild = dna.EntryAt(nInsertAt + nChildren - 1);
9873
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnParagraph);
9877
DocumentNode
dnParent = null;
9900
DocumentNode
dn = dna.EntryAt(i);
10007
DocumentNode
dnRow = dna.EntryAt(nRowAt);
10017
DocumentNode
dnTable = dna.EntryAt(nTable);
10157
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText);
10324
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnShape);
10336
DocumentNode
dnListText = dna.EntryAt(ndnListText);
10434
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText);
11003
DocumentNode
dnf = new DocumentNode(DocumentNodeType.dnFieldBegin);
11033
DocumentNode
dnPara = dna.Pop();
11065
DocumentNode
dnPara = dna.Pop();
11090
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11098
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11106
DocumentNode
dnTable = new DocumentNode(DocumentNodeType.dnTable);
11107
DocumentNode
dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
11108
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11109
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11200
DocumentNode
dnPara = dna.EntryAt(dna.Count - 1);
11491
DocumentNode
dnTop = dna.Top;
11527
DocumentNode
documentNode = new DocumentNode(DocumentNodeType.dnLineBreak);
11636
DocumentNode
documentNodePara = dna.Pop();
11678
DocumentNode
dnList = new DocumentNode(DocumentNodeType.dnList);
11679
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
11704
DocumentNode
documentNodePara = dna.Pop();
11715
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (77)
238
DocumentNode
dn1 = (
DocumentNode
)openLists[openLists.Count - 1];
263
DocumentNode
dn = dna.EntryAt(i);
281
DocumentNode
dnList = (
DocumentNode
)openLists[openLists.Count - 1];
328
dnList = (
DocumentNode
)openLists[j];
360
DocumentNode
dn = dna.EntryAt(i);
367
for (
DocumentNode
dnParent = dn.Parent; dnParent != null; dnParent = dnParent.Parent)
412
DocumentNode
dn1 = (
DocumentNode
)openLists[openLists.Count - 1];
423
DocumentNode
dn = dna.EntryAt(i);
448
DocumentNode
dnList = (
DocumentNode
)openLists[openLists.Count - 1];
465
DocumentNode
dn = dna.EntryAt(i);
472
for (
DocumentNode
dnParent = dn.Parent;
502
DocumentNode
dn = dna.EntryAt(i);
674
private void WriteEmptyChild(
DocumentNode
documentNode)
684
private void WriteInlineChild(
DocumentNode
documentNode)
874
DocumentNode
documentNodeChild = dna.EntryAt(nStart);
896
private void WriteUIContainerChild(
DocumentNode
documentNode)
908
DocumentNode
documentNodeChild = dna.EntryAt(nStart);
928
private void WriteSection(
DocumentNode
dnThis)
1011
DocumentNode
dnChild = dna.EntryAt(nAt);
1025
private void WriteParagraph(
DocumentNode
dnThis)
1068
DocumentNode
dnChild = dna.EntryAt(nAt);
1162
DocumentNode
dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell);
1183
private bool WriteParagraphFontInfo(
DocumentNode
dnThis, FormatState fsThis, FormatState fsParent)
1197
DocumentNode
dnChild = dna.EntryAt(nAt);
1280
private bool WriteParagraphListInfo(
DocumentNode
dnThis, FormatState fsThis)
1287
DocumentNode
dnList = dnThis.GetParentOfType(DocumentNodeType.dnList);
1369
private void WriteRow(
DocumentNode
dnRow)
1421
private void WriteRowStart(
DocumentNode
dnRow)
1426
private void WriteRowSettings(
DocumentNode
dnRow)
1428
DocumentNode
dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable);
1461
private void WriteRowBorders(
DocumentNode
dnRow)
1471
DocumentNode
dnCell = cellArray.EntryAt(0);
1486
private void WriteRowDimensions(
DocumentNode
dnRow)
1492
private void WriteRowPadding(
DocumentNode
dnRow)
1504
private void WriteRowsCellProperties(
DocumentNode
dnRow)
1513
DocumentNode
dnCell = cellArray.EntryAt(i);
1520
private void WriteRowsCellContents(
DocumentNode
dnRow)
1527
DocumentNode
dnCell = cellArray.EntryAt(i);
1534
private long WriteCellProperties(
DocumentNode
dnCell, int nCol, long lastCellX)
1556
private void WriteCellVAlignment(
DocumentNode
dnCell)
1561
private void WriteCellBorders(
DocumentNode
dnCell)
1581
private void WriteCellPadding(
DocumentNode
dnCell)
1585
private void WriteCellColor(
DocumentNode
dnCell)
1612
private long WriteCellDimensions(
DocumentNode
dnCell, int nCol, long lastCellX)
1614
DocumentNode
dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable);
1679
private long GetDefaultAllTablesWidthFromCell(
DocumentNode
dnCell)
1686
DocumentNode
dnChildTable = _converterState.DocumentNodeArray.EntryAt(childIndex);
1700
private long CalculateDefaultTableWidth(
DocumentNode
dnTable)
1707
DocumentNode
dnChild = _converterState.DocumentNodeArray.EntryAt(tableChildIndex);
1719
DocumentNode
dnCell = cellArray.EntryAt(cellIndex);
1744
private void PatchVerticallyMergedCells(
DocumentNode
dnThis)
1755
DocumentNode
dnRow = dnaRows.EntryAt(i);
1761
DocumentNode
dnCell = dnaCells.EntryAt(j);
1767
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(nColExtra);
1768
DocumentNode
dnNew = new DocumentNode(DocumentNodeType.dnCell);
1825
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(nColExtra);
1826
DocumentNode
dnNew = new DocumentNode(DocumentNodeType.dnCell);
1866
private void WriteStructure(
DocumentNode
dnThis)
1938
DocumentNode
dnChild = dna.EntryAt(nStart);
1986
DocumentNode
dn = dna.EntryAt(i);
2011
private void WriteImage(
DocumentNode
documentNode)
2045
private void WriteShapeImage(
DocumentNode
documentNode, Stream imageStream, RtfImageFormat imageFormat)
2439
DocumentNode
dnTop = dna.TopPending();
2440
DocumentNode
dn;
2512
DocumentNode
dnTop = dna.TopPending();
2513
DocumentNode
documentNode = null;
2599
DocumentNode
documentNode = dna.EntryAt(nCloseAt);
2796
private
DocumentNode
CreateDocumentNode(ConverterState converterState, DocumentNodeType documentNodeType,
DocumentNode
dnTop, XamlTag xamlTag)
2798
DocumentNode
documentNode = new DocumentNode(documentNodeType);
2844
DocumentNode
documentNode, XamlTag xamlTag, DocumentNodeArray dna)
3078
DocumentNode
dnTable = dna.EntryAt(nTableAt);
3916
DocumentNode
documentNodeParagraph = dna.EntryAt(paragraphIndex);