Commit Graph

64 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
0a8ee85654 rotatefix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3130 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:21:10 +00:00
Jean-Marc Lasgouttes
fcc833018c latexfeatures path from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3041 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 15:34:11 +00:00
Jean-Marc Lasgouttes
0b25c68c4b popup fixes from Juergen ; insetgraphics fix from Herbert ; menus fix from Andre ; allow ligature breaks in spellchecker and fix smart quote after protected space (from me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3019 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:47:35 +00:00
Angus Leeming
86ff350f06 Clean-up the behaviour of the inset when not displaying the image.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2799 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 17:12:27 +00:00
Angus Leeming
414b45b140 Don't display the image if params.display == NONE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2782 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 14:16:10 +00:00
Angus Leeming
70a852b5e1 If a pixmap contains a transparent colour, then set it to the colour of the
background. (With thanks to John Levon.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2780 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 10:52:48 +00:00
Angus Leeming
47b06816be Add LColor::graphicsbg and use it in the graphics and figure insets.
Ensures that a figure with a transparent colour can be viewed
easily if the LyX screen's background colour is dark.

Prevent deletion of the image file if no conversion is required.

This patch works like a charm with the (old) figinset. When testing
the graphics inset, however, I find that colour "None" in an XPM file
is displayed as black. I have no idea why. This appears to be true of
some other graphics viewers also. E.g., KDE 2's pixie displays "None"
as black but the venerable xv works fine.

Maybe it's my version of the xpm library, but v3.4.11 appears to be
right up to date.

Can people test on their machines and/or offer suggestions here?
Angus

p.s. You can test with the XPM files in lib/images. They will no longer
be deleted if you load them into LyX!

A.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2777 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 13:16:17 +00:00
José Matox
2470d9297d rename docBook method to docbook
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2681 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 11:02:09 +00:00
Lars Gullik Bjønnes
8075064372 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2429 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 19:13:25 +00:00
Angus Leeming
2e5de574e1 * John's maths patch,
* Baruch's second graphics patch,
* A few things to get stuff to compile on my machine --- Lars see the ChangeLog
in controllers; how do you get things to compile without a != operator?
Surely compilation dies in ControlInset, included in ControlFloat,
ControlMinipage.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2389 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 13:35:08 +00:00
Lars Gullik Bjønnes
e952d33e0b insetfloat work + stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2388 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 11:56:00 +00:00
Baruch Even
88821570ee Assume unknown formats are EPS, hacky solution before implementing a real one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2379 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 06:50:27 +00:00
Baruch Even
b82a6bd2ad Changed pdflatex conversion rules to use pdf images too.
Added epsi to be an alias of eps.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2378 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 06:04:20 +00:00
Angus Leeming
5f2e3c4c43 Baruch's graphics patch + some small tweaks to the buttoncontroller stuff
Kayvan's footnote patch
Added a "Buffer const *" parameter to InsetButton::getScreenLabel and all
daughter classes. Labels can now be tuned to suit, although non are yet.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2375 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-28 12:24:16 +00:00
Lars Gullik Bjønnes
bf6257967e small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2374 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 20:27:56 +00:00
Jürgen Vigna
7c0dad35b3 Implemented Search/Replace functionality for Insets. Cleaned up a bit.
Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2296 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:18:48 +00:00
Baruch Even
1111df8541 Removed some unneeded casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2249 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 14:42:40 +00:00
Baruch Even
85570cb7d6 Added a copy c-tor by request from Lars and handled the same_id case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2243 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-14 20:11:35 +00:00
Angus Leeming
cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
Jürgen Vigna
7521b5d20f The BIG UNDO patch. Recodes undo handling for better use inside InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 15:57:54 +00:00
Lars Gullik Bjønnes
85a5ea7bfc change a lot of methods to begin with small char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00
Lars Gullik Bjønnes
76ef051b1c LyX Drinkers United: patch 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
f1d829a185 adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Lars Gullik Bjønnes
352479f603 remove LyXParagraph Clone use newly added copy constructor instead, some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1988 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 10:50:09 +00:00
Jean-Marc Lasgouttes
e59e72d1d1 do not include language.h and gettext.h in lyxfont.h and lyxparagraph.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-05 12:26:41 +00:00
Baruch Even
7b34646748 Added some known bugs to the listed ones.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1875 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-02 19:57:35 +00:00
Lars Gullik Bjønnes
fc8465aa1f use anon namespace, somewhat better comp. handling of minipages, not quite there yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1795 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 01:22:46 +00:00
Baruch Even
75c9443ecd Minor cleanups of code and comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1790 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-18 17:48:56 +00:00
Baruch Even
95aa44f550 Changed the singleton implementation in GraphicsCache, the former version
leaked, in the sense that it was not deallocated at program end.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1640 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-28 11:32:10 +00:00
Baruch Even
96e0bafddd Cleaned up the GraphicsCache mechanism, made it use shared_ptr for cleanliness
Updated InsetGraphics to use the changed the GraphicsCache, and fixed a
lurking bug in LyXImage.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1606 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-22 16:53:59 +00:00
Baruch Even
9a70b28af5 Implemented synchronous inline image viewing for InsetGraphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1561 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-20 09:08:56 +00:00
Jürgen Vigna
9704a004bd Various fixes to InsetTabular and InsetText + Angus's cleanup patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1535 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-19 16:01:31 +00:00
Baruch Even
39b3fd44b9 Cleaned up cruft in InsetGraphics.
Added the auto-conversion of images to InsetGraphics, this adds support
for bitmap images.
Modified the mechanism of image loading for inline viewing - still not
working though.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1457 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-08 13:06:55 +00:00
Jean-Marc Lasgouttes
0a16442310 Converter patch from Dekel, Preference patch from Angus, menu patch from Rob
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1212 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-13 10:35:02 +00:00
Jean-Marc Lasgouttes
8aff605cae Dekel's import/export patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1144 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-23 12:16:05 +00:00
Jürgen Vigna
325dccab09 Baruch's InsetGraphics - LyXImage patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1106 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-12 10:46:06 +00:00
Jürgen Vigna
71f8ac34a9 Inset patch from Angus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1095 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-10 11:50:43 +00:00
Jürgen Vigna
99d6f056e4 Added linelen to insets-ascii-function, some fixes and new support
functions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1042 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 15:25:14 +00:00
Lars Gullik Bjønnes
4c295014fe remove commented HAVE_SSTREAM code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1025 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-18 17:39:21 +00:00
Lars Gullik Bjønnes
45a03f4f67 use the new sstream return non-pods as const, use string instead of char * in a lot of places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Jürgen Vigna
c29851030b Marko's GNOME patch and Baruch's insetgraphic patch + some fixes to make all
this work.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@967 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-14 09:44:53 +00:00
Allan Rae
f4d7b803f3 major GUII cleanup + Baruchs patch + Angus's patch + removed a couple of generated files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@966 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-14 05:24:35 +00:00
Jürgen Vigna
b7a16fc402 Implemented new Layout-Document in GUII and a few small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@965 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-11 14:42:20 +00:00
Jürgen Vigna
077ea832b5 Baruch's patch + some fixes to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@964 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-10 13:15:05 +00:00
Jürgen Vigna
9ab27bcd7e Baruch's graphic-inset patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@957 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-08 09:18:39 +00:00
Jürgen Vigna
f4bad86bda Baruch's graphics-patch + minipage-support in tabular-cells.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@938 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-31 12:30:10 +00:00
Lars Gullik Bjønnes
8ed9dbabde read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@885 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-15 23:51:46 +00:00
Jürgen Vigna
666140b7f2 Few more update text-inset issues + some fixes, see ChangeLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@859 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-05 14:57:48 +00:00
Jürgen Vigna
b744c6ed9f Lot's of updates for new update handling of text-insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@831 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-23 15:02:46 +00:00