Commit Graph

140 Commits

Author SHA1 Message Date
Bo Peng
b89d3f2cc2 Embedding: add LFUN_BUFFER_TOGGLE_EMBEDDING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 20:06:44 +00:00
Enrico Forestieri
446df27d4e Fix annoying menu warning. Please, test shortcuts before using them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 15:05:36 +00:00
Uwe Stöhr
7075eaadef The huge URL patch:
- rename the lfun to href-insert.png
- rename the files to Hyperlink...
- the former URLUi produces now \href commands (hyperref)

Only missing thing is the lyx2lyx conversion routine - this will be done by Richard

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:06:09 +00:00
Martin Vermeer
1ecd2189f2 Dissolve CharStyle initial implementation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20944 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 12:59:44 +00:00
Bo Peng
5d2cb28b0a Add lib/doc/Shortcuts.lyx and menu entry Help->Shortcuts. Please help complete this document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20912 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:55:31 +00:00
Uwe Stöhr
2492def7da provide wrap tables based on the current wrap float implementation
file format increased to 290


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:07:01 +00:00
Jürgen Spitzmüller
85f83a9df8 * lib/ui/stdmenus.inc:
- tag "Box" entry with [[Menu]] (bug 4196)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20321 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 14:19:23 +00:00
Martin Vermeer
ef743fc5d5 Add XML elements as a third flex inset variant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20105 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 14:45:17 +00:00
Bo Peng
cc6fe67c35 Embedding feature patch 3: basic gui support
*  lib/ui/stdmenus.inc: add menu item embedded files
	*  src/BufferParams.cpp: set default embedded status to false
	*  src/EmbeddedFiles.h|cpp: add a few member functions
	*  src/frontends/qt4/Dialogs.cpp: add embedding dialog
	*  src/frontends/qt4/GuiEmbeddedFiles.h|cpp: embedding dialog
	*  src/frontends/qt4/ui/EmbeddedFilesUi.ui: embedding dialog
	*  src/frontends/controllers/ControlEmbeddedFiles.h|cpp: embedding dialog control
	*  src/frontends/qt4/Makefile.am: build system update
	*  src/frontends/controllers/Makefile.am
	*  development/scons/scons_manifest.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 15:42:35 +00:00
Martin Vermeer
540f3564f0 Inset configurability: separate charstyle and custom insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19769 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 12:45:40 +00:00
Michael Schmitt
a6c9a208ca * lib/ui/stdmenus.inc: use Capital letters in menu entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 19:02:28 +00:00
Bo Peng
e27da75af1 Listings ui changes from Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19384 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 21:18:21 +00:00
Bo Peng
95dbcd40f9 Enable File -> Revert when the file is externally modified, rename this menu item to File -> Revert to saved, and check if the .lyx file has been externally modified when a buffer is saved. (Bugs 3766 and 4114)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 20:46:22 +00:00
Richard Heck
a984321131 Introduce LFUN to save all modified files, and add menu entries.
Patch from Guillaume Pothier for 1.4.x adapted by me to current trunk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 15:34:02 +00:00
Richard Heck
2ac6d3e9c2 Add menu entries for Framed and Shaded notes, and re-arrange a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18698 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-07 14:10:13 +00:00
Jean-Marc Lasgouttes
24fb9c5214 * src/MenuBackend.cpp (expandBranches): when there is no branch, just
insert a no-op entry "No Branch in Document!". Makes the branch
	feature more discorevable
	(expandDocuments, expandFormats, expandFloatListInsert):
	(expandCharStyleInsert, expandToc, expandBranches): fix message
	when no document is open.

	* lib/ui/stdmenus.inc: the insert>branch menu does not need to be 
	optional.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18591 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 12:07:48 +00:00
Michael Schmitt
46690e6bb8 * lib/ui/stdmenues.inc: rename "Table Of Contents" to "Outline"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18518 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-26 12:41:39 +00:00
Edwin Leuven
630fe09637 - introduces toolbar_toggle lfun
- adds a "toggle math toolbar" and "toggle table toolbar" buttons to the main toolbar
 (i also moved "toggle toc" there)
- adds a "toggle math panels" button to the math toolbar
- reshuffles the Big Operators panel to avoid confusion with the sum icon on the math toolbar
- adds some icons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 22:08:07 +00:00
Bo Peng
4ce743a0a7 Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
	* src/insets/Inset.h,cpp: LISTINGS_CODE
	* src/insets/InsetInclude.cpp: handle \lstinputlisting
	* src/insets/InsetListings.h,cpp: new listings inset
	* src/insets/InsetListingsParams.h,cpp: parameters from listings package
	* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
	* src/Bidi.cpp: handle LISTINGS_CODE
	* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
	* src/frontends/qt4/ui/ListingsUi.ui: new dialog
	* src/frontends/qt4/ui/IncludeUi.ui: update UI
	* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
	* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
	* src/frontends/qt4/QListings.h,cpp: new listings inset
	* src/frontends/qt4/Dialogs.cpp: new listings dialog
	* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
	* src/frontends/controllers/ControlListings.h,cpp: new listings inset
	* src/LyXFunc.cpp: handle LISTING_CODE
	* src/Paragraph.cpp: handle LISTING_CODE
	* src/factory.cpp: new listings inset
	* src/CutAndPaste.cpp: handle LISTINGS_CODE
	* src/LaTeXFeatures.cpp: require listings
	* src/Text3.cpp: Handle LISTINGS_CODE
	* src/lfuns.h: add LFUN_LISTING_INSERT
	* src/Buffer.cpp: change lyx file format to 269
	* src/BufferParams.h,cpp: add listings_params to preamble
	* lib/lyx2lyx/LyX.py: lyx2lyx 
	* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
	* lib/ui/stdmenus.inc: new menu item (no shortcut!)
	* src/insets/Makefile.am: update autotools
	* src/frontends/controllers/Makefile.am
	* src/frontends/qt4/Makefile.dialogs
	* src/frontends/qt4/Makefile.am
	* po/POTFILES.in: a few more translatable files.
	* development/scons/scons_manifest.py: scons build system
	* development/FORMAT: document format changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Jürgen Spitzmüller
699fd5a7b4 * src/lfuns.h:
* src/LyXAction.cpp:
* src/LyXFunc.cpp:
	- implement new LFUN_DIALOG_TOGGLE
	- remove obsolete LFUN_TOC_VIEW

* lib/ui/classic.ui:
* lib/ui/stdmenus.inc:
	- use dialog-toggle for toc and view-source

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 14:29:49 +00:00
Michael Schmitt
295eea310e replace term "Glossary" by "Nomenclature"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:21:00 +00:00
Edwin Leuven
2c0c3491d9 * remove math panel menu entry and allow auto toggling of panel toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17878 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 08:30:41 +00:00
Michael Schmitt
e28e0e941c * lib/ui/stdtoolbars.inc: group all delimiter buttons; strip obsolete "math" prefix
* lib/ui/stdmenues.inc: move math panel to the end of the submenu; strip obsolete
	"math" prefix (everything is math-related in this submenu)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:29:01 +00:00
Richard Heck
aa87b87bf9 Added menu entries for math delimiter and matix dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17770 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 22:04:08 +00:00
Bo Peng
6fc7d47a5f Restore old bookmark behaviors (stop using bookmark queue)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 03:41:55 +00:00
Michael Schmitt
cb6cacaa6a * ui/stdmenues.inc: add missing ellipsis for "glossary entry" menu entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17617 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 19:53:05 +00:00
Uwe Stöhr
74c4cede85 rename ExtendedInsets to Embedded Objects as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 00:05:50 +00:00
Michael Schmitt
b218ab82d4 * lib/ui/stdmenus.ui: add "Select All" to edit menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16954 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 22:16:47 +00:00
Michael Schmitt
ec4b87dd28 * lib/ui/stdmenus.inc: remove ellipsis (...) for Caption inset, because no dialog opens
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 22:01:35 +00:00
Abdelrazak Younes
500a5f959f 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
2007-01-30 13:23:21 +00:00
Michael Schmitt
aa1efab525 * lib/ui/stdmenus.inc: change "Figures, Tables, Floats, Notes, Boxes" to
"Special Insets"; the former menu entry is too lengthy


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 14:19:57 +00:00
Uwe Stöhr
a0936c4cf3 ExtendedInsets:
- remove two unneeded images
- some corrections
- use a proper menu entry name because "Insets" says nothing to the user

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 03:03:44 +00:00
Martin Vermeer
8f7b5e4952 * stdmenus.inc: change wording of "as Lines", "as Paragraphs"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16742 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 07:23:58 +00:00
Michael Schmitt
1f7a1257f1 * change LFUN file-insert-ascii to file-insert-plaintext
* change LFUN file-insert-ascii-para to file-insert-plaintext-para
* change LyXRC::RC_ASCIIROFF_COMMAND to LyXRC::RC_PLAINTEXT_ROFF_COMMAND
* change LyXRC::RC_ASCII_LINELEN to LyXRC::RC_PLAINTEXT_LINELEN
* replace "ascii" by "plaintext" in method names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 22:49:14 +00:00
Michael Schmitt
9c09f34da0 * lib/*: rename Extended-Insets to ExtendedInset
* development/scons/scons_manifest.py: add es_ExtendedInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 18:17:56 +00:00
Uwe Stöhr
f41eedd7ee - new documentation
- images used in the new documentation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 16:41:42 +00:00
Michael Schmitt
d3216ba624 * lib/ui/stdmenus.inc: use marginally better shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 23:17:44 +00:00
Michael Schmitt
904ccfa5bd * lib/ui/stdmenus.inc: remove "paste " from "paste selection as xxx"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 22:00:43 +00:00
Bo Peng
b7f4f88f2f lib/ui/stdmenus.inc: change 'Clipboard as xxx' to 'Plain Text as xxx'. I still think we should remove 'Selection as xxx'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 22:52:04 +00:00
Michael Schmitt
8c85719080 * lib/ui/stdmenus.inc:
* lib/ui/stdmenus.ui: rename file in order not to confuse users
* lib/ui/stdtoolbars.inc:
* lib/ui/stdtoolbars.ui: rename file in order not to confuse users

* development/scons/scons_manifest.py: 
* lib/doc/de_Customization.lyx:
* lib/Makefile.am:
* lib/ui/classic.ui:
* lib/ui/default.ui: adjust
 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16549 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 13:42:15 +00:00