29 instantiations of DocumentNode
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (25)
6366
DocumentNode dnNewDir = new
DocumentNode
(DocumentNodeType.dnInline);
7291
DocumentNode dnNewTable = new
DocumentNode
(DocumentNodeType.dnTable);
7292
DocumentNode dnNewTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
8345
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnHyperlink);
8452
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnText);
8663
DocumentNode dnImage = new
DocumentNode
(DocumentNodeType.dnImage);
8856
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd);
8870
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd);
9855
dn = new
DocumentNode
(DocumentNodeType.dnParagraph);
9872
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnParagraph);
10156
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText);
10323
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnShape);
10433
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText);
11002
DocumentNode dnf = new
DocumentNode
(DocumentNodeType.dnFieldBegin);
11089
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11097
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11105
DocumentNode dnTable = new
DocumentNode
(DocumentNodeType.dnTable);
11106
DocumentNode dnTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
11107
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11108
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11506
dnTop = new
DocumentNode
(DocumentNodeType.dnText);
11526
DocumentNode documentNode = new
DocumentNode
(DocumentNodeType.dnLineBreak);
11677
DocumentNode dnList = new
DocumentNode
(DocumentNodeType.dnList);
11678
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
11714
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)
4683
internal
DocumentNode
GetParentOfType(DocumentNodeType parentType)
4685
DocumentNode
dn = Parent;
4697
DocumentNode
dn = Parent;
4715
DocumentNode
dn = Parent;
5141
DocumentNode
dnRow = GetParentOfType(DocumentNodeType.dnRow);
5271
DocumentNode
dnList = Parent;
5447
internal bool IsAncestorOf(
DocumentNode
documentNode)
5462
DocumentNode
dnCell = GetParentOfType(DocumentNodeType.dnCell);
5473
DocumentNode
dn = dna.EntryAt(nLast);
5500
DocumentNode
dnRow = dna.EntryAt(nStart);
5524
DocumentNode
dnCell = dna.EntryAt(nStart);
5543
DocumentNode
dnRow = this.GetParentOfType(DocumentNodeType.dnRow);
5552
DocumentNode
dnCell = dna.EntryAt(nStart);
5580
DocumentNode
dnRow = dnaRows.EntryAt(i);
5877
DocumentNode
dnPa = Parent;
5943
internal
DocumentNode
ClosedParent
5951
internal
DocumentNode
Parent
6051
for (
DocumentNode
dnPa = Parent; dnPa != null; dnPa = dnPa.Parent)
6129
private
DocumentNode
_parent;
6175
internal
DocumentNode
Row
6200
private
DocumentNode
_row;
6274
internal
DocumentNode
EntryAt(int nAt)
6276
return (
DocumentNode
)this[nAt];
6279
internal void Push(
DocumentNode
documentNode)
6284
internal
DocumentNode
Pop()
6286
DocumentNode
documentNode = Top;
6296
internal
DocumentNode
TopPending()
6300
DocumentNode
dn = EntryAt(i);
6323
DocumentNode
dnCoalesce = EntryAt(nStart);
6344
DocumentNode
dn = EntryAt(nAt);
6352
DocumentNode
dnn = EntryAt(nnAt);
6366
DocumentNode
dnNewDir = new DocumentNode(DocumentNodeType.dnInline);
6418
DocumentNode
dnCoalesce = EntryAt(nStart);
6430
DocumentNode
dn = EntryAt(nAt);
6447
DocumentNode
dnChild = EntryAt(i);
6479
DocumentNode
dnCoalesce = EntryAt(nStart);
6491
DocumentNode
dn = EntryAt(nAt);
6511
DocumentNode
dnChild = EntryAt(i);
6544
DocumentNode
dnClose = EntryAt(index);
6559
DocumentNode
dn = EntryAt(nAt);
6573
DocumentNode
dnClose = EntryAt(index);
6585
DocumentNode
dn = EntryAt(i);
6605
DocumentNode
dn = EntryAt(nAt);
6614
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
6628
DocumentNode
dn = EntryAt(nAt);
6629
DocumentNode
dnPa = dn.Parent;
6671
DocumentNode
dn = _dnaOpen.EntryAt(i);
6697
internal
DocumentNode
GetOpenParentWhileParsing(
DocumentNode
dn)
6704
DocumentNode
dnPa = _dnaOpen.EntryAt(i);
6723
DocumentNode
dn = _dnaOpen.EntryAt(i);
6757
DocumentNode
dn = _dnaOpen.EntryAt(i);
6767
DocumentNode
dn = _dnaOpen.EntryAt(i);
6792
DocumentNode
dn = EntryAt(i);
6803
DocumentNode
dnCell = dn.GetParentOfType(DocumentNodeType.dnCell);
6810
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6817
for (
DocumentNode
dnList = dn.Parent; dnList != null; dnList = dnList.Parent)
6855
DocumentNode
dn = EntryAt(i);
6860
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6867
for (
DocumentNode
dnPa = dn; dnPa != null; dnPa = dnPa.Parent)
6888
DocumentNode
dn = _dnaOpen.EntryAt(i);
6904
DocumentNode
ddn = EntryAt(j);
6915
for (
DocumentNode
dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent)
6936
DocumentNode
dn = _dnaOpen.EntryAt(i);
6982
DocumentNode
dn = _dnaOpen.EntryAt(i);
7005
DocumentNode
dnThis = EntryAt(i);
7006
DocumentNode
dnPrev = EntryAt(i - 1);
7029
DocumentNode
dn = EntryAt(i);
7043
internal void InsertOpenNode(
DocumentNode
dn)
7058
internal void InsertNode(int nAt,
DocumentNode
dn)
7084
internal void InsertChildAt(
DocumentNode
dnParent,
DocumentNode
dnNew, int nInsertAt, int nChild)
7109
DocumentNode
dn = EntryAt(nAt);
7117
DocumentNode
dn1 = EntryAt(i);
7129
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
7158
internal
DocumentNode
Top
7190
private void PreCoalesceListItem(
DocumentNode
dn)
7198
DocumentNode
ddn = EntryAt(nnAt);
7215
DocumentNode
ddn = EntryAt(nnAt);
7230
private void PreCoalesceList(
DocumentNode
dn)
7238
DocumentNode
ddn = EntryAt(nnAt);
7258
DocumentNode
ddn = EntryAt(nnAt);
7276
private int PreCoalesceTable(
DocumentNode
dn)
7291
DocumentNode
dnNewTable = new DocumentNode(DocumentNodeType.dnTable);
7292
DocumentNode
dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
7307
for (
DocumentNode
dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent)
7326
private void PreCoalesceRow(
DocumentNode
dn, ref bool fVMerged)
7330
DocumentNode
dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
7345
DocumentNode
dnCell = dnaCells.EntryAt(i);
7411
DocumentNode
dnTable = dnaTables.EntryAt(i);
7428
DocumentNode
dnRow = dnaRows.EntryAt(j);
7451
DocumentNode
dnCell = dnaCells.EntryAt(k);
7455
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(kCSA);
7945
DocumentNode
documentNode = dna.EntryAt(i);
7965
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
7982
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8013
DocumentNode
documentNode = dna.EntryAt(i);
8038
DocumentNode
dnFieldBegin = null;
8039
DocumentNode
dnFieldEnd = null;
8040
DocumentNode
dnFieldInstBegin = null;
8041
DocumentNode
dnFieldInstEnd = null;
8042
DocumentNode
dnFieldResultBegin = null;
8043
DocumentNode
dnFieldResultEnd = null;
8047
DocumentNode
dn = dna.EntryAt(i);
8088
DocumentNode
dnInstruction = null;
8103
DocumentNode
dnChild = dna.EntryAt(fieldInstruction);
8145
DocumentNode
dnPa = dnFieldBegin.ClosedParent;
8153
DocumentNode
dnImage = dna.EntryAt(nInsertAt);
8207
DocumentNode
dn = dna.EntryAt(i);
8221
DocumentNode
dn = dna.EntryAt(nInlineAt);
8236
DocumentNode
dn = dna.EntryAt(nInlineAt + 1);
8251
DocumentNode
dn = dna.EntryAt(i);
8262
DocumentNode
dn = dna.EntryAt(i);
8343
internal
DocumentNode
ProcessHyperlinkField(string instr)
8345
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnHyperlink);
8450
internal
DocumentNode
ProcessSymbolField(string instr)
8452
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnText);
8523
private void ProcessSymbolFieldInstruction(
DocumentNode
dn, string instr, ref int i, ref EncodeType encodeType)
8663
DocumentNode
dnImage = new DocumentNode(DocumentNodeType.dnImage);
8745
private void ConvertSymbolCharValueToText(
DocumentNode
dn, int nChar, EncodeType encodeType)
8794
DocumentNode
dnListText = dna.EntryAt(ndnListText);
8808
DocumentNode
dnText = dna.EntryAt(i);
8856
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd);
8870
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd);
9801
DocumentNode
dn;
9840
DocumentNode
dn;
9871
DocumentNode
dnChild = dna.EntryAt(nInsertAt + nChildren - 1);
9872
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnParagraph);
9876
DocumentNode
dnParent = null;
9899
DocumentNode
dn = dna.EntryAt(i);
10006
DocumentNode
dnRow = dna.EntryAt(nRowAt);
10016
DocumentNode
dnTable = dna.EntryAt(nTable);
10156
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText);
10323
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnShape);
10335
DocumentNode
dnListText = dna.EntryAt(ndnListText);
10433
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText);
11002
DocumentNode
dnf = new DocumentNode(DocumentNodeType.dnFieldBegin);
11032
DocumentNode
dnPara = dna.Pop();
11064
DocumentNode
dnPara = dna.Pop();
11089
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11097
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11105
DocumentNode
dnTable = new DocumentNode(DocumentNodeType.dnTable);
11106
DocumentNode
dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
11107
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11108
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11199
DocumentNode
dnPara = dna.EntryAt(dna.Count - 1);
11490
DocumentNode
dnTop = dna.Top;
11526
DocumentNode
documentNode = new DocumentNode(DocumentNodeType.dnLineBreak);
11635
DocumentNode
documentNodePara = dna.Pop();
11677
DocumentNode
dnList = new DocumentNode(DocumentNodeType.dnList);
11678
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
11703
DocumentNode
documentNodePara = dna.Pop();
11714
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);