1 write to SemanticBoxes
PresentationFramework (1)
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
1153
container.
SemanticBoxes
= groups;
67 references to SemanticBoxes
PresentationFramework (67)
System\Windows\Documents\FixedSOMFixedBlock.cs (8)
39
if (this.
SemanticBoxes
.Count > 1)
41
FixedSOMTextRun run = this.
SemanticBoxes
[this.
SemanticBoxes
.Count - 2] as FixedSOMTextRun;
157
for (int i=0; i<
SemanticBoxes
.Count; i++)
159
Debug.Assert(
SemanticBoxes
[i] is FixedSOMTextRun ||
SemanticBoxes
[i] is FixedSOMImage);
160
SemanticBoxes
[i].Render(dc, i.ToString(),debugVisual);
167
foreach (FixedSOMSemanticBox box in block.
SemanticBoxes
)
System\Windows\Documents\FixedSOMPage.cs (1)
60
List<FixedSOMSemanticBox> groupBoxes = group.
SemanticBoxes
;
System\Windows\Documents\FixedSOMPageConstructor.cs (32)
258
foreach (FixedSOMSemanticBox box in _fixedSOMPage.
SemanticBoxes
)
261
container.
SemanticBoxes
.Sort();
269
_fixedSOMPage.
SemanticBoxes
.Sort();
558
foreach (FixedSOMSemanticBox box in _fixedSOMPage.
SemanticBoxes
)
572
Debug.Assert (fixedBlock.
SemanticBoxes
.Count > 0);
573
if (fixedBlock.
SemanticBoxes
.Count == 0)
588
FixedSOMTextRun lastLine = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count - 1] as FixedSOMTextRun;
603
compareLine = fixedBlock.
SemanticBoxes
[0] as FixedSOMTextRun;
608
compareLine = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count-1] as FixedSOMTextRun;
679
FixedSOMElement element = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count - 1] as FixedSOMElement;
857
if (_fixedSOMPage.
SemanticBoxes
.Count < 2)
866
prevBoxCount = _fixedSOMPage.
SemanticBoxes
.Count;
868
List<FixedSOMSemanticBox> boxes = _fixedSOMPage.
SemanticBoxes
;
908
} while (_fixedSOMPage.
SemanticBoxes
.Count > 1 && _fixedSOMPage.
SemanticBoxes
.Count != prevBoxCount);
1074
for (int i = 0; i < _fixedSOMPage.
SemanticBoxes
.Count;)
1077
if (_fixedSOMPage.
SemanticBoxes
[i] is FixedSOMFixedBlock &&
1078
table.AddContainer(_fixedSOMPage.
SemanticBoxes
[i] as FixedSOMContainer))
1080
_fixedSOMPage.
SemanticBoxes
.RemoveAt(i);
1095
foreach (FixedSOMTableRow row in table.
SemanticBoxes
)
1097
foreach (FixedSOMTableCell cell in row.
SemanticBoxes
)
1099
for (int i=0; i<cell.
SemanticBoxes
.Count;)
1101
FixedSOMTable innerTable = cell.
SemanticBoxes
[i] as FixedSOMTable;
1104
cell.
SemanticBoxes
.Remove(innerTable);
1112
cell.
SemanticBoxes
.Sort();
1126
if (container.
SemanticBoxes
.Count > 0)
1131
FixedSOMPageElement currentPageElement = container.
SemanticBoxes
[0] as FixedSOMPageElement;
1139
for (int i=1; i<container.
SemanticBoxes
.Count; i++)
1141
nextPageElement = container.
SemanticBoxes
[i] as FixedSOMPageElement;
System\Windows\Documents\FixedSOMTable.cs (22)
62
int colCount = row.
SemanticBoxes
.Count;
81
foreach (FixedSOMTableRow row in this.
SemanticBoxes
)
85
foreach (FixedSOMTableCell cell in row.
SemanticBoxes
)
146
foreach (FixedSOMTableRow row in this.
SemanticBoxes
)
161
if (this.
SemanticBoxes
.Count == 1)
163
FixedSOMTableRow row = this.
SemanticBoxes
[0] as FixedSOMTableRow;
165
return (row.
SemanticBoxes
.Count == 1);
177
for (int i=0; i<this.
SemanticBoxes
.Count;)
179
FixedSOMTableRow row = this.
SemanticBoxes
[i] as FixedSOMTableRow;
183
this.
SemanticBoxes
.RemoveAt(i);
197
int nRows = this.
SemanticBoxes
.Count;
207
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
211
deleteCol = deleteCol && idx < row.
SemanticBoxes
.Count;
214
cell = (FixedSOMTableCell)row.
SemanticBoxes
[idx];
220
if (idx + 1 < row.
SemanticBoxes
.Count)
222
cell = (FixedSOMTableCell)row.
SemanticBoxes
[idx+1];
245
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
246
row.
SemanticBoxes
.RemoveAt(indexInRow[r]);
266
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
268
if (idx + 1 < row.
SemanticBoxes
.Count && row.
SemanticBoxes
[idx + 1].BoundingRect.Left == nextCol)
274
((FixedSOMTableCell)row.
SemanticBoxes
[idx]).ColumnSpan++;
System\Windows\Documents\FixedSOMTableCell.cs (1)
109
foreach (FixedSOMContainer container in this.
SemanticBoxes
)
System\Windows\Documents\FixedSOMTableRow.cs (1)
78
foreach (FixedSOMTableCell cell in this.
SemanticBoxes
)
System\Windows\Documents\FixedTextBuilder.cs (2)
1034
foreach (FixedSOMContainer container in somPage.
SemanticBoxes
)
1059
List<FixedSOMSemanticBox> children = node.
SemanticBoxes
;