Lars Gullik Bjønnes
7c15014ec2
change "support/std_sstream.h" to <sstream>
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8849 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 10:55:30 +00:00
Lars Gullik Bjønnes
44cd0fc9a1
The std::string mammoth path.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Angus Leeming
5927128c94
Operator<< for BoundingBox.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7837 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 21:42:13 +00:00
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
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
f239801ae3
Changes due to the removal of using directives from support/std_sstream.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7686 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 18:02:24 +00:00
Angus Leeming
236ea81bc5
Replace LString.h with support/std_string.h,
...
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +00:00
Angus Leeming
c9403be3b0
Strip redundant #includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7669 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 03:10:30 +00:00
Angus Leeming
0be0fcfd59
If I ever see another licence blurb again, it'll be too soon...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
Lars Gullik Bjønnes
fe390e9da1
namespace grfx -> lyx::graphics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7239 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-04 08:23:23 +00:00
Lars Gullik Bjønnes
99d1627a47
dont use pragma impementation and interface anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
Lars Gullik Bjønnes
13349032cb
ws changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00
Angus Leeming
1eb8155fa0
This file is part of LyX, the document processor.
...
Licence details can be found in the file COPYING.
and thank God for sed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5211 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 15:14:23 +00:00
Angus Leeming
6fac1dc980
Really dull and boring header shit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 14:10:50 +00:00
Angus Leeming
3aa7e91a82
Modify the headers of files in src/graphics as discussed on the list.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5206 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 11:31:30 +00:00
John Levon
cf216cd7fc
Rob's patch and some minor cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5092 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 22:02:30 +00:00
Jean-Marc Lasgouttes
1c52d8f898
toc support reorganization; changes to xform_helpers; aspect ratio patch from herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4732 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 15:51:07 +00:00
Jean-Marc Lasgouttes
7086f52fc8
small unimportant cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4723 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 15:25:41 +00:00
Angus Leeming
a674f70d4a
Pedantic change of email only.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4637 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-15 10:19:45 +00:00
André Pönitz
f90e1e249f
move the abs() from lyxlength:inBP to the place where it is used.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4626 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 15:55:30 +00:00
Angus Leeming
888532c465
Asymptotic approach to a well-designed graphics loader.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 11:22:56 +00:00
Angus Leeming
1bb197b5d4
Create a grfx::Loader class and so move large chunks of code out of
...
frontends/screen.C and insets/insetgraphics.C. Leave mathed/preview.C
untouched as an excercise for Andr� ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 14:15:08 +00:00
Angus Leeming
514156adbb
* Split the graphics loader into a frontend and a backend.
...
* Add frontend code to generate and display the pixmap to InsetGraphics.
* Add (much simpler) frontend code to the LyXScreen to show the splash screen
once more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 15:59:10 +00:00
André Pönitz
ef3950d26c
move a comment and an #include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4248 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 12:03:42 +00:00
André Pönitz
551e3864c6
move inset related stuff from src/graphics to src/inset/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4247 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 11:50:04 +00:00
Angus Leeming
c83a7a13b8
Revert previous change as it's bollocks. Herbert, your infallibility is
...
no-more ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4103 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 11:12:02 +00:00
Angus Leeming
7d3e67edc5
(Herbert): use inBP rather than inPixels + further manipulation as this
...
prevents rounding errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4102 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 10:38:31 +00:00
Angus Leeming
b9e3315265
Use the new LyXLength::inBP method to resolve rounding error problems.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3976 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 18:40:20 +00:00
Angus Leeming
82999ab588
Fix crash but problem still remains.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3953 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 20:00:02 +00:00
Angus Leeming
727b3cab86
Store BoundingBox relative to original.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3948 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 16:51:46 +00:00
Angus Leeming
b9a7e87405
Herbert's and my fixes to the graphics inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3906 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 14:49:54 +00:00
Angus Leeming
1a71c1b2d2
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3901 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 10:47:47 +00:00
Angus Leeming
4a964acbe7
Ensure that graphics BoundingBox member variables are initialised.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3899 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 10:24:33 +00:00
Angus Leeming
d11fd01ce7
Don't launch that Alert if the graphics file isn't found. It doesn't work
...
properly for some reason and the message is displayed in the inset anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3836 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 12:14:23 +00:00
Angus Leeming
4f9bed1018
Enable the graphics inset to work correctly with relative file names.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3816 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 16:37:52 +00:00
Lars Gullik Bjønnes
8283e978f8
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Angus Leeming
01df791351
More signed/unsigned stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3604 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 11:50:42 +00:00
Angus Leeming
607ad8d3a7
The graphics inset now has:
...
* lazy loading (don't try and load the image until a request to draw it
is received).
* asynchronous conversion to a loadable format.
* asynchronous loading if the image loader supports it (it doesn't).
* "simple" cropping, rotating and scaling (in that order) of the image
on the LyX screen.
* display in color, grayscale or monochrome.
We also have a forked calls dialog, although it isn't very exciting
yet because only the graphics cache makes use of the forked call controller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3591 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 09:59:52 +00:00