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