lyx_mirror/src/insets
Jürgen Spitzmüller d2a4c97ab8 Merge the diverse newpage insets into one.
* src/Buffer.cpp:
	- file format change to 323
* development/FORMAT:
	- document file format change

* src/insets/InsetNewpage.cpp:
	- the former four separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the various kinds.

* factory.cpp:
	- The newpage insets are now being generated with 
	   newpage-insert [newpage|pagebreak|clearpage|cleardoublepage]

* src/Text.cpp:
	- Newpage inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
	- remove LFUN_PAGEBREAK_INSERT, LFUN_CLEARPAGE_INSERT
	  and LFUN_CLEARDOUBLEPAGE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newpage insets.

* lib/ui/stdmenus.inc:
	- adapt menu and add context menu to switch between newpage variants.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 09:26:03 +00:00
..
ExternalSupport.cpp Embedding: add embedding support for InsetExternal. (params["embed"] is added) 2008-01-08 16:42:28 +00:00
ExternalSupport.h Fix bug 3240 2007-02-15 21:22:40 +00:00
ExternalTemplate.cpp header cleanup 2008-02-18 07:14:42 +00:00
ExternalTemplate.h boost/utility -> boost/noncopyable 2007-09-30 15:47:00 +00:00
ExternalTransforms.cpp header cleanup 2008-02-18 07:14:42 +00:00
ExternalTransforms.h rename/merge LyXLength related stuff 2007-04-28 12:58:49 +00:00
Inset.cpp Help us out here. 2008-03-23 14:40:29 +00:00
Inset.h Change the signature of forceEmptyLayout(), so that we can pass a cell index with it. We'll need this to get tables right. 2008-03-19 16:21:33 +00:00
InsetBibitem.cpp compilation fixes 2008-03-17 21:11:17 +00:00
InsetBibitem.h Introduce Inset::isLabeled() in order to avoid reimplementing Inset::initView() everywhere we need a labels update. 2008-03-10 15:30:32 +00:00
InsetBibtex.cpp Fix bug 4651. Bo, if you read this: Is there a cleaner way to do this, so that we can set parameters the way we used to? i.e., via setParam(p) here? rather than having to go through these hoops in updateParam()? 2008-03-25 05:13:38 +00:00
InsetBibtex.h Embedding: when an inset with an embedded file is copied to another buffer, the embedded file needs to be copied, to an external file or to the temporary directory of that buffer. Otherwise, pasted insets will become invalid when the source buffer is closed and the embedded files are removed. 2008-03-15 04:48:31 +00:00
InsetBox.cpp Some context menu work: 2008-03-24 13:33:48 +00:00
InsetBox.h Some context menu work: 2008-03-24 13:33:48 +00:00
InsetBranch.cpp try to pass a Buffer & to inset construction if some buffer(param) 2008-03-04 22:28:18 +00:00
InsetBranch.h Fix branch insets. 2008-03-24 19:18:18 +00:00
InsetCaption.cpp * src/insets/InsetCaption.cpp: 2008-03-25 05:33:39 +00:00
InsetCaption.h Change the signature of forceEmptyLayout(), so that we can pass a cell index with it. We'll need this to get tables right. 2008-03-19 16:21:33 +00:00
InsetCitation.cpp earder cleanup; cosmetics; 2008-03-15 00:02:41 +00:00
InsetCitation.h Introduce Inset::isLabeled() in order to avoid reimplementing Inset::initView() everywhere we need a labels update. 2008-03-10 15:30:32 +00:00
InsetCode.h Another attempt at 2178. This is a "minimal" patch designed to fix the bug with the minimum amount of new code. A better fix, suggested by Andre, would merge InsetTableCell and CellData into one class, in which case InsetTableCell::cell_data_ can be removed. A definite plus. I'll do that later if this works. But let's get it right first. 2008-03-21 17:45:14 +00:00
InsetCollapsable.cpp Merge the diverse newpage insets into one. 2008-03-25 09:26:03 +00:00
InsetCollapsable.h * make macros global. This is conceptionally much easier for the user, 2008-03-10 12:49:02 +00:00
InsetCommand.cpp Some context menu work: 2008-03-24 13:33:48 +00:00
InsetCommand.h General support for InsetCommand context menu. For this to work properly I had to disable all actions triggered by mouse right-clicking. This was bad ui in any case. 2008-03-09 11:22:39 +00:00
InsetCommandParams.cpp Change strings. 2008-03-18 23:35:57 +00:00
InsetCommandParams.h Some context menu work: 2008-03-24 13:33:48 +00:00
InsetEnvironment.cpp Changes LayoutList from a vector<LayoutPtr> to a vector<Layout>. 2008-03-06 20:01:30 +00:00
InsetEnvironment.h Changes LayoutList from a vector<LayoutPtr> to a vector<Layout>. 2008-03-06 20:01:30 +00:00
InsetERT.cpp Changes LayoutList from a vector<LayoutPtr> to a vector<Layout>. 2008-03-06 20:01:30 +00:00
InsetERT.h Change the signature of forceEmptyLayout(), so that we can pass a cell index with it. We'll need this to get tables right. 2008-03-19 16:21:33 +00:00
InsetExternal.cpp Move LFUN_GRAPHICS_EDIT and LFUN_EXTERNAL_EDIT from LyXFunc.cpp to BufferView.cpp so that a valid inset can be retrieved and called upon; add context-menu for InsetGraphics and InsetListings 2008-03-24 04:27:43 +00:00
InsetExternal.h Embedding: when an inset with an embedded file is copied to another buffer, the embedded file needs to be copied, to an external file or to the temporary directory of that buffer. Otherwise, pasted insets will become invalid when the source buffer is closed and the embedded files are removed. 2008-03-15 04:48:31 +00:00
InsetFlex.cpp try to pass a Buffer & to inset construction if some buffer(param) 2008-03-04 22:28:18 +00:00
InsetFlex.h Change the signature of forceEmptyLayout(), so that we can pass a cell index with it. We'll need this to get tables right. 2008-03-19 16:21:33 +00:00
InsetFloat.cpp make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetFloat.h * make macros global. This is conceptionally much easier for the user, 2008-03-10 12:49:02 +00:00
InsetFloatList.cpp Remove TextClassPtr without losing the type safety it provided. 2008-02-28 01:42:02 +00:00
InsetFloatList.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetFoot.cpp Change the interface to a paragraph's layout. We still store a LayoutPtr, but now privately, and make a Layout const & available to clients. 2008-03-06 21:31:27 +00:00
InsetFoot.h make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetFootlike.cpp make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetFootlike.h * make macros global. This is conceptionally much easier for the user, 2008-03-10 12:49:02 +00:00
InsetGraphics.cpp Move LFUN_GRAPHICS_EDIT and LFUN_EXTERNAL_EDIT from LyXFunc.cpp to BufferView.cpp so that a valid inset can be retrieved and called upon; add context-menu for InsetGraphics and InsetListings 2008-03-24 04:27:43 +00:00
InsetGraphics.h Move LFUN_GRAPHICS_EDIT and LFUN_EXTERNAL_EDIT from LyXFunc.cpp to BufferView.cpp so that a valid inset can be retrieved and called upon; add context-menu for InsetGraphics and InsetListings 2008-03-24 04:27:43 +00:00
InsetGraphicsParams.cpp Continue working on the embedding feature. An additional parameter updateFile is passed to 2008-03-09 06:05:22 +00:00
InsetGraphicsParams.h ** subfig support ** 2008-03-02 11:30:50 +00:00
InsetHyperlink.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetHyperlink.h progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetInclude.cpp Fix silly mistake uncovered by Helge. 2008-03-16 15:49:41 +00:00
InsetInclude.h add "Embedded Files" to Navigator. 2008-03-11 09:04:09 +00:00
InsetIndex.cpp make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetIndex.h make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetInfo.cpp Change strings. 2008-03-18 23:35:57 +00:00
InsetInfo.h start moving MenuBackend to the frontend 2008-03-06 21:50:27 +00:00
InsetLabel.cpp * Buffer::getLabelList(): Speed up and simplify by using the tocBackend. 2008-03-07 19:46:04 +00:00
InsetLabel.h Introduce Inset::isLabeled() in order to avoid reimplementing Inset::initView() everywhere we need a labels update. 2008-03-10 15:30:32 +00:00
InsetLayout.cpp Make decoration default to, uh, Default. Flex insets will then default to conglomerate. 2008-03-21 18:49:23 +00:00
InsetLayout.h Move the enum into InsetLayout. 2008-02-22 16:24:55 +00:00
InsetLine.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetLine.h These don't seem to be causing crashes at the moment, but as a matter of long-term stability, it seems worth cloning them the "canonical" way. 2008-02-29 20:16:04 +00:00
InsetListings.cpp Move LFUN_GRAPHICS_EDIT and LFUN_EXTERNAL_EDIT from LyXFunc.cpp to BufferView.cpp so that a valid inset can be retrieved and called upon; add context-menu for InsetGraphics and InsetListings 2008-03-24 04:27:43 +00:00
InsetListings.h Move LFUN_GRAPHICS_EDIT and LFUN_EXTERNAL_EDIT from LyXFunc.cpp to BufferView.cpp so that a valid inset can be retrieved and called upon; add context-menu for InsetGraphics and InsetListings 2008-03-24 04:27:43 +00:00
InsetListingsParams.cpp compilation fixes 2008-03-17 21:11:17 +00:00
InsetListingsParams.h Add bypass validation checkboxes to listings related dialogs 2007-06-12 17:10:28 +00:00
InsetMarginal.cpp make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetMarginal.h make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetNewline.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetNewline.h earder cleanup; cosmetics; 2008-03-15 00:02:41 +00:00
InsetNewpage.cpp Merge the diverse newpage insets into one. 2008-03-25 09:26:03 +00:00
InsetNewpage.h Merge the diverse newpage insets into one. 2008-03-25 09:26:03 +00:00
InsetNomencl.cpp progress on buffer-reference-in-insets. beware of instabilities... 2008-02-27 20:43:16 +00:00
InsetNomencl.h More clone safety. 2008-02-29 20:17:28 +00:00
InsetNote.cpp Some context menu work: 2008-03-24 13:33:48 +00:00
InsetNote.h Some context menu work: 2008-03-24 13:33:48 +00:00
InsetOptArg.cpp make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetOptArg.h make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetQuotes.cpp earder cleanup; cosmetics; 2008-03-15 00:02:41 +00:00
InsetQuotes.h earder cleanup; cosmetics; 2008-03-15 00:02:41 +00:00
InsetRef.cpp Introduce Inset::isLabeled() in order to avoid reimplementing Inset::initView() everywhere we need a labels update. 2008-03-10 15:30:32 +00:00
InsetRef.h Introduce Inset::isLabeled() in order to avoid reimplementing Inset::initView() everywhere we need a labels update. 2008-03-10 15:30:32 +00:00
InsetSpace.cpp Some context menu work: 2008-03-24 13:33:48 +00:00
InsetSpace.h Some context menu work: 2008-03-24 13:33:48 +00:00
InsetSpecialChar.cpp These don't seem to be causing crashes at the moment, but as a matter of long-term stability, it seems worth cloning them the "canonical" way. 2008-02-29 20:16:04 +00:00
InsetSpecialChar.h These don't seem to be causing crashes at the moment, but as a matter of long-term stability, it seems worth cloning them the "canonical" way. 2008-02-29 20:16:04 +00:00
InsetTabular.cpp remove cruft (simplify code) 2008-03-24 14:03:00 +00:00
InsetTabular.h remove cruft (simplify code) 2008-03-24 14:03:00 +00:00
InsetText.cpp Another attempt at 2178. This is a "minimal" patch designed to fix the bug with the minimum amount of new code. A better fix, suggested by Andre, would merge InsetTableCell and CellData into one class, in which case InsetTableCell::cell_data_ can be removed. A definite plus. I'll do that later if this works. But let's get it right first. 2008-03-21 17:45:14 +00:00
InsetText.h Another attempt at 2178. This is a "minimal" patch designed to fix the bug with the minimum amount of new code. A better fix, suggested by Andre, would merge InsetTableCell and CellData into one class, in which case InsetTableCell::cell_data_ can be removed. A definite plus. I'll do that later if this works. But let's get it right first. 2008-03-21 17:45:14 +00:00
InsetTOC.cpp make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetTOC.h make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetVSpace.cpp Some context menu work: 2008-03-24 13:33:48 +00:00
InsetVSpace.h Some context menu work: 2008-03-24 13:33:48 +00:00
InsetWrap.cpp make code look a bit more uniform 2008-03-05 00:21:05 +00:00
InsetWrap.h * make macros global. This is conceptionally much easier for the user, 2008-03-10 12:49:02 +00:00
MailInset.cpp header cleanup 2008-02-18 07:14:42 +00:00
MailInset.h rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
RenderBase.h remove spurious include 2007-11-23 22:41:07 +00:00
RenderButton.cpp Splitup Font in saner bits: 2007-10-28 18:51:54 +00:00
RenderButton.h * Inset: 2007-09-21 20:39:47 +00:00
RenderGraphic.cpp Embedding: display a pin at the top left corner of embedded figures 2008-01-08 16:22:05 +00:00
RenderGraphic.h Embedding: display a pin at the top left corner of embedded figures 2008-01-08 16:22:05 +00:00
RenderPreview.cpp 'using namespace lyx::support' instead of 'using support::xxx' 2007-12-12 18:57:56 +00:00
RenderPreview.h * Inset: 2007-09-21 20:39:47 +00:00