Mercurial > emacs
view etc/schema/dbsoextbl.rnc @ 91999:a58e06f6236c
Extend [hv]scroll support to per-window properties.
(image-mode-current-vscroll, image-mode-current-hscroll): Remove.
(image-mode-winprops-alist): New var to replace them.
(image-mode-new-window-functions): New hook.
(image-mode-winprops, image-mode-window-get, image-mode-window-put): New funs.
(image-set-window-vscroll, image-set-window-hscroll): Use them.
Remove the `window' argument, update callers.
(image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
Use the new functions.
(image-mode-reapply-winprops): New fun.
(image-mode): Use it.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 21 Feb 2008 03:27:15 +0000 |
parents | 38f93f3d00a2 |
children |
line wrap: on
line source
# Definitions specific to the OASIS XML Exchange Table Model. # Reference OASIS Exchange Table Model include "soextbl.rnc" { # Override definition of start start |= notAllowed # Add common attributes and the Label attribute to Table and # InformalTable. bodyatt = common.attrib, label.attrib, tables.role.attrib # Add common attributes to TGroup, ColSpec, TBody, THead, Row, Entry tbl.tgroup.att = common.attrib tbl.colspec.att = common.attrib tbl.tbody.att = common.attrib tbl.thead.att = common.attrib tbl.row.att = common.attrib tbl.entry.att = common.attrib # Content model for Table. tbl.table.mdl = blockinfo?, formalobject.title.content, ndxterm.class*, textobject*, (graphic+ | mediaobject+ | tgroup+) # Allow either objects or inlines; beware of REs between elements. tbl.entry.mdl = (para.char.mix | tabentry.mix)* } common.table.attribs = bodyatt # end of table.module