These are the main entry points into the layout algorithm. The main methods of the layout algorithm are ::MakeAll(), ::MakePos(), ::Format(), ::MakePrtArea() at the class and its subclasses. Main purpose of the layout algorithm is to determine the values for and of the instances of a certain layout. The list of the instance also contains all instances, which are anchored at the lowers of the instance, except the as-character anchored objects. is a pointer to a instance representing the anchor frame of the instance. is list of instances, representing the anchored objects, which are anchored at this instance. The layout structure for anchored objects is build by member at and member at. Sub classes are - base class for Writer anchored objects - and - class for drawing objects. Anchored objects are represented by instances of in the layout. Such instances are for at-page anchored objects, for at-paragraph, at-character and as-character anchored objects and for at-frame anchored objects. A anchored object, like text frames, graphics, OLE objects and drawing objects, are anchored at a certain instance. These flags are used during formatting of the document.Īnchored objects are inserted differently into the layout. A SwTxtFrm object is registered in a SwTxtNode object in order to be notified in case the SwTxtNode object is changed.Ī page frame additionally has a couple of boolean members to indicate if any of the page contents is invalid. The nOfst member referes to the aText string member of the associated SwTxtNode object. The most important frame is the SwTxtFrm, which is the layout counterpart a SwTxtNode object. These are the frames that are allowed at page breaks and shall continue on the next page, e.g., paragraphs, tables. Some frames are not only derived from SwFrm, but also from SwFlowFrm. Incarnations of a layout frame are pages, tables. The base class of the frame hierachy is SwFrm, which is derived from SwClient for inheriting the ability of being notified by changes.Ī layout frame has an additional member pLower, i.e., a layout frame is a frame that contains other frames. Basically a frame is a rectangular area which is linked with other frames: The layout is the visual representation of a Writer document. 4.2 Character Styles and Automatic Character Styles.3 Relationship between nodes and frames.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |