主权项 |
1. A method comprising:
receiving, by a device, a document that includes a plurality of sections,
two or more sections, of the plurality of sections, including an executable code; determining, by the device, whether a size of each of the two or more sections of the document exceeds a threshold,
determining whether the size of each of the two or more sections exceeds the threshold including:
determining whether a height of a section, of the two or more sections, exceeds a threshold height or a width of the section exceeds a threshold width; and providing, by the device and using the executable code, a toolbar for one or more first sections, of the two or more sections, having sizes that exceed the threshold,
providing the toolbar includes providing the toolbar for the section when the height of the section exceeds the threshold height or when the width of the section exceeds the threshold width,the toolbar being not provided for a second section, of the two or more sections, having a size that does not exceed the threshold. |