]> git.lyx.org Git - features.git/commit
The caption inset patch by Georg, Martin and myself.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 30 Jan 2007 13:23:21 +0000 (13:23 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 30 Jan 2007 13:23:21 +0000 (13:23 +0000)
commit500a5f959fa713c2106855c64fac55739f8a93ff
treeb44d0267fc033df7396bc43db2e1cf7afd7037b4
parent951e4e0a7877d94a3f6a8c0ee296ef55f56862b4
The caption inset patch by Georg, Martin and myself.

* buffer.C: increase LyX format to 257.

* lyxtextclass.C: increase FORMAT format to 3.

* buffer_funcs.C:
  - setCaptionLabels(): new recursive function
  - setCaptions(): new function
  - updateLabels(): call setCaptions() for each paragraph.

* InsetCaption:
  - add a virtual destructor
  - overload InsetText' getStatus() and wide().
  - setLabel(): only set the new private member label_.
  - metrics(): don't set label here and correct for title metrics.
  - draw(): don't set label here
  - latex(): fix optional argument.
  - plaintext(): implement!

* InsetText:
  - add a virtual destructor
  - add virtual to getStatus() and wide().

*  output_latex.[Ch]: move latexOptArgInsets() out of anon namespace.

* text3.C: enable LFUN_CAPTION_INSERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16948 a592a061-630c-0410-9148-cb99ea01b6c8
13 files changed:
lib/lyx2lyx/LyX.py
lib/lyx2lyx/lyx_1_5.py
lib/scripts/layout2layout.py
lib/ui/stdmenus.inc
src/buffer.C
src/buffer_funcs.C
src/insets/insetcaption.C
src/insets/insetcaption.h
src/insets/insettext.h
src/lyxtextclass.C
src/output_latex.C
src/output_latex.h
src/text3.C