29 instantiations of DocumentNode
PresentationFramework (29)
System\Windows\Documents\RtfToXamlReader.cs (25)
6365DocumentNode dnNewDir = new DocumentNode(DocumentNodeType.dnInline); 7290DocumentNode dnNewTable = new DocumentNode(DocumentNodeType.dnTable); 7291DocumentNode dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody); 8344DocumentNode dn = new DocumentNode(DocumentNodeType.dnHyperlink); 8451DocumentNode dn = new DocumentNode(DocumentNodeType.dnText); 8662DocumentNode dnImage = new DocumentNode(DocumentNodeType.dnImage); 8855DocumentNode dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd); 8869DocumentNode dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd); 9854dn = new DocumentNode(DocumentNodeType.dnParagraph); 9871DocumentNode dn = new DocumentNode(DocumentNodeType.dnParagraph); 10155DocumentNode dnl = new DocumentNode(DocumentNodeType.dnListText); 10322DocumentNode dn = new DocumentNode(DocumentNodeType.dnShape); 10432DocumentNode dnl = new DocumentNode(DocumentNodeType.dnListText); 11001DocumentNode dnf = new DocumentNode(DocumentNodeType.dnFieldBegin); 11088DocumentNode dnRow = new DocumentNode(DocumentNodeType.dnRow); 11096DocumentNode dnCell = new DocumentNode(DocumentNodeType.dnCell); 11104DocumentNode dnTable = new DocumentNode(DocumentNodeType.dnTable); 11105DocumentNode dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody); 11106DocumentNode dnRow = new DocumentNode(DocumentNodeType.dnRow); 11107DocumentNode dnCell = new DocumentNode(DocumentNodeType.dnCell); 11505dnTop = new DocumentNode(DocumentNodeType.dnText); 11525DocumentNode documentNode = new DocumentNode(DocumentNodeType.dnLineBreak); 11676DocumentNode dnList = new DocumentNode(DocumentNodeType.dnList); 11677DocumentNode dnLI = new DocumentNode(DocumentNodeType.dnListItem); 11713DocumentNode dnLI = new DocumentNode(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (4)
1767DocumentNode dnNew = new DocumentNode(DocumentNodeType.dnCell); 1825DocumentNode dnNew = new DocumentNode(DocumentNodeType.dnCell); 2462dn = new DocumentNode(DocumentNodeType.dnText); 2797DocumentNode documentNode = new DocumentNode(documentNodeType);
230 references to DocumentNode
PresentationFramework (230)
System\Windows\Documents\RtfToXamlReader.cs (153)
4682internal DocumentNode GetParentOfType(DocumentNodeType parentType) 4684DocumentNode dn = Parent; 4696DocumentNode dn = Parent; 4714DocumentNode dn = Parent; 5140DocumentNode dnRow = GetParentOfType(DocumentNodeType.dnRow); 5270DocumentNode dnList = Parent; 5446internal bool IsAncestorOf(DocumentNode documentNode) 5461DocumentNode dnCell = GetParentOfType(DocumentNodeType.dnCell); 5472DocumentNode dn = dna.EntryAt(nLast); 5499DocumentNode dnRow = dna.EntryAt(nStart); 5523DocumentNode dnCell = dna.EntryAt(nStart); 5542DocumentNode dnRow = this.GetParentOfType(DocumentNodeType.dnRow); 5551DocumentNode dnCell = dna.EntryAt(nStart); 5579DocumentNode dnRow = dnaRows.EntryAt(i); 5876DocumentNode dnPa = Parent; 5942internal DocumentNode ClosedParent 5950internal DocumentNode Parent 6050for (DocumentNode dnPa = Parent; dnPa != null; dnPa = dnPa.Parent) 6128private DocumentNode _parent; 6174internal DocumentNode Row 6199private DocumentNode _row; 6273internal DocumentNode EntryAt(int nAt) 6275return (DocumentNode)this[nAt]; 6278internal void Push(DocumentNode documentNode) 6283internal DocumentNode Pop() 6285DocumentNode documentNode = Top; 6295internal DocumentNode TopPending() 6299DocumentNode dn = EntryAt(i); 6322DocumentNode dnCoalesce = EntryAt(nStart); 6343DocumentNode dn = EntryAt(nAt); 6351DocumentNode dnn = EntryAt(nnAt); 6365DocumentNode dnNewDir = new DocumentNode(DocumentNodeType.dnInline); 6417DocumentNode dnCoalesce = EntryAt(nStart); 6429DocumentNode dn = EntryAt(nAt); 6446DocumentNode dnChild = EntryAt(i); 6478DocumentNode dnCoalesce = EntryAt(nStart); 6490DocumentNode dn = EntryAt(nAt); 6510DocumentNode dnChild = EntryAt(i); 6543DocumentNode dnClose = EntryAt(index); 6558DocumentNode dn = EntryAt(nAt); 6572DocumentNode dnClose = EntryAt(index); 6584DocumentNode dn = EntryAt(i); 6604DocumentNode dn = EntryAt(nAt); 6613for (DocumentNode dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent) 6627DocumentNode dn = EntryAt(nAt); 6628DocumentNode dnPa = dn.Parent; 6670DocumentNode dn = _dnaOpen.EntryAt(i); 6696internal DocumentNode GetOpenParentWhileParsing(DocumentNode dn) 6703DocumentNode dnPa = _dnaOpen.EntryAt(i); 6722DocumentNode dn = _dnaOpen.EntryAt(i); 6756DocumentNode dn = _dnaOpen.EntryAt(i); 6766DocumentNode dn = _dnaOpen.EntryAt(i); 6791DocumentNode dn = EntryAt(i); 6802DocumentNode dnCell = dn.GetParentOfType(DocumentNodeType.dnCell); 6809DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6816for (DocumentNode dnList = dn.Parent; dnList != null; dnList = dnList.Parent) 6854DocumentNode dn = EntryAt(i); 6859DocumentNode dnShape = dn.GetParentOfType(DocumentNodeType.dnShape); 6866for (DocumentNode dnPa = dn; dnPa != null; dnPa = dnPa.Parent) 6887DocumentNode dn = _dnaOpen.EntryAt(i); 6903DocumentNode ddn = EntryAt(j); 6914for (DocumentNode dnPa = ddn; dnPa != null && dnPa != dn; dnPa = dnPa.Parent) 6935DocumentNode dn = _dnaOpen.EntryAt(i); 6981DocumentNode dn = _dnaOpen.EntryAt(i); 7004DocumentNode dnThis = EntryAt(i); 7005DocumentNode dnPrev = EntryAt(i - 1); 7028DocumentNode dn = EntryAt(i); 7042internal void InsertOpenNode(DocumentNode dn) 7057internal void InsertNode(int nAt, DocumentNode dn) 7083internal void InsertChildAt(DocumentNode dnParent, DocumentNode dnNew, int nInsertAt, int nChild) 7108DocumentNode dn = EntryAt(nAt); 7116DocumentNode dn1 = EntryAt(i); 7128for (DocumentNode dnPa = dn.Parent; dnPa != null; dnPa = dnPa.Parent) 7157internal DocumentNode Top 7189private void PreCoalesceListItem(DocumentNode dn) 7197DocumentNode ddn = EntryAt(nnAt); 7214DocumentNode ddn = EntryAt(nnAt); 7229private void PreCoalesceList(DocumentNode dn) 7237DocumentNode ddn = EntryAt(nnAt); 7257DocumentNode ddn = EntryAt(nnAt); 7275private int PreCoalesceTable(DocumentNode dn) 7290DocumentNode dnNewTable = new DocumentNode(DocumentNodeType.dnTable); 7291DocumentNode dnNewTableBody = new DocumentNode(DocumentNodeType.dnTableBody); 7306for (DocumentNode dnPa = dnNewTable.ClosedParent; dnPa != null; dnPa = dnPa.ClosedParent) 7325private void PreCoalesceRow(DocumentNode dn, ref bool fVMerged) 7329DocumentNode dnTable = dn.GetParentOfType(DocumentNodeType.dnTable); 7344DocumentNode dnCell = dnaCells.EntryAt(i); 7410DocumentNode dnTable = dnaTables.EntryAt(i); 7427DocumentNode dnRow = dnaRows.EntryAt(j); 7450DocumentNode dnCell = dnaCells.EntryAt(k); 7454DocumentNode dnSpanningCell = dnaSpanCells.EntryAt(kCSA); 7944DocumentNode documentNode = dna.EntryAt(i); 7964DocumentNode dnLast = dna.EntryAt(dna.Count - 1); 7981DocumentNode dnLast = dna.EntryAt(dna.Count - 1); 8012DocumentNode documentNode = dna.EntryAt(i); 8037DocumentNode dnFieldBegin = null; 8038DocumentNode dnFieldEnd = null; 8039DocumentNode dnFieldInstBegin = null; 8040DocumentNode dnFieldInstEnd = null; 8041DocumentNode dnFieldResultBegin = null; 8042DocumentNode dnFieldResultEnd = null; 8046DocumentNode dn = dna.EntryAt(i); 8087DocumentNode dnInstruction = null; 8102DocumentNode dnChild = dna.EntryAt(fieldInstruction); 8144DocumentNode dnPa = dnFieldBegin.ClosedParent; 8152DocumentNode dnImage = dna.EntryAt(nInsertAt); 8206DocumentNode dn = dna.EntryAt(i); 8220DocumentNode dn = dna.EntryAt(nInlineAt); 8235DocumentNode dn = dna.EntryAt(nInlineAt + 1); 8250DocumentNode dn = dna.EntryAt(i); 8261DocumentNode dn = dna.EntryAt(i); 8342internal DocumentNode ProcessHyperlinkField(string instr) 8344DocumentNode dn = new DocumentNode(DocumentNodeType.dnHyperlink); 8449internal DocumentNode ProcessSymbolField(string instr) 8451DocumentNode dn = new DocumentNode(DocumentNodeType.dnText); 8522private void ProcessSymbolFieldInstruction(DocumentNode dn, string instr, ref int i, ref EncodeType encodeType) 8662DocumentNode dnImage = new DocumentNode(DocumentNodeType.dnImage); 8744private void ConvertSymbolCharValueToText(DocumentNode dn, int nChar, EncodeType encodeType) 8793DocumentNode dnListText = dna.EntryAt(ndnListText); 8807DocumentNode dnText = dna.EntryAt(i); 8855DocumentNode dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd); 8869DocumentNode dnEnd = new DocumentNode(DocumentNodeType.dnFieldEnd); 9800DocumentNode dn; 9839DocumentNode dn; 9870DocumentNode dnChild = dna.EntryAt(nInsertAt + nChildren - 1); 9871DocumentNode dn = new DocumentNode(DocumentNodeType.dnParagraph); 9875DocumentNode dnParent = null; 9898DocumentNode dn = dna.EntryAt(i); 10005DocumentNode dnRow = dna.EntryAt(nRowAt); 10015DocumentNode dnTable = dna.EntryAt(nTable); 10155DocumentNode dnl = new DocumentNode(DocumentNodeType.dnListText); 10322DocumentNode dn = new DocumentNode(DocumentNodeType.dnShape); 10334DocumentNode dnListText = dna.EntryAt(ndnListText); 10432DocumentNode dnl = new DocumentNode(DocumentNodeType.dnListText); 11001DocumentNode dnf = new DocumentNode(DocumentNodeType.dnFieldBegin); 11031DocumentNode dnPara = dna.Pop(); 11063DocumentNode dnPara = dna.Pop(); 11088DocumentNode dnRow = new DocumentNode(DocumentNodeType.dnRow); 11096DocumentNode dnCell = new DocumentNode(DocumentNodeType.dnCell); 11104DocumentNode dnTable = new DocumentNode(DocumentNodeType.dnTable); 11105DocumentNode dnTableBody = new DocumentNode(DocumentNodeType.dnTableBody); 11106DocumentNode dnRow = new DocumentNode(DocumentNodeType.dnRow); 11107DocumentNode dnCell = new DocumentNode(DocumentNodeType.dnCell); 11198DocumentNode dnPara = dna.EntryAt(dna.Count - 1); 11489DocumentNode dnTop = dna.Top; 11525DocumentNode documentNode = new DocumentNode(DocumentNodeType.dnLineBreak); 11634DocumentNode documentNodePara = dna.Pop(); 11676DocumentNode dnList = new DocumentNode(DocumentNodeType.dnList); 11677DocumentNode dnLI = new DocumentNode(DocumentNodeType.dnListItem); 11702DocumentNode documentNodePara = dna.Pop(); 11713DocumentNode dnLI = new DocumentNode(DocumentNodeType.dnListItem);
System\Windows\Documents\XamlToRtfWriter.cs (77)
237DocumentNode dn1 = (DocumentNode)openLists[openLists.Count - 1]; 262DocumentNode dn = dna.EntryAt(i); 280DocumentNode dnList = (DocumentNode)openLists[openLists.Count - 1]; 327dnList = (DocumentNode)openLists[j]; 359DocumentNode dn = dna.EntryAt(i); 366for (DocumentNode dnParent = dn.Parent; dnParent != null; dnParent = dnParent.Parent) 411DocumentNode dn1 = (DocumentNode)openLists[openLists.Count - 1]; 422DocumentNode dn = dna.EntryAt(i); 447DocumentNode dnList = (DocumentNode)openLists[openLists.Count - 1]; 464DocumentNode dn = dna.EntryAt(i); 471for (DocumentNode dnParent = dn.Parent; 501DocumentNode dn = dna.EntryAt(i); 673private void WriteEmptyChild(DocumentNode documentNode) 683private void WriteInlineChild(DocumentNode documentNode) 873DocumentNode documentNodeChild = dna.EntryAt(nStart); 895private void WriteUIContainerChild(DocumentNode documentNode) 907DocumentNode documentNodeChild = dna.EntryAt(nStart); 927private void WriteSection(DocumentNode dnThis) 1010DocumentNode dnChild = dna.EntryAt(nAt); 1024private void WriteParagraph(DocumentNode dnThis) 1067DocumentNode dnChild = dna.EntryAt(nAt); 1161DocumentNode dnCell = dnThis.GetParentOfType(DocumentNodeType.dnCell); 1182private bool WriteParagraphFontInfo(DocumentNode dnThis, FormatState fsThis, FormatState fsParent) 1196DocumentNode dnChild = dna.EntryAt(nAt); 1279private bool WriteParagraphListInfo(DocumentNode dnThis, FormatState fsThis) 1286DocumentNode dnList = dnThis.GetParentOfType(DocumentNodeType.dnList); 1368private void WriteRow(DocumentNode dnRow) 1420private void WriteRowStart(DocumentNode dnRow) 1425private void WriteRowSettings(DocumentNode dnRow) 1427DocumentNode dnTable = dnRow.GetParentOfType(DocumentNodeType.dnTable); 1460private void WriteRowBorders(DocumentNode dnRow) 1470DocumentNode dnCell = cellArray.EntryAt(0); 1485private void WriteRowDimensions(DocumentNode dnRow) 1491private void WriteRowPadding(DocumentNode dnRow) 1503private void WriteRowsCellProperties(DocumentNode dnRow) 1512DocumentNode dnCell = cellArray.EntryAt(i); 1519private void WriteRowsCellContents(DocumentNode dnRow) 1526DocumentNode dnCell = cellArray.EntryAt(i); 1533private long WriteCellProperties(DocumentNode dnCell, int nCol, long lastCellX) 1555private void WriteCellVAlignment(DocumentNode dnCell) 1560private void WriteCellBorders(DocumentNode dnCell) 1580private void WriteCellPadding(DocumentNode dnCell) 1584private void WriteCellColor(DocumentNode dnCell) 1611private long WriteCellDimensions(DocumentNode dnCell, int nCol, long lastCellX) 1613DocumentNode dnTable = dnCell.GetParentOfType(DocumentNodeType.dnTable); 1678private long GetDefaultAllTablesWidthFromCell(DocumentNode dnCell) 1685DocumentNode dnChildTable = _converterState.DocumentNodeArray.EntryAt(childIndex); 1699private long CalculateDefaultTableWidth(DocumentNode dnTable) 1706DocumentNode dnChild = _converterState.DocumentNodeArray.EntryAt(tableChildIndex); 1718DocumentNode dnCell = cellArray.EntryAt(cellIndex); 1743private void PatchVerticallyMergedCells(DocumentNode dnThis) 1754DocumentNode dnRow = dnaRows.EntryAt(i); 1760DocumentNode dnCell = dnaCells.EntryAt(j); 1766DocumentNode dnSpanningCell = dnaSpanCells.EntryAt(nColExtra); 1767DocumentNode dnNew = new DocumentNode(DocumentNodeType.dnCell); 1824DocumentNode dnSpanningCell = dnaSpanCells.EntryAt(nColExtra); 1825DocumentNode dnNew = new DocumentNode(DocumentNodeType.dnCell); 1865private void WriteStructure(DocumentNode dnThis) 1937DocumentNode dnChild = dna.EntryAt(nStart); 1985DocumentNode dn = dna.EntryAt(i); 2010private void WriteImage(DocumentNode documentNode) 2044private void WriteShapeImage(DocumentNode documentNode, Stream imageStream, RtfImageFormat imageFormat) 2438DocumentNode dnTop = dna.TopPending(); 2439DocumentNode dn; 2511DocumentNode dnTop = dna.TopPending(); 2512DocumentNode documentNode = null; 2598DocumentNode documentNode = dna.EntryAt(nCloseAt); 2795private DocumentNode CreateDocumentNode(ConverterState converterState, DocumentNodeType documentNodeType, DocumentNode dnTop, XamlTag xamlTag) 2797DocumentNode documentNode = new DocumentNode(documentNodeType); 2843DocumentNode documentNode, XamlTag xamlTag, DocumentNodeArray dna) 3077DocumentNode dnTable = dna.EntryAt(nTableAt); 3915DocumentNode documentNodeParagraph = dna.EntryAt(paragraphIndex);