Angus Leeming
9a3737148b
Re-add the RasterImage template.
...
Several small clean-ups of the InsetExternal code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 10:49:13 +00:00
Angus Leeming
858e197b7c
Enable multiple preamble snippets to be accessed by each format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7814 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-23 17:04:25 +00:00
Martin Vermeer
100e323d04
Bug fix in branches (was earlier fixed wrongly)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7803 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:46:27 +00:00
Martin Vermeer
47428517e7
Small cleanup, removal of self-aggrandizing comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7802 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:39:46 +00:00
Angus Leeming
c319aee7c2
Fix InsetInclude properly. Data is now stored in an InsetCommandParams
...
var rather tahn that nasty kludge InsetInclude::Params. Functions
that need info about the Buffer are passed a 'Buffer const &' arg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7797 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 10:16:33 +00:00
Angus Leeming
4348674beb
Small clean-up.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7795 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 22:26:46 +00:00
Angus Leeming
62df753a2e
Pass Buffer arg to Inset::getLabelList, Inset::fillWithBibKeys.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7794 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 20:18:39 +00:00
Angus Leeming
91d100b25f
Get rid of the InsetInclude::Params::flag variable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7792 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 17:22:36 +00:00
Angus Leeming
19dcaa4391
Enable previewing of Include insets within insets within insets...
...
(Don't use a BufferView cache to supply the Buffer when you can just pass
'Buffer const &' instead, Angus.'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7789 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 13:13:49 +00:00
Angus Leeming
2e7ac7ca77
Rename EnumLColor as LColor_color.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7788 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:48:11 +00:00
Angus Leeming
de04f0162d
Use the dispatch_result wrapper class DispatchResult to remove
...
#include "insets/insetbase.h" from cursor.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7787 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:21:53 +00:00
Angus Leeming
3fbad6656f
Add an InsetOld::Code wrapper class, enabling #include "inset.h" to be
...
removed from paragraph.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7786 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 10:52:29 +00:00
Angus Leeming
e2143b91e4
Fix crash when cutting and pasting include insets with previewing turned on.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7780 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 21:46:44 +00:00
Angus Leeming
27a9cc2098
Small clean-up of the PreviewedInset interface.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7778 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:43:00 +00:00
Angus Leeming
35abda384d
Make all of InsetCollapsable's member variables (save 'inset') private.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7777 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:39:33 +00:00
Angus Leeming
f5a0bad734
Define a wrapper LyXFont_size for LyXFont::FONT_SIZE.
...
Use it in paragraph.[Ch], allowing the removal of #include "lyxfont.h"
from paragraph.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7772 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 13:43:30 +00:00
Lars Gullik Bjønnes
83256c8f88
fix some namespace issues for gcc 3.4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7770 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 11:03:20 +00:00
Angus Leeming
fa837efdd6
Remove unused LColor::color framecolor variable from insetcollabsable.h
...
Remove #include "LColor.h" from insetcollabsable.h (final remaining instance).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7769 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:54:23 +00:00
Angus Leeming
f4af685bd3
Remove #include "LColor.h" from insettext.h. Deps down 10 to 95.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7768 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:30:59 +00:00
Angus Leeming
b9f0cff285
Move a couple of InsetText member variables from protected to private.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7767 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:01:29 +00:00
Angus Leeming
0d54d6b74d
Remove #include "LColor.h" from inset.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7766 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:44:34 +00:00
Angus Leeming
15dc5fa5d6
lyxfont.h no longer #includes LColor.h.
...
Change the LyXFont setXYZ member functions to return void, not LyXFont &.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7765 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:01:15 +00:00
Angus Leeming
a6ccea4f21
The EnumLColor patch, free of macros.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7759 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:20:22 +00:00
Lars Gullik Bjønnes
cd03e2b7db
Get rid of lyxstring, remove usage of STRCONV.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7751 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:00:00 +00:00
Angus Leeming
61f1f3ea87
Define explicitly the color passed to the painter.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7748 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 10:08:01 +00:00
Martin Vermeer
757df94b07
Fix problem in lockInsetInInset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7738 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-12 14:32:53 +00:00
Martin Vermeer
22aa494eba
Simplify by using adjustCommand, and fix bug in the process
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7730 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 14:06:49 +00:00
Lars Gullik Bjønnes
fcdb71906b
Change Assert to BOOST_ASSERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Martin Vermeer
5020a84fc1
Remove drawText[XY]Offset. No change in functionality
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7716 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:05:22 +00:00
Angus Leeming
4c6e0fe422
Removed all redundant using directives from the source.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
0705dae8a3
Finish the task of removing all cruft from the header files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7703 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 21:25:37 +00:00
Angus Leeming
35b6b4c8d0
Move BufferView::ChangeInsets to the Pimpl. As a result, can remove
...
the #include "insets/inset.h" from BufferView.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7696 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 19:16:30 +00:00
Angus Leeming
c5c7a9e568
Strip out redundant includes (193 of 'em).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7670 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 09:01:27 +00:00
Angus Leeming
e9c209c298
The remaining External Template clean-up patch ;-)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7666 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 17:01:00 +00:00
Martin Vermeer
781e0ef62e
The mouse box patch for button-style insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7662 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 14:02:05 +00:00
Angus Leeming
1dffc5cfe4
Move #includes out of header files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7659 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 03:54:04 +00:00
Angus Leeming
2ea91e9359
Move some more #includes out of the header files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7656 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:18:42 +00:00
Angus Leeming
a529232113
Move #include "funcrequest.h" out of the header file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7655 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:01:13 +00:00
Angus Leeming
a4fc784124
Fix export of graphics images when compiling latex file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7649 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:23:38 +00:00
Angus Leeming
2158ae655b
Don't bring namespace lyx::support into the global namespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7646 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 12:56:52 +00:00
Martin Vermeer
704bd69b6c
Oops...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7644 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 09:30:59 +00:00
Martin Vermeer
bee2ff2d50
Add Branch: to label
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7643 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 09:29:07 +00:00
John Levon
0769f8d599
remove cursor.i[xy]
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7640 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 17:08:54 +00:00
Angus Leeming
24f8676130
Enable convertDefault.sh to run even if its executable bit is not set.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7627 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 12:45:51 +00:00
Lars Gullik Bjønnes
b881ed2d5a
Use Buffer const reference in most placees possible.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7623 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:41:31 +00:00
Martin Vermeer
04296fea9a
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7612 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 18:39:22 +00:00
John Levon
744c402590
remove remaining needFullRow()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7611 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 17:52:35 +00:00
André Pönitz
407c8f08bc
remove InsetOld::par_owner & handling
...
(const correct after Angus' comment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7610 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 16:36:53 +00:00
Martin Vermeer
814e5398c5
Small fix to prevent crash on loading
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7609 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 15:27:31 +00:00
André Pönitz
ef2290cf5e
Martin's fullRow patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7605 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 10:33:59 +00:00