Commit Graph

251 Commits

Author SHA1 Message Date
John Levon
47432f0259 The inset newline patch I sent plus the requisite fixes. I couldn't reproduce a problem.
JMarc, I haven't moved those latex bits into the ::latex method yet though.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6471 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 19:16:42 +00:00
John Levon
b4f4f487d1 The final parsing patch. Tested on a variety of weird and wonderful things
without finding a regression (yet !) :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6465 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 11:52:23 +00:00
John Levon
9c7d4387f2 Use ParList iterator to insert lyxfile and read the document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6457 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 05:46:35 +00:00
John Levon
868f59f137 split out header parsing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6454 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 02:39:12 +00:00
Lars Gullik Bjønnes
30a9dd7f98 add ParagraphList::erase, make mergeParagraph take a Buffer* arg, adjust other funcs to suit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6344 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 20:45:02 +00:00
Lars Gullik Bjønnes
ea59317b9a use the par iterators a bit more, make paragraphs public in insettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6315 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-02 23:44:58 +00:00
John Levon
cc4085e9ff minor method name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6152 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 15:01:06 +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
John Levon
ae87b94515 The big change tracking patch. Changes from posted version :
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global

I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
Jean-Marc Lasgouttes
2868b724d5 small bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 09:03:32 +00:00
Lars Gullik Bjønnes
53274e31ec the string -> char patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00
Dekel Tsur
a981100a91 Support for block alignment in fixed width columns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5690 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-21 12:24:50 +00:00
Jürgen Vigna
1c090286fe Alains patch for setting tabular column global settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5217 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-06 13:41:19 +00:00
Lars Gullik Bjønnes
998c773a16 remove NO_COMPABILITY stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5052 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 07:30:57 +00:00
Lars Gullik Bjønnes
116dbc66eb a new paragraph function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4930 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 15:21:07 +00:00
Lars Gullik Bjønnes
043298544c Rename strip to rtrim
Rename frontStrip to ltrim
Add new trim function.

modify source for this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Jean-Marc Lasgouttes
1dc25c472f time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
Lars Gullik Bjønnes
65d4b13616 layout as layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
Angus Leeming
9548351ef8 Compaq cxx 6.5 will now compile lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 07:57:39 +00:00
John Levon
06f9f0ea08 OK I'll try guii1 again ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4186 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 09:21:32 +00:00
José Matox
a743bb8db8 Docbook related stuff:
* Fixed several typos.
  * Protected emphasis inside code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4125 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 11:56:49 +00:00
Jürgen Vigna
78fd880838 Fixed compatibility read after Lars substitution from \\end_float with
\\end_inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4022 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 12:14:26 +00:00
Jürgen Vigna
be1bd533f3 Fix old tabularcode/ert compatibility read (fix #305).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3860 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-28 13:21:37 +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
Jürgen Vigna
b15efeb111 Collapse the contents of multicolumn cells into one (fix #121).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 15:58:54 +00:00
Jürgen Vigna
53e8fb6000 Fixed rules for setting left/right borders for multicolumns (fix #173).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3765 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 15:27:41 +00:00
Jürgen Vigna
6bb95ff114 Set layout informations on newly created paragraphs and don't resize InsetTexts
LyXText if we didn't create a new LyXText as it is not needed then.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3726 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 13:27:51 +00:00
Jürgen Vigna
f1b78fbf9f Fixed recalculate of multicolumns on screen (fix #150).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3656 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 11:26:17 +00:00
Lars Gullik Bjønnes
b9288969ec remove lowercase, better layout handling and some variable renameing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:25:07 +00:00
Jürgen Vigna
57bb1b916c Starting fixing multicolumns draw on screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3629 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 16:04:10 +00:00
Jürgen Vigna
635fea0855 Addressing #212 bloat of fileformat for tabulars. More than this I'm not
willing to do on this for 1.2.0. Anyway this reduces TableExamples.lyx from
107kb to 66kb.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3585 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 08:24:48 +00:00
José Matox
5539328a35 Long tables fixed in docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3581 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-21 15:55:49 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Jean-Marc Lasgouttes
bd31d0cb5c fixes to biblio and insetgraphics from herbert; disable LAYOUT_PARAGRAPH when needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 16:07:42 +00:00
Jean-Marc Lasgouttes
34e27f8c26 fix bugs 200, 201, 196
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3421 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 20:24:04 +00:00
Jürgen Vigna
9c58df4a88 Small fix in lyxrc and fixed #167 and #181.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3394 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 16:07:09 +00:00
Dekel Tsur
b44c7a6767 Fix (partially) font bug in compatability code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3345 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 18:40:05 +00:00
Jürgen Vigna
8aa3b4fc77 Small fix in AppendColumn.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3276 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-02 14:04:45 +00:00
Jürgen Vigna
9987ffaee8 More ascii-export fixes and when making copy of single tabular cells now the
data is copied as tab separated values to the clipboard (not when copiing the
whole paragraph!).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3268 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-27 15:54:25 +00:00
Jürgen Vigna
feed97be54 Finished new Longtable options support. Please head that the tabular
save format is changed and the version number increased to 3. Please
report all unexpected behaviour.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3254 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 14:52:15 +00:00
Jürgen Vigna
ff36293942 More fixes for longtable options, still more to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3253 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 21:25:34 +00:00
Jürgen Vigna
caf1ad7d8d Fixed small problem in InsetText and start for a better tabular layout
(longtable options and better putting the width fields with v.alignment)
This is not finished yet!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3252 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 16:13:21 +00:00
Jürgen Vigna
06b132ec14 Fixed memory bug in append column.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3226 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 13:40:04 +00:00
Jean-Marc Lasgouttes
bf18321b43 use LyXLength for tabular pwidth
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3192 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 17:26:52 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Jürgen Vigna
9d2abd4505 More fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3143 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:10:19 +00:00
Jürgen Vigna
c130d5dbfd Hopefully fixed the redo problems with insets!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3127 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 16:10:24 +00:00
Jean-Marc Lasgouttes
9ecdf1c6c3 remove joke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3126 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 15:15:51 +00:00
Jean-Marc Lasgouttes
39eec46bd3 kb3 patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3120 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 13:25:38 +00:00
Jean-Marc Lasgouttes
6a660a48b7 fix line tracking in tabular latex generation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3094 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 14:27:08 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +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
Jürgen Vigna
e3052dc18b Changes to the longtable support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2934 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 15:07:39 +00:00
José Matox
8cd5b4a291 Fixed longtable export.
Added a wrapper when a table is not inside a float.
Small update for date style, allow it to be left aligned.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2928 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 07:43:34 +00:00
José Matox
922ed31d7a Cleaned the preamble generation for linuxdoc/docbook.
Added lyx generated SGML entities (now only for the menu separator).
Cleaned the code from XML-ism.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2921 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:42:14 +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
Jürgen Vigna
86e4a9bc8a More fixes to various bug reports.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2453 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 13:29:13 +00:00
Lars Gullik Bjønnes
a0bf0835e5 more funcs to lowerchar, adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2428 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 19:12:46 +00:00
Lars Gullik Bjønnes
54e7ddb5d9 get rid of NO_LATEX, split some methods, small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2417 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 18:28:11 +00:00
Lars Gullik Bjønnes
28f47d9c7e *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2392 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 22:14:45 +00:00
Asger Ottar Alstrup
da76673568 Reduced header file includes somewhat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2385 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 15:34:18 +00:00
Jürgen Vigna
6189f7ef55 Small fix for spellchecking in tabulars. Removed a check and put an assert
in LyXTabular::GetCellNumber.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2266 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-18 08:38:14 +00:00
Jürgen Vigna
2c5ab94d01 Implemented spellchecking inside insets. Small fixes. Baruchs fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 15:39:12 +00:00
Lars Gullik Bjønnes
3aa411d883 make NO_LATEX default, set ut compability stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2205 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-08 12:52:16 +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
Jean-Marc Lasgouttes
e40120ce1c remove one more forms.h ; fix cache miss in TabularInset::GetMaxWidth
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2173 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 14:15:39 +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
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Jean-Marc Lasgouttes
07ea5f51f0 compilation fixes for compaq cxx + small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2079 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 10:53:24 +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
Jürgen Vigna
4bcf99c809 Various fixes to Tabular, InsetTabular and InsetText. Fixed left border for
multicolumn cells, fixed repaint and recalc issues of insets, fixed scrolling
of large tabulars, ADDED settings of fonts on selections, more minor stuff
I cannot remember right now, more to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2027 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-28 15:11:24 +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
Lars Gullik Bjønnes
4c6091b63f remove !NEW_INSETS cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1980 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 14:31:33 +00:00
Jürgen Vigna
ceeb10f1b0 Reinsert the changes Lars reverted!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1969 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-27 14:03:25 +00:00
Lars Gullik Bjønnes
a464b9b97d reversed jug-bug, will apply pieces later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1958 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-26 17:47:40 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Jürgen Vigna
69204a88fd Fixed some redraw problems in InsetText/Tabular/Collapsable. Fixed problems
regarding automatic scrolling of Tabulars (still something wrong). Broken
MousePointer inside InsetText&co (hopefully easy to fix), but I still commit
so that people can have a look at it. It also should enhance speed of redraw
and minimize redraws (still some optimization possible).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1915 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-13 14:49:58 +00:00
Lars Gullik Bjønnes
4314e0e5cf simplify some, ws, begin minibuffer simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1905 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-06 12:47:50 +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
Lars Gullik Bjønnes
d1b9014649 NEW_INSETS changes (reformatting)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1892 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-04 21:47:26 +00:00
Jürgen Vigna
63d5070bc3 Reindent files with tab-stops (instead of 4 spaces). It is allowed to change
now the indent in files owned by myself to tabstops if I did miss some!
(but please set your tab-width to 4 ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1872 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-02 14:02:58 +00:00
Jürgen Vigna
f284f1c8bc Added %x support in vspace.C (LyXLenght) and use it for the minipages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1853 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 15:00:20 +00:00
Jürgen Vigna
b8fd45fd39 Some small fixes and the mouse now works for minipages again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1814 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 15:48:19 +00:00
Lars Gullik Bjønnes
8c26f725e8 add coments/questions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1810 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 08:26:36 +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
Lars Gullik Bjønnes
5115349d11 try out anonnamespace, detfault to expanded minipage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1789 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-17 02:06:21 +00:00
Jürgen Vigna
3de10d0174 Added Minipage-Dialog, small fix in LyXTabular::l_getline (removing \r).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1787 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 15:15:32 +00:00
Jürgen Vigna
898a191c48 Fixed \r reading for tabulars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1758 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-14 16:10:15 +00:00
Lars Gullik Bjønnes
8cb2e519b3 remove Last when NEW_INSETS is defined
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1730 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-11 00:21:13 +00:00
Lars Gullik Bjønnes
b95e8f250d some cascading name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1720 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-09 00:56:42 +00:00
Jean-Marc Lasgouttes
bf6b9d1e18 some source cleanup from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1654 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-01 15:57:10 +00:00
Lars Gullik Bjønnes
9a3176581d small cleanup, doxygen, formatting changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1521 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-16 09:25:43 +00:00
Jürgen Vigna
a30e709a3b Some InsetTabular and -Text fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1501 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 08:38:21 +00:00
Lars Gullik Bjønnes
d74498be25 remove some commented code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1491 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-12 16:41:27 +00:00
Lars Gullik Bjønnes
4e839f35c6 lowercase tabular identifiers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1312 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-10 18:18:30 +00:00
Lars Gullik Bjønnes
26db00333d support both version 1 and 2 of tabular, some other small changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1309 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-09 20:17:06 +00:00
Jürgen Vigna
fe00b6f1a2 Changed tabular-file-format + fixes in tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1308 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-09 16:23:48 +00:00
Jürgen Vigna
12747e1af9 Dekels tabular/textinset patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1305 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-08 16:14:09 +00:00
Jürgen Vigna
16a5be3ecc More fixes to insettabular/text (and some missing features added).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1299 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-03 16:04:05 +00:00
Jürgen Vigna
2affcff7d9 Fixes for/in insettabular/text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1297 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-02 16:06:14 +00:00
Jürgen Vigna
82ce6a82ef Fixed various "missing features" in the tabular/textinset code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1286 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-22 14:44:29 +00:00
Jean-Marc Lasgouttes
7d6a0f9506 Crash fix from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1269 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-07 15:30:53 +00:00
Lars Gullik Bjønnes
360cdc0b9f Angus patch, + allow to set cursor color + constify more local variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1226 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 15:46:13 +00:00
Lars Gullik Bjønnes
d1e95f33c4 compiling not tested. two patches from angus with some small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1220 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-15 18:02:45 +00:00
Lars Gullik Bjønnes
676e29b916 fix parse error in FormPreferences, make LyX be able to compile with gcc 2.97, use mktemp if mkstemp is not available
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1218 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-15 03:22:08 +00:00
Lars Gullik Bjønnes
adaef99e60 some formatting changes some simplifications and removal of dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1198 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-04 10:00:12 +00:00
Jürgen Vigna
cf6dacdb0a Faster update for char insert in insettext/tabular, fix from Yves, removed
faxcode from configure.cmd.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1185 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-02 16:19:53 +00:00
Lars Gullik Bjønnes
235f7c1d2a patch from Dekel + some simplifications
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1175 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-30 21:53:29 +00:00
Jürgen Vigna
009d5b5f2c Changed int * to vector<int>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1170 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-27 13:58:18 +00:00
Jean-Marc Lasgouttes
d46b4d4360 Jose's DocBook tables patch; Angus latest preference patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1169 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-27 10:04:51 +00:00
Lars Gullik Bjønnes
0cbe2e8189 return string() instead of 0, make scope of int cell smaller, update no.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1145 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-23 22:36:52 +00:00
Jürgen Vigna
8fd0a9f2d7 Finally text-insets should draw correctly (also selections), some small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1140 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-19 09:11:39 +00:00
Lars Gullik Bjønnes
e7401bd8f2 use more std::functors add some of my own, some change to fl_display etc. read the change log...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1102 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-11 21:06:43 +00:00
Jürgen Vigna
58392ef907 Added Ascii export for tabulars + small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1094 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-10 10:38:11 +00:00
Allan Rae
0e86ed5583 Kayvan and Dekel's patch + some small fixes to xforms/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1065 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-02 04:21:44 +00:00
Jürgen Vigna
74a46e0474 Various fixes and some "missing features" from Dekels Mail in insettext/
tabular fixe.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1052 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-28 14:05:24 +00:00
Lars Gullik Bjønnes
d705c75da9 no time to finish compile, fixes to cxx warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1050 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-27 18:13:30 +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
d6665cba42 get rid of dead code, some new functions constify variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1041 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 13:54:57 +00:00
Jürgen Vigna
e1cd54a1a2 Changed KDE FormIndex to use qtarch generated dialog, added FromParagraph
in the GUII xforms tree, small memory leak fix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1038 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-25 15:59:27 +00:00
Jürgen Vigna
63f7e47a62 Angus inseterror patch + Dekel mathed fix + added language_country code and
support this for pspell.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1033 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-22 15:09:51 +00:00
Lars Gullik Bjønnes
4585597f47 add a setDefaults to GUIRuntime + some const changes in tabular + some c_str to work in spellchecker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1027 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-18 19:41:52 +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
4ad21513e9 Few insettabular/text fixes (added cut&paste for tabulars) + Markos GNOME patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@985 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-23 15:18:19 +00:00
Jürgen Vigna
612a097878 Better parbox use in tabulars, add of scrolling of inset and automatic
scrolling of tabularinsets. Much better update performance in inset-tabular.
Still some stuff todo.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@955 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-07 15:21:05 +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
35cf7dcb2b NEW_INSETS changes, + some small things in insettabular.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@902 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-19 17:16:27 +00:00
Jürgen Vigna
9e7821d35b Added support for vertical aligment (using array-package) and also better
support for setting header/footer in longtables. The Inset-Tabular-Layout
is now fully functionall!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@889 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-17 14:31:07 +00:00
Jürgen Vigna
eb7220abe6 Lots of changes for update of TextInsets, still some problems!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@854 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-04 11:30:07 +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
Jürgen Vigna
572556e94f Various updates for the update-handling and redrawing of insets(text).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@830 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-22 14:55:46 +00:00
Lars Gullik Bjønnes
6bba977f42 FILMagain changes (will need some work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00
Lars Gullik Bjønnes
2889b5fd3e some small stuff before the meeting begins for real
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@806 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-08 23:16:16 +00:00
Jürgen Vigna
195f2e511d InsetTabular should now be feature-equal to table-support, small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@775 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-26 13:09:14 +00:00
Jürgen Vigna
0ee6cee81b Various fixes and added some functionallity to insettabular.
See ChangeLog for more info.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@764 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-22 15:20:02 +00:00
Jürgen Vigna
40fe3a66a2 Fixed read of LyXTable (\end_deeper should mark an end).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@761 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-22 08:47:41 +00:00
Lars Gullik Bjønnes
94fd1a0628 some small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@745 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-19 19:46:23 +00:00
Jürgen Vigna
102d2eaa29 Last fixes for old-table-format-read, fixes in display of text-insets and
in setting latex-features.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@741 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-19 10:32:05 +00:00
Lars Gullik Bjønnes
9ece8ba258 whitespace and pass by const reference and use Inset::Code instead of char as type
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@739 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-18 13:26:04 +00:00
Jürgen Vigna
fa6aa115e7 Various warnings fixed, added preliminary read of old table format and
fixed a bug when removing error-insets with AutoDeleteInsets().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@736 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-17 14:43:09 +00:00
Jürgen Vigna
9f509a6816 Fixed undo handling for tabular-insets and update TabularLayout on
cursor move.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@734 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-16 15:17:19 +00:00
Jürgen Vigna
756af02794 Lots of fixes for text/tabular insets. Now tabular insets work quite good
and you have now automatic row-breaking for cells with width! Also added
the fix from Denkel. See ChangeLog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@732 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-15 14:49:36 +00:00
Lars Gullik Bjønnes
4c7916d1cd some small tabular changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@723 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-05 13:46:34 +00:00
Jean-Marc Lasgouttes
272b7eb4fc Add "using" directive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@721 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-05 12:39:38 +00:00
Jürgen Vigna
455bafe129 Now we are using std::vector instead of arrays
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@719 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-05 12:14:16 +00:00
Jean-Marc Lasgouttes
3c8aba3b55 clear()->erase() ; lots of using directives for cxx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@712 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-04 10:57:00 +00:00
Jürgen Vigna
570e57d5b9 Commiting my changes till now. Mainly (only?) changes to make text-insets and
tabular insets work. After all the complaints about the tabular-save format
I redid it completely, have a look ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@711 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-04 08:14:34 +00:00