3.1.4.9 ExpandCollapseOutline
This operation is used to toggle the outline state in the workbook.
-
<wsdl:operation name="ExpandCollapseOutline"> <wsdl:input message="ExpandCollapseOutlineSoapIn" /> <wsdl:output message="ExpandCollapseOutlineSoapOut" /> </wsdl:operation>
The protocol client sends an ExpandCollapseOutlineSoapIn request message, and the protocol server responds with an ExpandCollapseOutlineSoapOut response message, as follows:
The protocol server MUST outline expand the outline state if the outline is in a collapsed outline state. The protocol server MUST outline collapse the outline state if the outline is in an expanded outline state.
In the event of an application error on the protocol server during this operation, the protocol server MUST return an ExcelServerMessage as specified in section 2.2.9.2. The id element of the ExcelServerMessage MUST be one of the values specified in section 2.2.9.4, and SHOULD<17> be one of the values described in the following table.
Id |
Description |
---|---|
InvalidOrTimedOutSession |
See section 2.2.9.5. |
RetryError |
See section 2.2.9.5. |
OperationCanceled |
See section 2.2.9.5. |
InternalError |
See section 2.2.9.5. |
MaxRequestDurationExceeded |
See section 2.2.9.5. |
MultipleRequestsOnSession |
See section 2.2.9.5. |