29 instantiations of DocumentNode
PresentationFramework (29)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (25)
6448
DocumentNode dnNewDir = new
DocumentNode
(DocumentNodeType.dnInline);
7373
DocumentNode dnNewTable = new
DocumentNode
(DocumentNodeType.dnTable);
7374
DocumentNode dnNewTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
8434
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnHyperlink);
8541
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnText);
8752
DocumentNode dnImage = new
DocumentNode
(DocumentNodeType.dnImage);
8948
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd);
8962
DocumentNode dnEnd = new
DocumentNode
(DocumentNodeType.dnFieldEnd);
9947
dn = new
DocumentNode
(DocumentNodeType.dnParagraph);
9964
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnParagraph);
10248
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText);
10416
DocumentNode dn = new
DocumentNode
(DocumentNodeType.dnShape);
10526
DocumentNode dnl = new
DocumentNode
(DocumentNodeType.dnListText);
11095
DocumentNode dnf = new
DocumentNode
(DocumentNodeType.dnFieldBegin);
11183
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11191
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11199
DocumentNode dnTable = new
DocumentNode
(DocumentNodeType.dnTable);
11200
DocumentNode dnTableBody = new
DocumentNode
(DocumentNodeType.dnTableBody);
11201
DocumentNode dnRow = new
DocumentNode
(DocumentNodeType.dnRow);
11202
DocumentNode dnCell = new
DocumentNode
(DocumentNodeType.dnCell);
11605
dnTop = new
DocumentNode
(DocumentNodeType.dnText);
11625
DocumentNode documentNode = new
DocumentNode
(DocumentNodeType.dnLineBreak);
11777
DocumentNode dnList = new
DocumentNode
(DocumentNodeType.dnList);
11778
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
11814
DocumentNode dnLI = new
DocumentNode
(DocumentNodeType.dnListItem);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (4)
1770
DocumentNode dnNew = new
DocumentNode
(DocumentNodeType.dnCell);
1828
DocumentNode dnNew = new
DocumentNode
(DocumentNodeType.dnCell);
2464
dn = new
DocumentNode
(DocumentNodeType.dnText);
2804
DocumentNode documentNode = new
DocumentNode
(documentNodeType);
230 references to DocumentNode
PresentationFramework (230)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (153)
4743
internal
DocumentNode
GetParentOfType(DocumentNodeType parentType)
4745
DocumentNode
dn = Parent;
4757
DocumentNode
dn = Parent;
4775
DocumentNode
dn = Parent;
5203
DocumentNode
dnRow = GetParentOfType(DocumentNodeType.dnRow);
5333
DocumentNode
dnList = Parent;
5528
internal bool IsAncestorOf(
DocumentNode
documentNode)
5543
DocumentNode
dnCell = GetParentOfType(DocumentNodeType.dnCell);
5554
DocumentNode
dn = dna.EntryAt(nLast);
5581
DocumentNode
dnRow = dna.EntryAt(nStart);
5605
DocumentNode
dnCell = dna.EntryAt(nStart);
5624
DocumentNode
dnRow = this.GetParentOfType(DocumentNodeType.dnRow);
5633
DocumentNode
dnCell = dna.EntryAt(nStart);
5661
DocumentNode
dnRow = dnaRows.EntryAt(i);
5958
DocumentNode
dnPa = Parent;
6024
internal
DocumentNode
ClosedParent
6032
internal
DocumentNode
Parent
6132
for (
DocumentNode
dnPa = Parent; dnPa != null; dnPa = dnPa.Parent)
6210
private
DocumentNode
_parent;
6256
internal
DocumentNode
Row
6281
private
DocumentNode
_row;
6355
internal
DocumentNode
EntryAt(int nAt)
6357
return (
DocumentNode
)this[nAt];
6360
internal void Push(
DocumentNode
documentNode)
6365
internal
DocumentNode
Pop()
6367
DocumentNode
documentNode = Top;
6377
internal
DocumentNode
TopPending()
6381
DocumentNode
dn = EntryAt(i);
6404
DocumentNode
dnCoalesce = EntryAt(nStart);
6425
DocumentNode
dn = EntryAt(nAt);
6433
DocumentNode
dnn = EntryAt(nnAt);
6448
DocumentNode
dnNewDir = new DocumentNode(DocumentNodeType.dnInline);
6500
DocumentNode
dnCoalesce = EntryAt(nStart);
6512
DocumentNode
dn = EntryAt(nAt);
6529
DocumentNode
dnChild = EntryAt(i);
6561
DocumentNode
dnCoalesce = EntryAt(nStart);
6573
DocumentNode
dn = EntryAt(nAt);
6593
DocumentNode
dnChild = EntryAt(i);
6626
DocumentNode
dnClose = EntryAt(index);
6641
DocumentNode
dn = EntryAt(nAt);
6655
DocumentNode
dnClose = EntryAt(index);
6667
DocumentNode
dn = EntryAt(i);
6687
DocumentNode
dn = EntryAt(nAt);
6696
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
6710
DocumentNode
dn = EntryAt(nAt);
6711
DocumentNode
dnPa = dn.Parent;
6753
DocumentNode
dn = _dnaOpen.EntryAt(i);
6779
internal
DocumentNode
GetOpenParentWhileParsing(
DocumentNode
dn)
6786
DocumentNode
dnPa = _dnaOpen.EntryAt(i);
6805
DocumentNode
dn = _dnaOpen.EntryAt(i);
6839
DocumentNode
dn = _dnaOpen.EntryAt(i);
6849
DocumentNode
dn = _dnaOpen.EntryAt(i);
6874
DocumentNode
dn = EntryAt(i);
6885
DocumentNode
dnCell = dn.GetParentOfType(DocumentNodeType.dnCell);
6892
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6899
for (
DocumentNode
dnList = dn.Parent; dnList != null; dnList = dnList.Parent)
6937
DocumentNode
dn = EntryAt(i);
6942
DocumentNode
dnShape = dn.GetParentOfType(DocumentNodeType.dnShape);
6949
for (
DocumentNode
dnPa = dn; dnPa != null; dnPa = dnPa.Parent)
6970
DocumentNode
dn = _dnaOpen.EntryAt(i);
6986
DocumentNode
ddn = EntryAt(j);
6997
for (
DocumentNode
dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent)
7018
DocumentNode
dn = _dnaOpen.EntryAt(i);
7064
DocumentNode
dn = _dnaOpen.EntryAt(i);
7087
DocumentNode
dnThis = EntryAt(i);
7088
DocumentNode
dnPrev = EntryAt(i - 1);
7111
DocumentNode
dn = EntryAt(i);
7125
internal void InsertOpenNode(
DocumentNode
dn)
7140
internal void InsertNode(int nAt,
DocumentNode
dn)
7166
internal void InsertChildAt(
DocumentNode
dnParent,
DocumentNode
dnNew, int nInsertAt, int nChild)
7191
DocumentNode
dn = EntryAt(nAt);
7199
DocumentNode
dn1 = EntryAt(i);
7211
for (
DocumentNode
dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent)
7240
internal
DocumentNode
Top
7272
private void PreCoalesceListItem(
DocumentNode
dn)
7280
DocumentNode
ddn = EntryAt(nnAt);
7297
DocumentNode
ddn = EntryAt(nnAt);
7312
private void PreCoalesceList(
DocumentNode
dn)
7320
DocumentNode
ddn = EntryAt(nnAt);
7340
DocumentNode
ddn = EntryAt(nnAt);
7358
private int PreCoalesceTable(
DocumentNode
dn)
7373
DocumentNode
dnNewTable = new DocumentNode(DocumentNodeType.dnTable);
7374
DocumentNode
dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
7389
for (
DocumentNode
dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent)
7408
private void PreCoalesceRow(
DocumentNode
dn, ref bool fVMerged)
7412
DocumentNode
dnTable = dn.GetParentOfType(DocumentNodeType.dnTable);
7427
DocumentNode
dnCell = dnaCells.EntryAt(i);
7493
DocumentNode
dnTable = dnaTables.EntryAt(i);
7510
DocumentNode
dnRow = dnaRows.EntryAt(j);
7533
DocumentNode
dnCell = dnaCells.EntryAt(k);
7537
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(kCSA);
8027
DocumentNode
documentNode = dna.EntryAt(i);
8047
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8064
DocumentNode
dnLast = dna.EntryAt(dna.Count - 1);
8095
DocumentNode
documentNode = dna.EntryAt(i);
8120
DocumentNode
dnFieldBegin = null;
8121
DocumentNode
dnFieldEnd = null;
8122
DocumentNode
dnFieldInstBegin = null;
8123
DocumentNode
dnFieldInstEnd = null;
8124
DocumentNode
dnFieldResultBegin = null;
8125
DocumentNode
dnFieldResultEnd = null;
8129
DocumentNode
dn = dna.EntryAt(i);
8170
DocumentNode
dnInstruction = null;
8185
DocumentNode
dnChild = dna.EntryAt(fieldInstruction);
8227
DocumentNode
dnPa = dnFieldBegin.ClosedParent;
8235
DocumentNode
dnImage = dna.EntryAt(nInsertAt);
8289
DocumentNode
dn = dna.EntryAt(i);
8306
DocumentNode
dn = dna.EntryAt(nInlineAt);
8321
DocumentNode
dn = dna.EntryAt(nInlineAt + 1);
8339
DocumentNode
dn = dna.EntryAt(i);
8350
DocumentNode
dn = dna.EntryAt(i);
8432
internal
DocumentNode
ProcessHyperlinkField(string instr)
8434
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnHyperlink);
8539
internal
DocumentNode
ProcessSymbolField(string instr)
8541
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnText);
8612
private void ProcessSymbolFieldInstruction(
DocumentNode
dn, string instr, ref int i, ref EncodeType encodeType)
8752
DocumentNode
dnImage = new DocumentNode(DocumentNodeType.dnImage);
8834
private void ConvertSymbolCharValueToText(
DocumentNode
dn, int nChar, EncodeType encodeType)
8886
DocumentNode
dnListText = dna.EntryAt(ndnListText);
8900
DocumentNode
dnText = dna.EntryAt(i);
8948
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd);
8962
DocumentNode
dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd);
9893
DocumentNode
dn;
9932
DocumentNode
dn;
9963
DocumentNode
dnChild = dna.EntryAt(nInsertAt + nChildren - 1);
9964
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnParagraph);
9968
DocumentNode
dnParent = null;
9991
DocumentNode
dn = dna.EntryAt(i);
10098
DocumentNode
dnRow = dna.EntryAt(nRowAt);
10108
DocumentNode
dnTable = dna.EntryAt(nTable);
10248
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText);
10416
DocumentNode
dn = new DocumentNode(DocumentNodeType.dnShape);
10428
DocumentNode
dnListText = dna.EntryAt(ndnListText);
10526
DocumentNode
dnl = new DocumentNode(DocumentNodeType.dnListText);
11095
DocumentNode
dnf = new DocumentNode(DocumentNodeType.dnFieldBegin);
11125
DocumentNode
dnPara = dna.Pop();
11158
DocumentNode
dnPara = dna.Pop();
11183
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11191
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11199
DocumentNode
dnTable = new DocumentNode(DocumentNodeType.dnTable);
11200
DocumentNode
dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody);
11201
DocumentNode
dnRow = new DocumentNode(DocumentNodeType.dnRow);
11202
DocumentNode
dnCell = new DocumentNode(DocumentNodeType.dnCell);
11293
DocumentNode
dnPara = dna.EntryAt(dna.Count - 1);
11589
DocumentNode
dnTop = dna.Top;
11625
DocumentNode
documentNode = new DocumentNode(DocumentNodeType.dnLineBreak);
11735
DocumentNode
documentNodePara = dna.Pop();
11777
DocumentNode
dnList = new DocumentNode(DocumentNodeType.dnList);
11778
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
11803
DocumentNode
documentNodePara = dna.Pop();
11814
DocumentNode
dnLI = new DocumentNode(DocumentNodeType.dnListItem);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (77)
239
DocumentNode
dn1 = (
DocumentNode
)openLists[openLists.Count - 1];
264
DocumentNode
dn = dna.EntryAt(i);
282
DocumentNode
dnList = (
DocumentNode
)openLists[openLists.Count - 1];
329
dnList = (
DocumentNode
)openLists[j];
361
DocumentNode
dn = dna.EntryAt(i);
368
for (
DocumentNode
dnParent = dn.Parent; dnParent != null; dnParent = dnParent.Parent)
413
DocumentNode
dn1 = (
DocumentNode
)openLists[openLists.Count - 1];
424
DocumentNode
dn = dna.EntryAt(i);
449
DocumentNode
dnList = (
DocumentNode
)openLists[openLists.Count - 1];
466
DocumentNode
dn = dna.EntryAt(i);
473
for (
DocumentNode
dnParent = dn.Parent;
503
DocumentNode
dn = dna.EntryAt(i);
675
private void WriteEmptyChild(
DocumentNode
documentNode)
685
private void WriteInlineChild(
DocumentNode
documentNode)
875
DocumentNode
documentNodeChild = dna.EntryAt(nStart);
897
private void WriteUIContainerChild(
DocumentNode
documentNode)
909
DocumentNode
documentNodeChild = dna.EntryAt(nStart);
929
private void WriteSection(
DocumentNode
dnThis)
1012
DocumentNode
dnChild = dna.EntryAt(nAt);
1026
private void WriteParagraph(
DocumentNode
dnThis)
1069
DocumentNode
dnChild = dna.EntryAt(nAt);
1163
DocumentNode
dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell);
1185
private bool WriteParagraphFontInfo(
DocumentNode
dnThis, FormatState fsThis, FormatState fsParent)
1199
DocumentNode
dnChild = dna.EntryAt(nAt);
1282
private bool WriteParagraphListInfo(
DocumentNode
dnThis, FormatState fsThis)
1289
DocumentNode
dnList = dnThis.GetParentOfType(DocumentNodeType.dnList);
1371
private void WriteRow(
DocumentNode
dnRow)
1423
private void WriteRowStart(
DocumentNode
dnRow)
1428
private void WriteRowSettings(
DocumentNode
dnRow)
1430
DocumentNode
dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable);
1463
private void WriteRowBorders(
DocumentNode
dnRow)
1473
DocumentNode
dnCell = cellArray.EntryAt(0);
1488
private void WriteRowDimensions(
DocumentNode
dnRow)
1494
private void WriteRowPadding(
DocumentNode
dnRow)
1506
private void WriteRowsCellProperties(
DocumentNode
dnRow)
1515
DocumentNode
dnCell = cellArray.EntryAt(i);
1522
private void WriteRowsCellContents(
DocumentNode
dnRow)
1529
DocumentNode
dnCell = cellArray.EntryAt(i);
1536
private long WriteCellProperties(
DocumentNode
dnCell, int nCol, long lastCellX)
1558
private void WriteCellVAlignment(
DocumentNode
dnCell)
1563
private void WriteCellBorders(
DocumentNode
dnCell)
1583
private void WriteCellPadding(
DocumentNode
dnCell)
1587
private void WriteCellColor(
DocumentNode
dnCell)
1614
private long WriteCellDimensions(
DocumentNode
dnCell, int nCol, long lastCellX)
1616
DocumentNode
dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable);
1681
private long GetDefaultAllTablesWidthFromCell(
DocumentNode
dnCell)
1688
DocumentNode
dnChildTable = _converterState.DocumentNodeArray.EntryAt(childIndex);
1702
private long CalculateDefaultTableWidth(
DocumentNode
dnTable)
1709
DocumentNode
dnChild = _converterState.DocumentNodeArray.EntryAt(tableChildIndex);
1721
DocumentNode
dnCell = cellArray.EntryAt(cellIndex);
1746
private void PatchVerticallyMergedCells(
DocumentNode
dnThis)
1757
DocumentNode
dnRow = dnaRows.EntryAt(i);
1763
DocumentNode
dnCell = dnaCells.EntryAt(j);
1769
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(nColExtra);
1770
DocumentNode
dnNew = new DocumentNode(DocumentNodeType.dnCell);
1827
DocumentNode
dnSpanningCell = dnaSpanCells.EntryAt(nColExtra);
1828
DocumentNode
dnNew = new DocumentNode(DocumentNodeType.dnCell);
1868
private void WriteStructure(
DocumentNode
dnThis)
1940
DocumentNode
dnChild = dna.EntryAt(nStart);
1988
DocumentNode
dn = dna.EntryAt(i);
2013
private void WriteImage(
DocumentNode
documentNode)
2046
private void WriteShapeImage(
DocumentNode
documentNode, Stream imageStream, RtfImageFormat imageFormat)
2440
DocumentNode
dnTop = dna.TopPending();
2441
DocumentNode
dn;
2513
DocumentNode
dnTop = dna.TopPending();
2514
DocumentNode
documentNode = null;
2600
DocumentNode
documentNode = dna.EntryAt(nCloseAt);
2802
private
DocumentNode
CreateDocumentNode(ConverterState converterState, DocumentNodeType documentNodeType,
DocumentNode
dnTop, XamlTag xamlTag)
2804
DocumentNode
documentNode = new DocumentNode(documentNodeType);
2850
DocumentNode
documentNode, XamlTag xamlTag, DocumentNodeArray dna)
3084
DocumentNode
dnTable = dna.EntryAt(nTableAt);
3923
DocumentNode
documentNodeParagraph = dna.EntryAt(paragraphIndex);