1 write to SemanticBoxes
PresentationFramework (1)
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
1158
container.
SemanticBoxes
= groups;
67 references to SemanticBoxes
PresentationFramework (67)
System\Windows\Documents\FixedSOMFixedBlock.cs (8)
43
if (this.
SemanticBoxes
.Count > 1)
45
FixedSOMTextRun run = this.
SemanticBoxes
[this.
SemanticBoxes
.Count - 2] as FixedSOMTextRun;
161
for (int i=0; i<
SemanticBoxes
.Count; i++)
163
Debug.Assert(
SemanticBoxes
[i] is FixedSOMTextRun ||
SemanticBoxes
[i] is FixedSOMImage);
164
SemanticBoxes
[i].Render(dc, i.ToString(),debugVisual);
171
foreach (FixedSOMSemanticBox box in block.
SemanticBoxes
)
System\Windows\Documents\FixedSOMPage.cs (1)
63
List<FixedSOMSemanticBox> groupBoxes = group.
SemanticBoxes
;
System\Windows\Documents\FixedSOMPageConstructor.cs (32)
263
foreach (FixedSOMSemanticBox box in _fixedSOMPage.
SemanticBoxes
)
266
container.
SemanticBoxes
.Sort();
274
_fixedSOMPage.
SemanticBoxes
.Sort();
563
foreach (FixedSOMSemanticBox box in _fixedSOMPage.
SemanticBoxes
)
577
Debug.Assert (fixedBlock.
SemanticBoxes
.Count > 0);
578
if (fixedBlock.
SemanticBoxes
.Count == 0)
593
FixedSOMTextRun lastLine = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count - 1] as FixedSOMTextRun;
608
compareLine = fixedBlock.
SemanticBoxes
[0] as FixedSOMTextRun;
613
compareLine = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count-1] as FixedSOMTextRun;
684
FixedSOMElement element = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count - 1] as FixedSOMElement;
862
if (_fixedSOMPage.
SemanticBoxes
.Count < 2)
871
prevBoxCount = _fixedSOMPage.
SemanticBoxes
.Count;
873
List<FixedSOMSemanticBox> boxes = _fixedSOMPage.
SemanticBoxes
;
913
} while (_fixedSOMPage.
SemanticBoxes
.Count > 1 && _fixedSOMPage.
SemanticBoxes
.Count != prevBoxCount);
1079
for (int i = 0; i < _fixedSOMPage.
SemanticBoxes
.Count;)
1082
if (_fixedSOMPage.
SemanticBoxes
[i] is FixedSOMFixedBlock &&
1083
table.AddContainer(_fixedSOMPage.
SemanticBoxes
[i] as FixedSOMContainer))
1085
_fixedSOMPage.
SemanticBoxes
.RemoveAt(i);
1100
foreach (FixedSOMTableRow row in table.
SemanticBoxes
)
1102
foreach (FixedSOMTableCell cell in row.
SemanticBoxes
)
1104
for (int i=0; i<cell.
SemanticBoxes
.Count;)
1106
FixedSOMTable innerTable = cell.
SemanticBoxes
[i] as FixedSOMTable;
1109
cell.
SemanticBoxes
.Remove(innerTable);
1117
cell.
SemanticBoxes
.Sort();
1131
if (container.
SemanticBoxes
.Count > 0)
1136
FixedSOMPageElement currentPageElement = container.
SemanticBoxes
[0] as FixedSOMPageElement;
1144
for (int i=1; i<container.
SemanticBoxes
.Count; i++)
1146
nextPageElement = container.
SemanticBoxes
[i] as FixedSOMPageElement;
System\Windows\Documents\FixedSOMTable.cs (22)
67
int colCount = row.
SemanticBoxes
.Count;
86
foreach (FixedSOMTableRow row in this.
SemanticBoxes
)
90
foreach (FixedSOMTableCell cell in row.
SemanticBoxes
)
151
foreach (FixedSOMTableRow row in this.
SemanticBoxes
)
166
if (this.
SemanticBoxes
.Count == 1)
168
FixedSOMTableRow row = this.
SemanticBoxes
[0] as FixedSOMTableRow;
170
return (row.
SemanticBoxes
.Count == 1);
182
for (int i=0; i<this.
SemanticBoxes
.Count;)
184
FixedSOMTableRow row = this.
SemanticBoxes
[i] as FixedSOMTableRow;
188
this.
SemanticBoxes
.RemoveAt(i);
202
int nRows = this.
SemanticBoxes
.Count;
212
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
216
deleteCol = deleteCol && idx < row.
SemanticBoxes
.Count;
219
cell = (FixedSOMTableCell)row.
SemanticBoxes
[idx];
225
if (idx + 1 < row.
SemanticBoxes
.Count)
227
cell = (FixedSOMTableCell)row.
SemanticBoxes
[idx+1];
250
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
251
row.
SemanticBoxes
.RemoveAt(indexInRow[r]);
271
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
273
if (idx + 1 < row.
SemanticBoxes
.Count && row.
SemanticBoxes
[idx + 1].BoundingRect.Left == nextCol)
279
((FixedSOMTableCell)row.
SemanticBoxes
[idx]).ColumnSpan++;
System\Windows\Documents\FixedSOMTableCell.cs (1)
113
foreach (FixedSOMContainer container in this.
SemanticBoxes
)
System\Windows\Documents\FixedSOMTableRow.cs (1)
82
foreach (FixedSOMTableCell cell in this.
SemanticBoxes
)
System\Windows\Documents\FixedTextBuilder.cs (2)
1040
foreach (FixedSOMContainer container in somPage.
SemanticBoxes
)
1065
List<FixedSOMSemanticBox> children = node.
SemanticBoxes
;