29 instantiations of DocumentNode
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (25)
6366DocumentNode dnNewDir = new DocumentNode(DocumentNodeType.dnInline); 7291DocumentNode dnNewTable = new DocumentNode(DocumentNodeType.dnTable); 7292DocumentNode dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody); 8345DocumentNode dn = new DocumentNode(DocumentNodeType.dnHyperlink); 8452DocumentNode dn = new DocumentNode(DocumentNodeType.dnText); 8663DocumentNode dnImage = new DocumentNode(DocumentNodeType.dnImage); 8856DocumentNode dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd); 8870DocumentNode dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd); 9855dn = new DocumentNode(DocumentNodeType.dnParagraph); 9872DocumentNode dn = new DocumentNode(DocumentNodeType.dnParagraph); 10156DocumentNode dnl = new DocumentNode(DocumentNodeType.dnListText); 10323DocumentNode dn = new DocumentNode(DocumentNodeType.dnShape); 10433DocumentNode dnl = new DocumentNode(DocumentNodeType.dnListText); 11002DocumentNode dnf = new DocumentNode(DocumentNodeType.dnFieldBegin); 11089DocumentNode dnRow = new DocumentNode(DocumentNodeType.dnRow); 11097DocumentNode dnCell = new DocumentNode(DocumentNodeType.dnCell); 11105DocumentNode dnTable = new DocumentNode(DocumentNodeType.dnTable); 11106DocumentNode dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody); 11107DocumentNode dnRow = new DocumentNode(DocumentNodeType.dnRow); 11108DocumentNode dnCell = new DocumentNode(DocumentNodeType.dnCell); 11506dnTop = new DocumentNode(DocumentNodeType.dnText); 11526DocumentNode documentNode = new DocumentNode(DocumentNodeType.dnLineBreak); 11677DocumentNode dnList = new DocumentNode(DocumentNodeType.dnList); 11678DocumentNode dnLI = new DocumentNode(DocumentNodeType.dnListItem); 11714DocumentNode dnLI = new DocumentNode(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (4)
1768DocumentNode dnNew = new DocumentNode(DocumentNodeType.dnCell); 1826DocumentNode dnNew = new DocumentNode(DocumentNodeType.dnCell); 2463dn = new DocumentNode(DocumentNodeType.dnText); 2798DocumentNode documentNode = new DocumentNode(documentNodeType);
230 references to DocumentNode
PresentationFramework (230)
System\Windows\Documents\RtfToXamlReader.cs (153)
4683internal DocumentNode GetParentOfType(DocumentNodeType parentType) 4685DocumentNode dn = Parent; 4697DocumentNode dn = Parent; 4715DocumentNode dn = Parent; 5141DocumentNode dnRow = GetParentOfType(DocumentNodeType.dnRow); 5271DocumentNode dnList = Parent; 5447internal bool IsAncestorOf(DocumentNode documentNode) 5462DocumentNode dnCell = GetParentOfType(DocumentNodeType.dnCell); 5473DocumentNode dn = dna.EntryAt(nLast); 5500DocumentNode dnRow = dna.EntryAt(nStart); 5524DocumentNode dnCell = dna.EntryAt(nStart); 5543DocumentNode dnRow = this.GetParentOfType(DocumentNodeType.dnRow); 5552DocumentNode dnCell = dna.EntryAt(nStart); 5580DocumentNode dnRow = dnaRows.EntryAt(i); 5877DocumentNode dnPa = Parent; 5943internal DocumentNode ClosedParent 5951internal DocumentNode Parent 6051for (DocumentNode dnPa = Parent; dnPa != null; dnPa = dnPa.Parent) 6129private DocumentNode _parent; 6175internal DocumentNode Row 6200private DocumentNode _row; 6274internal DocumentNode EntryAt(int nAt) 6276return (DocumentNode)this[nAt]; 6279internal void Push(DocumentNode documentNode) 6284internal DocumentNode Pop() 6286DocumentNode documentNode = Top; 6296internal DocumentNode TopPending() 6300DocumentNode dn = EntryAt(i); 6323DocumentNode dnCoalesce = EntryAt(nStart); 6344DocumentNode dn = EntryAt(nAt); 6352DocumentNode dnn = EntryAt(nnAt); 6366DocumentNode dnNewDir = new DocumentNode(DocumentNodeType.dnInline); 6418DocumentNode dnCoalesce = EntryAt(nStart); 6430DocumentNode dn = EntryAt(nAt); 6447DocumentNode dnChild = EntryAt(i); 6479DocumentNode dnCoalesce = EntryAt(nStart); 6491DocumentNode dn = EntryAt(nAt); 6511DocumentNode dnChild = EntryAt(i); 6544DocumentNode dnClose = EntryAt(index); 6559DocumentNode dn = EntryAt(nAt); 6573DocumentNode dnClose = EntryAt(index); 6585DocumentNode dn = EntryAt(i); 6605DocumentNode dn = EntryAt(nAt); 6614for (DocumentNode dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent) 6628DocumentNode dn = EntryAt(nAt); 6629DocumentNode dnPa = dn.Parent; 6671DocumentNode dn = _dnaOpen.EntryAt(i); 6697internal DocumentNode GetOpenParentWhileParsing(DocumentNode dn) 6704DocumentNode dnPa = _dnaOpen.EntryAt(i); 6723DocumentNode dn = _dnaOpen.EntryAt(i); 6757DocumentNode dn = _dnaOpen.EntryAt(i); 6767DocumentNode dn = _dnaOpen.EntryAt(i); 6792DocumentNode dn = EntryAt(i); 6803DocumentNode dnCell = dn.GetParentOfType(DocumentNodeType.dnCell); 6810DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6817for (DocumentNode dnList = dn.Parent; dnList != null; dnList = dnList.Parent) 6855DocumentNode dn = EntryAt(i); 6860DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6867for (DocumentNode dnPa = dn; dnPa != null; dnPa = dnPa.Parent) 6888DocumentNode dn = _dnaOpen.EntryAt(i); 6904DocumentNode ddn = EntryAt(j); 6915for (DocumentNode dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent) 6936DocumentNode dn = _dnaOpen.EntryAt(i); 6982DocumentNode dn = _dnaOpen.EntryAt(i); 7005DocumentNode dnThis = EntryAt(i); 7006DocumentNode dnPrev = EntryAt(i - 1); 7029DocumentNode dn = EntryAt(i); 7043internal void InsertOpenNode(DocumentNode dn) 7058internal void InsertNode(int nAt, DocumentNode dn) 7084internal void InsertChildAt(DocumentNode dnParent, DocumentNode dnNew, int nInsertAt, int nChild) 7109DocumentNode dn = EntryAt(nAt); 7117DocumentNode dn1 = EntryAt(i); 7129for (DocumentNode dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent) 7158internal DocumentNode Top 7190private void PreCoalesceListItem(DocumentNode dn) 7198DocumentNode ddn = EntryAt(nnAt); 7215DocumentNode ddn = EntryAt(nnAt); 7230private void PreCoalesceList(DocumentNode dn) 7238DocumentNode ddn = EntryAt(nnAt); 7258DocumentNode ddn = EntryAt(nnAt); 7276private int PreCoalesceTable(DocumentNode dn) 7291DocumentNode dnNewTable = new DocumentNode(DocumentNodeType.dnTable); 7292DocumentNode dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody); 7307for (DocumentNode dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent) 7326private void PreCoalesceRow(DocumentNode dn, ref bool fVMerged) 7330DocumentNode dnTable = dn.GetParentOfType(DocumentNodeType.dnTable); 7345DocumentNode dnCell = dnaCells.EntryAt(i); 7411DocumentNode dnTable = dnaTables.EntryAt(i); 7428DocumentNode dnRow = dnaRows.EntryAt(j); 7451DocumentNode dnCell = dnaCells.EntryAt(k); 7455DocumentNode dnSpanningCell = dnaSpanCells.EntryAt(kCSA); 7945DocumentNode documentNode = dna.EntryAt(i); 7965DocumentNode dnLast = dna.EntryAt(dna.Count - 1); 7982DocumentNode dnLast = dna.EntryAt(dna.Count - 1); 8013DocumentNode documentNode = dna.EntryAt(i); 8038DocumentNode dnFieldBegin = null; 8039DocumentNode dnFieldEnd = null; 8040DocumentNode dnFieldInstBegin = null; 8041DocumentNode dnFieldInstEnd = null; 8042DocumentNode dnFieldResultBegin = null; 8043DocumentNode dnFieldResultEnd = null; 8047DocumentNode dn = dna.EntryAt(i); 8088DocumentNode dnInstruction = null; 8103DocumentNode dnChild = dna.EntryAt(fieldInstruction); 8145DocumentNode dnPa = dnFieldBegin.ClosedParent; 8153DocumentNode dnImage = dna.EntryAt(nInsertAt); 8207DocumentNode dn = dna.EntryAt(i); 8221DocumentNode dn = dna.EntryAt(nInlineAt); 8236DocumentNode dn = dna.EntryAt(nInlineAt + 1); 8251DocumentNode dn = dna.EntryAt(i); 8262DocumentNode dn = dna.EntryAt(i); 8343internal DocumentNode ProcessHyperlinkField(string instr) 8345DocumentNode dn = new DocumentNode(DocumentNodeType.dnHyperlink); 8450internal DocumentNode ProcessSymbolField(string instr) 8452DocumentNode dn = new DocumentNode(DocumentNodeType.dnText); 8523private void ProcessSymbolFieldInstruction(DocumentNode dn, string instr, ref int i, ref EncodeType encodeType) 8663DocumentNode dnImage = new DocumentNode(DocumentNodeType.dnImage); 8745private void ConvertSymbolCharValueToText(DocumentNode dn, int nChar, EncodeType encodeType) 8794DocumentNode dnListText = dna.EntryAt(ndnListText); 8808DocumentNode dnText = dna.EntryAt(i); 8856DocumentNode dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd); 8870DocumentNode dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd); 9801DocumentNode dn; 9840DocumentNode dn; 9871DocumentNode dnChild = dna.EntryAt(nInsertAt + nChildren - 1); 9872DocumentNode dn = new DocumentNode(DocumentNodeType.dnParagraph); 9876DocumentNode dnParent = null; 9899DocumentNode dn = dna.EntryAt(i); 10006DocumentNode dnRow = dna.EntryAt(nRowAt); 10016DocumentNode dnTable = dna.EntryAt(nTable); 10156DocumentNode dnl = new DocumentNode(DocumentNodeType.dnListText); 10323DocumentNode dn = new DocumentNode(DocumentNodeType.dnShape); 10335DocumentNode dnListText = dna.EntryAt(ndnListText); 10433DocumentNode dnl = new DocumentNode(DocumentNodeType.dnListText); 11002DocumentNode dnf = new DocumentNode(DocumentNodeType.dnFieldBegin); 11032DocumentNode dnPara = dna.Pop(); 11064DocumentNode dnPara = dna.Pop(); 11089DocumentNode dnRow = new DocumentNode(DocumentNodeType.dnRow); 11097DocumentNode dnCell = new DocumentNode(DocumentNodeType.dnCell); 11105DocumentNode dnTable = new DocumentNode(DocumentNodeType.dnTable); 11106DocumentNode dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody); 11107DocumentNode dnRow = new DocumentNode(DocumentNodeType.dnRow); 11108DocumentNode dnCell = new DocumentNode(DocumentNodeType.dnCell); 11199DocumentNode dnPara = dna.EntryAt(dna.Count - 1); 11490DocumentNode dnTop = dna.Top; 11526DocumentNode documentNode = new DocumentNode(DocumentNodeType.dnLineBreak); 11635DocumentNode documentNodePara = dna.Pop(); 11677DocumentNode dnList = new DocumentNode(DocumentNodeType.dnList); 11678DocumentNode dnLI = new DocumentNode(DocumentNodeType.dnListItem); 11703DocumentNode documentNodePara = dna.Pop(); 11714DocumentNode dnLI = new DocumentNode(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (77)
238DocumentNode dn1 = (DocumentNode)openLists[openLists.Count - 1]; 263DocumentNode dn = dna.EntryAt(i); 281DocumentNode dnList = (DocumentNode)openLists[openLists.Count - 1]; 328dnList = (DocumentNode)openLists[j]; 360DocumentNode dn = dna.EntryAt(i); 367for (DocumentNode dnParent = dn.Parent; dnParent != null; dnParent = dnParent.Parent) 412DocumentNode dn1 = (DocumentNode)openLists[openLists.Count - 1]; 423DocumentNode dn = dna.EntryAt(i); 448DocumentNode dnList = (DocumentNode)openLists[openLists.Count - 1]; 465DocumentNode dn = dna.EntryAt(i); 472for (DocumentNode dnParent = dn.Parent; 502DocumentNode dn = dna.EntryAt(i); 674private void WriteEmptyChild(DocumentNode documentNode) 684private void WriteInlineChild(DocumentNode documentNode) 874DocumentNode documentNodeChild = dna.EntryAt(nStart); 896private void WriteUIContainerChild(DocumentNode documentNode) 908DocumentNode documentNodeChild = dna.EntryAt(nStart); 928private void WriteSection(DocumentNode dnThis) 1011DocumentNode dnChild = dna.EntryAt(nAt); 1025private void WriteParagraph(DocumentNode dnThis) 1068DocumentNode dnChild = dna.EntryAt(nAt); 1162DocumentNode dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell); 1183private bool WriteParagraphFontInfo(DocumentNode dnThis, FormatState fsThis, FormatState fsParent) 1197DocumentNode dnChild = dna.EntryAt(nAt); 1280private bool WriteParagraphListInfo(DocumentNode dnThis, FormatState fsThis) 1287DocumentNode dnList = dnThis.GetParentOfType(DocumentNodeType.dnList); 1369private void WriteRow(DocumentNode dnRow) 1421private void WriteRowStart(DocumentNode dnRow) 1426private void WriteRowSettings(DocumentNode dnRow) 1428DocumentNode dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable); 1461private void WriteRowBorders(DocumentNode dnRow) 1471DocumentNode dnCell = cellArray.EntryAt(0); 1486private void WriteRowDimensions(DocumentNode dnRow) 1492private void WriteRowPadding(DocumentNode dnRow) 1504private void WriteRowsCellProperties(DocumentNode dnRow) 1513DocumentNode dnCell = cellArray.EntryAt(i); 1520private void WriteRowsCellContents(DocumentNode dnRow) 1527DocumentNode dnCell = cellArray.EntryAt(i); 1534private long WriteCellProperties(DocumentNode dnCell, int nCol, long lastCellX) 1556private void WriteCellVAlignment(DocumentNode dnCell) 1561private void WriteCellBorders(DocumentNode dnCell) 1581private void WriteCellPadding(DocumentNode dnCell) 1585private void WriteCellColor(DocumentNode dnCell) 1612private long WriteCellDimensions(DocumentNode dnCell, int nCol, long lastCellX) 1614DocumentNode dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable); 1679private long GetDefaultAllTablesWidthFromCell(DocumentNode dnCell) 1686DocumentNode dnChildTable = _converterState.DocumentNodeArray.EntryAt(childIndex); 1700private long CalculateDefaultTableWidth(DocumentNode dnTable) 1707DocumentNode dnChild = _converterState.DocumentNodeArray.EntryAt(tableChildIndex); 1719DocumentNode dnCell = cellArray.EntryAt(cellIndex); 1744private void PatchVerticallyMergedCells(DocumentNode dnThis) 1755DocumentNode dnRow = dnaRows.EntryAt(i); 1761DocumentNode dnCell = dnaCells.EntryAt(j); 1767DocumentNode dnSpanningCell = dnaSpanCells.EntryAt(nColExtra); 1768DocumentNode dnNew = new DocumentNode(DocumentNodeType.dnCell); 1825DocumentNode dnSpanningCell = dnaSpanCells.EntryAt(nColExtra); 1826DocumentNode dnNew = new DocumentNode(DocumentNodeType.dnCell); 1866private void WriteStructure(DocumentNode dnThis) 1938DocumentNode dnChild = dna.EntryAt(nStart); 1986DocumentNode dn = dna.EntryAt(i); 2011private void WriteImage(DocumentNode documentNode) 2045private void WriteShapeImage(DocumentNode documentNode, Stream imageStream, RtfImageFormat imageFormat) 2439DocumentNode dnTop = dna.TopPending(); 2440DocumentNode dn; 2512DocumentNode dnTop = dna.TopPending(); 2513DocumentNode documentNode = null; 2599DocumentNode documentNode = dna.EntryAt(nCloseAt); 2796private DocumentNode CreateDocumentNode(ConverterState converterState, DocumentNodeType documentNodeType, DocumentNode dnTop, XamlTag xamlTag) 2798DocumentNode documentNode = new DocumentNode(documentNodeType); 2844DocumentNode documentNode, XamlTag xamlTag, DocumentNodeArray dna) 3078DocumentNode dnTable = dna.EntryAt(nTableAt); 3916DocumentNode documentNodeParagraph = dna.EntryAt(paragraphIndex);