2.7.14 Asumyi
The Asumyi structure specifies AutoSummary state information
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A |
B |
C |
D |
reserved |
wDlgLevel |
||||||||||||||||||||||||||
lHighestLevel |
|||||||||||||||||||||||||||||||
lCurrentLevel |
A - fValid (1 bit): Specifies whether the rest of the information in the Asumyi is currently valid.
B - fView (1 bit): Specifies whether the AutoSummary view is currently active.
C - iViewBy (2 bits): Specifies the type of AutoSummary to use. This value MUST be one of the following.
-
Value
Meaning
0
Highlight the text that is to be included in the summary.
1
Hide all text that is not part of the summary
2
Insert the summary at the top of the document.
3
Create a new document that contains the summary.
D - fUpdateProps (1 bit): Specifies whether to update the document summary information to reflect the AutoSummary results after the next summarization.
reserved (11 bits): This value MUST be 0, and MUST be ignored.
wDlgLevel (2 bytes): Specifies the desired size of the summary. This value SHOULD<197> either be between 0 and 100, expressing the percentage of the original document size, or be one of the following values.
-
Value
Meaning
0xFFFE
10 sentences.
0xFFFD
20 sentences.
0xFFFC
100 words.
0xFFFB
500 words.
0xFFFA
10 percent of the original document size.
0xFFF9
25 percent of the original document size.
0xFFF8
50 percent of the original document size.
0xFFF7
75 percent of the original document size.
lHighestLevel (4 bytes): If fValid is set to 1, this value MUST be greater than or equal to the highest value of ASUMY.lLevel.
lCurrentLevel (4 bytes): If fValid is set to 1, this value MUST be equal to the following.
-
If wDlgLevel is between 0xFFF7 and 0xFFFE, the value to use for wDlgLevel is the equivalent percentage to maintain the meaning of wDlgLevel. This value is compared to ASUMY.lLevel to see if is to be part of the summary. If ASUMY.lLevel is less than or equal to lCurrentLevel, it is to be part of the summary.