1 write to SemanticBoxes
PresentationFramework (1)
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
1154container.SemanticBoxes = groups;
67 references to SemanticBoxes
PresentationFramework (67)
System\Windows\Documents\FixedSOMFixedBlock.cs (8)
38if (this.SemanticBoxes.Count > 1) 40FixedSOMTextRun run = this.SemanticBoxes[this.SemanticBoxes.Count - 2] as FixedSOMTextRun; 156for (int i=0; i<SemanticBoxes.Count; i++) 158Debug.Assert(SemanticBoxes[i] is FixedSOMTextRun || SemanticBoxes[i] is FixedSOMImage); 159SemanticBoxes[i].Render(dc, i.ToString(),debugVisual); 166foreach (FixedSOMSemanticBox box in block.SemanticBoxes)
System\Windows\Documents\FixedSOMPage.cs (1)
59List<FixedSOMSemanticBox> groupBoxes = group.SemanticBoxes;
System\Windows\Documents\FixedSOMPageConstructor.cs (32)
259foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 262container.SemanticBoxes.Sort(); 270_fixedSOMPage.SemanticBoxes.Sort(); 559foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 573Debug.Assert (fixedBlock.SemanticBoxes.Count > 0); 574if (fixedBlock.SemanticBoxes.Count == 0) 589FixedSOMTextRun lastLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMTextRun; 604compareLine = fixedBlock.SemanticBoxes[0] as FixedSOMTextRun; 609compareLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count-1] as FixedSOMTextRun; 680FixedSOMElement element = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMElement; 858if (_fixedSOMPage.SemanticBoxes.Count < 2) 867prevBoxCount = _fixedSOMPage.SemanticBoxes.Count; 869List<FixedSOMSemanticBox> boxes = _fixedSOMPage.SemanticBoxes; 909} while (_fixedSOMPage.SemanticBoxes.Count > 1 && _fixedSOMPage.SemanticBoxes.Count != prevBoxCount); 1075for (int i = 0; i < _fixedSOMPage.SemanticBoxes.Count;) 1078if (_fixedSOMPage.SemanticBoxes[i] is FixedSOMFixedBlock && 1079table.AddContainer(_fixedSOMPage.SemanticBoxes[i] as FixedSOMContainer)) 1081_fixedSOMPage.SemanticBoxes.RemoveAt(i); 1096foreach (FixedSOMTableRow row in table.SemanticBoxes) 1098foreach (FixedSOMTableCell cell in row.SemanticBoxes) 1100for (int i=0; i<cell.SemanticBoxes.Count;) 1102FixedSOMTable innerTable = cell.SemanticBoxes[i] as FixedSOMTable; 1105cell.SemanticBoxes.Remove(innerTable); 1113cell.SemanticBoxes.Sort(); 1127if (container.SemanticBoxes.Count > 0) 1132FixedSOMPageElement currentPageElement = container.SemanticBoxes[0] as FixedSOMPageElement; 1140for (int i=1; i<container.SemanticBoxes.Count; i++) 1142nextPageElement = container.SemanticBoxes[i] as FixedSOMPageElement;
System\Windows\Documents\FixedSOMTable.cs (22)
61int colCount = row.SemanticBoxes.Count; 80foreach (FixedSOMTableRow row in this.SemanticBoxes) 84foreach (FixedSOMTableCell cell in row.SemanticBoxes) 145foreach (FixedSOMTableRow row in this.SemanticBoxes) 160if (this.SemanticBoxes.Count == 1) 162FixedSOMTableRow row = this.SemanticBoxes[0] as FixedSOMTableRow; 164return (row.SemanticBoxes.Count == 1); 176for (int i=0; i<this.SemanticBoxes.Count;) 178FixedSOMTableRow row = this.SemanticBoxes[i] as FixedSOMTableRow; 182this.SemanticBoxes.RemoveAt(i); 196int nRows = this.SemanticBoxes.Count; 206FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 210deleteCol = deleteCol && idx < row.SemanticBoxes.Count; 213cell = (FixedSOMTableCell)row.SemanticBoxes[idx]; 219if (idx + 1 < row.SemanticBoxes.Count) 221cell = (FixedSOMTableCell)row.SemanticBoxes[idx+1]; 244FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 245row.SemanticBoxes.RemoveAt(indexInRow[r]); 265FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 267if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].BoundingRect.Left == nextCol) 273((FixedSOMTableCell)row.SemanticBoxes[idx]).ColumnSpan++;
System\Windows\Documents\FixedSOMTableCell.cs (1)
108foreach (FixedSOMContainer container in this.SemanticBoxes)
System\Windows\Documents\FixedSOMTableRow.cs (1)
77foreach (FixedSOMTableCell cell in this.SemanticBoxes)
System\Windows\Documents\FixedTextBuilder.cs (2)
1030foreach (FixedSOMContainer container in somPage.SemanticBoxes) 1055List<FixedSOMSemanticBox> children = node.SemanticBoxes;