|
|
Grid Layout for CJK in Writer(Updated 02/20/2002) Table of Content Object “Snapping”/Rename Tools - Options Tab Page
IntroEast Asian countries, esp. Japan, are traditionally used to having a fixed number of characters per page. Example: 20 characters by 20 lines on a DINA4 page. We need adequate page setup formatting to accomplish this goal. Please note: The tab page introduced below will only be visible/active once “Tools - Options - Language Settings - Languages - Asian Language Support” is enabled. New Tab Page for Page Setup
(Note: If “No grid” is selected, all other controls are inactive) Grid
Grid Layout
Grid Display
Special BehaviourDefault LayoutWhen using default values for number of lines, characters and page margins the grid will basically look like this:
Please note that the grid always(!) produces square cells, never rectangle ones like Word! User Defined LayoutOnce the user chooses a lesser amount of lines per page and/or characters per line the grid layout will shrink. It will always aligned centred to its printable area. E.g. less lines but maximum of characters per line in horizontal mode will shrink from top and bottom alike. Example 2: Less characters per line though will have an inverse effect. Since all cells have to be square by definition not only width but also height of cells is affected. Thus less lines per page will be displayed. This has to be taken into account also in UI. Once the characters per line are decreased, automatically amount of lines per page has to be decreased accordingly! Selective Font Size ChangesEven if it hardly makes any sense from a layout perspective, one can actually mark parts of text (or single characters) to change their attributes, like size. Changing the fonts size to a smaller layout doesn't matter but sizing will! In the figure below the blue じ was resized from 24 pt. to 60 pt.
A shift by x cells (depending on its new size) in text direction is accomplished plus x empty lines. This is necessary since the symbol is not only growing in its vertical (alt: horizontal) direction but also in its horizontal (alt: vertical). Western TextAs seen in figures above, Western text will be spread over x cells (as many as the text will need to be displayed) and will, once a locale change back to Asian input happens, be aligned centred in cells. AlignmentAlignment must be turned off, since it does not make any sense in grid layout. ColumnsColumns are turned of once text grid is active (as vice versa). Object “Snapping”/Rename Tools - Options Tab PageObjects like graphics, OLE, bitmaps and the like will stay where they are positioned and will not “snap” to document grid. If this function is needed, one must turn on “Tools - Options - Text Document - Grid” Furthermore, we need to re-name those entries on the “Tools - Options - Text Document - Grid” tab page! Re-name matrix:
Ruby TextIf Ruby Text is applied and longer than its Base Text it will stretch over more grid cells than the base text itself. In this case empty grid cells have to be inserted until Ruby Text fits. See example figure below.
Most important: If Ruby Text is wider than its Base Text and aligned 1-2-1 or 0-1-0 the whole construct (Base and Ruby Text) should align centred within the needed grid cells to avoid an uneven text flow. Furthermore it is possible to have Ruby-Text below resp. left from text. This will put the Ruby space below/left instead of above/right from the base text grid line. PunctuationWhile East Asian characters always occupy a full grid cell centred punctuation characters such as full stop are more likely to align themselves. Thus those characters that carry alignment information are to be handled the like, e.g. a full stop will always align to it's former character instead of centred alignment in grid cell. Terminology Matrix (English - German)
MS Word CompatibilitySince MS word has a different layout approach for text grids a 100% im/export filter capability is not achievable. We will try to depict as many features/formatting as possible and do a transition into StarOffice/StarSuite Writer design. It was decided to implement a rather useful and comprehensive grid layout into Writer than to copycat Microsoft Word for the sake of compatibility! |






