/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: mn.src,v $
 * $Revision: 1.53.118.1 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/



#include "swmn.hrc"

/*------------------------------------------------------------------------
 Beschreibung: Menu Window
------------------------------------------------------------------------*/

#define MN_FRM_CAPTION_ITEM \
        MenuItem\
        {\
            Identifier = FN_INSERT_CAPTION ;\
            HelpID = FN_INSERT_CAPTION ;\
            Text [ en-US ] = "A~dd Caption..." ;\
    };

/********************************************************************
**Added  for caption migration	2009/7/23					
**-- Caption Enhancement											
**-- Easy to remove caption[Add in context menu "Remove Caption"]	
********************************************************************/
#define MN_FRM_REMOVECAPTION_ITEM\
	MenuItem \
	{\
		Identifier = FN_REMOVE_CAPTION;\
		HelpID = FN_REMOVE_CAPTION;\
		Text [ en-US ] = "~Remove Caption" ;\
	};
//End caption migration 2009/7/23
//UI Rewording for Context Menu, 3rd, , 2009.09.17
//Remove FN_FORMAT_TABLE_DLG from the 1st position of MN_TAB1
/*
    MenuItem\
    {\ 
        Identifier = FN_FORMAT_TABLE_DLG ; \
        HelpID = FN_FORMAT_TABLE_DLG ; \ 
        Text [ en-US ] = "~Table..." ; \ 
    };\ 
*/

//Remove FN_NUM_FORMAT_TABLE_DLG from the 4th position of MNTAB1
/*
    MenuItem\
    {\ 
        Identifier = FN_NUM_FORMAT_TABLE_DLG ; \ 
        HelpID = FN_NUM_FORMAT_TABLE_DLG ; \ 
        Text [ en-US ] = "N~umber Format..." ; \ 
    };\ 
*/
//End UI Rewording for Context Menu

#define MN_TAB1 \
    MenuItem\
    {\
        Identifier = FN_TABLE_MERGE_TABLE ; \
        HelpID = FN_TABLE_MERGE_TABLE ; \
        Text [ en-US ] = "Merge Tables";\
    };\
    MenuItem\
    {\
        Identifier = FN_TABLE_SPLIT_TABLE ; \
        HelpID = FN_TABLE_SPLIT_TABLE ; \
        Text [ en-US ] = "~Split Table" ; \
    };\
    MenuItem\
    {\
        Identifier = MN_CELL ; \
        HelpID = MN_CELL ; \
        Command = ".uno:CellMenu" ; \
        /* ### ACHTUNG: Neuer Text in Resource? Ze~lle : Zelle */\
        Text [ en-US ] = "~Cell" ; \
        /* ### ACHTUNG: Neuer Text in Resource? Einstellungen f�r die Tabellenzelle : Einstellungen f�r die Tabellenzelle */\
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    Identifier = FN_TABLE_MERGE_CELLS ; \
                    HelpID = FN_TABLE_MERGE_CELLS ; \
                    Text [ en-US ] = "~Merge" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_SPLIT_CELLS ; \
                    HelpID = FN_TABLE_SPLIT_CELLS ; \
                    Text [ en-US ] = "~Split..." ; \
                };\
                SEPARATOR ; \
                MenuItem\
                {\
                    Identifier = FN_TABLE_VERT_NONE ; \
                    HelpID = FN_TABLE_VERT_NONE ; \
                    Text [ en-US ] = "~Top" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_VERT_CENTER ; \
                    HelpID = FN_TABLE_VERT_CENTER ; \
                    Text [ en-US ] = "C~enter" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_VERT_BOTTOM ; \
                    HelpID = FN_TABLE_VERT_BOTTOM ; \
                    Text [ en-US ] = "~Bottom" ; \
                };\
                SEPARATOR ; \
                MenuItem\
                {\
                    Identifier = FN_TABLE_SET_READ_ONLY_CELLS ; \
                    HelpID = FN_TABLE_SET_READ_ONLY_CELLS ; \
                    /* ### ACHTUNG: Neuer Text in Resource? ~Sch�tzen : ~Sch�tzen */\
                    Text [ en-US ] = "~Protect" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_UNSET_READ_ONLY_CELLS ; \
                    HelpID = FN_TABLE_UNSET_READ_ONLY_CELLS ; \
                    Text [ en-US ] = "~Unprotect" ; \
                };\
            };\
        };\
    };

#define MN_TAB2 \
    MenuItem\
    {\
        Identifier = MN_SUB_TBLROW ; \
        HelpID = HID_MN_SUB_TBLROW ; \
        Command = ".uno:RowMenu" ;  \
        /* ### ACHTUNG: Neuer Text in Resource? Ze~ile : Zeile */\
        Text [ en-US ] = "~Row" ; \
        /* ### ACHTUNG: Neuer Text in Resource? Einstellungen f�r die Tabellenzeile : Einstellungen f�r die Tabellenzeile */\
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    Identifier = FN_TABLE_SET_ROW_HEIGHT ; \
                    HelpID = FN_TABLE_SET_ROW_HEIGHT ; \
                    /* ### ACHTUNG: Neuer Text in Resource? ~H�he... : ~H�he... */\
                    Text [ en-US ] = "~Height..." ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_ROW_SPLIT;\
                    HelpID = FN_TABLE_ROW_SPLIT ; \
                    Text [ en-US ] = "Allow Row to Break A~cross Pages and Columns" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_OPTIMAL_HEIGHT ; \
                    HelpID = FN_TABLE_OPTIMAL_HEIGHT ; \
                    /* ### ACHTUNG: Neuer Text in Resource? ~Optimale H�he : ~Optimale H�he */\
                    Text [ en-US ] = "~Optimal Height" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_BALANCE_ROWS ; \
                    HelpID = FN_TABLE_BALANCE_ROWS ; \
                    /* ### ACHTUNG: Neuer Text in Resource? Gleichm��ig ~verteilen : Gleichm��ig ~verteilen */\
                    Text [ en-US ] = "Space ~Equally" ; \
                };\
                SEPARATOR ; \
                MenuItem\
                {\
                    Identifier = FN_TABLE_SELECT_ROW ; \
                    HelpID = FN_TABLE_SELECT_ROW ; \
                    /* ### ACHTUNG: Neuer Text in Resource? Ausw~�hlen : Ausw�hlen */\
                    /* ### ACHTUNG: Neuer Text in Resource? Ausw~�hlen : Ausw~�hlen */\
                    Text [ en-US ] = "~Select" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_INSERT_ROW_DLG ; \
                    HelpID = FN_TABLE_INSERT_ROW_DLG ; \
                    /* ### ACHTUNG: Neuer Text in Resource? ~Einf�gen... : ~Einf�gen... */\
                    Text [ en-US ] = "~Insert..." ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_DELETE_ROW ; \
                    HelpID = FN_TABLE_DELETE_ROW ; \
                    /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */\
                    Text [ en-US ] = "~Delete" ; \
                };\
            };\
    };\
    };\
    MenuItem\
    {\
        Identifier = MN_SUB_TBLCOL ; \
        HelpID = HID_MN_SUB_TBLCOL ; \
        Command = ".uno:ColumnMenu" ; \
        Text [ en-US ] = "Colu~mn" ; \
        /* ### ACHTUNG: Neuer Text in Resource? Einstellungen f�r die Tabellenspalte : Einstellungen f�r die Tabellenspalte */\
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    Identifier = FN_TABLE_SET_COL_WIDTH ; \
                    HelpID = FN_TABLE_SET_COL_WIDTH ; \
                    Text [ en-US ] = "~Width..." ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_ADJUST_CELLS ; \
                    HelpID = FN_TABLE_ADJUST_CELLS ; \
                    Text [ en-US ] = "~Optimal Width " ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_BALANCE_CELLS ; \
                    HelpID = FN_TABLE_BALANCE_CELLS ; \
                    /* ### ACHTUNG: Neuer Text in Resource? Gleichm��ig ~verteilen : Gleichm��ig ~verteilen */\
                    Text [ en-US ] = "Space ~Equally" ; \
                };\
                SEPARATOR ; \
                MenuItem\
                {\
                    Identifier = FN_TABLE_SELECT_COL ; \
                    HelpID = FN_TABLE_SELECT_COL ; \
                    /* ### ACHTUNG: Neuer Text in Resource? Ausw~�hlen : Ausw�hlen */\
                    /* ### ACHTUNG: Neuer Text in Resource? Ausw~�hlen : Ausw~�hlen */\
                    Text [ en-US ] = "~Select" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_INSERT_COL_DLG ; \
                    HelpID = FN_TABLE_INSERT_COL_DLG ; \
                    /* ### ACHTUNG: Neuer Text in Resource? ~Einf�gen... : ~Einf�gen... */\
                    Text [ en-US ] = "~Insert..." ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TABLE_DELETE_COL ; \
                    HelpID = FN_TABLE_DELETE_COL ; \
                    /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */\
                    Text [ en-US ] = "~Delete" ; \
                };\
            };\
};\
    };

#define MN_DRWTXT \
    MenuItem\
    {\
        ITEM_FORMAT_CHAR_DLG\
    };\
    MenuItem\
    {\
        ITEM_FORMAT_PARA_DLG\
    };\

#define MN_DRWTXTATTR \
    MenuItem\
    {\
        Identifier = FN_DRAWTEXT_ATTR_DLG ; \
        HelpID = FN_DRAWTEXT_ATTR_DLG ; \
        Text [ en-US ] = "~Text Object Properties..." ; \
    };

#define MN_NAME_SHAPE \
    MenuItem\
    {\
        Identifier = FN_NAME_SHAPE ; \
        HelpID = FN_NAME_SHAPE ; \
        Text [ en-US ] = "Object ~Name..." ; \
    };

// #i68101#
#define MN_TITLE_DESCRIPTION_SHAPE\
    MenuItem\
    {\
        Identifier = FN_TITLE_DESCRIPTION_SHAPE; \
        HelpID = FN_TITLE_DESCRIPTION_SHAPE; \
        Text [ en-US ] = "Object ~Description..." ; \
    };

#define MN_FRM \
    MenuItem\
    {\
        Identifier = FN_FORMAT_FRAME_DLG ; \
        HelpID = FN_FORMAT_FRAME_DLG ; \
        Text [ en-US ] = "~Frame..." ; \
    };

#define MN_DRAW1 \
    MenuItem\
    {\
        ITEM_FORMAT_ATTRIBUTES_LINE\
    };\
    MenuItem\
    {\
        ITEM_FORMAT_ATTRIBUTES_AREA\
    };

#define MN_ALIGN \
    MenuItem\
    {\
        ITEM_FORMAT_OBJECT_ALIGN\
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    ITEM_FORMAT_OBJECT_ALIGN_LEFT\
                };\
                MenuItem\
                {\
                    ITEM_FORMAT_OBJECT_ALIGN_CENTER\
                };\
                MenuItem\
                {\
                    ITEM_FORMAT_OBJECT_ALIGN_RIGHT\
                };\
                SEPARATOR ; \
                MenuItem\
                {\
                    ITEM_FORMAT_OBJECT_ALIGN_UP\
                };\
                MenuItem\
                {\
                    ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\
                };\
                MenuItem\
                {\
                    ITEM_FORMAT_OBJECT_ALIGN_DOWN\
                };\
            };\
        };\
    };

#define MN_ONE_STEP \
    MenuItem\
    {\
        Identifier = FN_FRAME_UP ; \
        HelpID = FN_FRAME_UP ; \
        Text [ en-US ] = "Bring ~Forward" ; \
    };\
    MenuItem\
    {\
        Identifier = FN_FRAME_DOWN ; \
        HelpID = FN_FRAME_DOWN ; \
        Text [ en-US ] = "Send Back~ward" ; \
    };

#define MN_TOP \
    MenuItem\
    {\
        ITEM_FORMAT_FRAME_TO_TOP\
    };\


#define MN_DRAW5 \
    MenuItem\
    {\
        Identifier = MN_SUB_ARRANGE ; \
        HelpID = HID_MN_SUB_ARRANGE ; \
        Command = ".uno:ArrangeMenu" ; \
        Text [ en-US ] = "~Arrange" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MN_TOP\
                MN_ONE_STEP\
                MN_BOTTOM\
                SEPARATOR ; \
                MenuItem\
                {\
                    ITEM_FORMAT_OBJECT_HEAVEN\
                };\
                MenuItem\
                {\
                    ITEM_FORMAT_OBJECT_HELL\
                };\
            };\
        };\
    };\
    MN_ALIGN\
    MNSUB_ROTATE\
	MN_MIRROR\

//<<Added  for reorganize the graphic's context menu.
#define MNSUB_ROTATE\
	MenuItem \
	{\
		Identifier = SID_OBJECT_ROTATE;\
		HelpID = SID_OBJECT_ROTATE;\
		Text [ en-US ] = "~Rotate" ; \
	};
#define MN_MIRROR\
	MenuItem \
	{\
		Identifier = MN_SUB_MIRROR;\
		HelpID = MN_SUB_MIRROR;\
		Text [ en-US ] = "~Flip" ; \
		SubMenu = Menu\
		{\
			ItemList =\
			{\
				MenuItem \
				{\
					Identifier = FN_FLIP_HORZ_GRAFIC;\
					HelpID = FN_FLIP_HORZ_GRAFIC;\
					Text [ en-US ] = "~Vertically" ; \
				};\
				MenuItem \
				{\
					Identifier = FN_FLIP_VERT_GRAFIC;\
					HelpID = FN_FLIP_VERT_GRAFIC;\
					Text [ en-US ] = "~Horizontal" ; \
				};\
			};\
		};\
	};\
//<<Added  for reorganize the graphic's context menu.
#define MN_DRAW6 \
    MenuItem\
    {\
        Identifier = MN_SUB_ARRANGE ; \
        HelpID = HID_MN_SUB_ARRANGE ; \
        Command = ".uno:ArrangeMenu" ; \
        Text [ en-US ] = "~Arrange" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MN_TOP\
                MN_ONE_STEP\
                MN_BOTTOM\
            };\
        };\
    };\
    MN_ALIGN\

#define MN_DRAW3 \
    ITEM_GROUP_MENU

#define MN_FORM \
    MenuItem\
    {\
        ITEM_FORM_CONTROL_PROPERTIES\
    };\
    MenuItem\
    {\
        ITEM_FORM_PROPERTIES\
    };\
    MenuItem\
    {\
        ITEM_REPLACE_CONTROL\
    };\


#define MN_ANNOTATIONS \
	MenuItem\
    {\
        Identifier = FN_REPLY ;\
        HelpID = FN_DELETE_NOTE ;\
        Text [ en-US ] = "Reply" ;\
    };\
    SEPARATOR ; \
    MenuItem\
    {\
        Identifier = FN_DELETE_NOTE ;\
        HelpID = FN_DELETE_NOTE ;\
        /*, Note->Comment, , 2010.05.05*/\
        /*Text [ en-US ] = "Delete ~Note" ;*/\
        Text [ en-US ] = "Delete Comme~nt" ;\
        /*End 7758*/\
    };\
    MenuItem\
    {\
        Identifier = FN_DELETE_NOTE_AUTHOR ;\
        HelpID = FN_DELETE_NOTE_AUTHOR ;\
        /*, Note->Comment, , 2010.05.05*/\
        /*Text [ en-US ] = "Delete ~All Notes by $1" ;*/\
        Text [ en-US ] = "Delete ~All Comments by $1" ;\
        /*End 7758*/\
    };\
    MenuItem\
    {\
        Identifier = FN_DELETE_ALL_NOTES ;\
        HelpID = FN_DELETE_ALL_NOTES ;\
        /*, Note->Comment, , 2010.05.05*/\
        /*Text [ en-US ] = "~Delete All Notes" ;*/\
        Text [ en-US ] = "~Delete All Comments" ;\
        /*End 7758*/\
    };\
    /*
    MenuItem\
    {\
        Identifier = FN_HIDE_NOTE ;\
        HelpID = FN_HIDE_NOTE ;\
        Text [ en-US ] = "~Hide note" ;\
    };\
    MenuItem\
    {\
        Identifier = FN_HIDE_NOTE_AUTHOR	 ;\
        HelpID = FN_HIDE_NOTE_AUTHOR ;\
        Text [ en-US ] = "Hide ~author" ;\
    };\
    MenuItem\
    {\
        Identifier = FN_HIDE_ALL_NOTES ;\
        HelpID = FN_HIDE_ALL_NOTES ;\
        Text [ en-US ] = "Hide all ~notes" ;\
    };
    */

/*--Popups---------------------------------------------------------------*/

String MN_TEXT_POPUPMENU
{
	Text [ en-US ] = "Text" ;
};


String MN_TAB_POPUPMENU
{
	Text [ en-US ] = "Table" ;
};

//UI Rewording for Context Menu, 3rd, , 2009.09.17
#define MN_TAB_PROP \
	MenuItem\
    	{\
	        Identifier = FN_FORMAT_TABLE_DLG ; \
	        HelpID = FN_FORMAT_TABLE_DLG ; \
	        Text [ en-US ] = "Table Pr~operties" ; \
    	};\

#define MN_NUM_FORMAT\
	MenuItem\
    {\
        Identifier = FN_NUM_FORMAT_TABLE_DLG ; \
        HelpID = FN_NUM_FORMAT_TABLE_DLG ; \
        Text [ en-US ] = "N~umber Format..." ; \
    };\
    
//End UI Rewording for Context Menu

Menu MN_TAB_POPUPMENU
{
	ItemList =
	{
		MN_RESET
        _NUMBERING_RELATED_MENU
        SEPARATOR ;
		MN_TEXT_ATTR
		SEPARATOR ;
		MenuItem
		{
			ITEM_FORMAT_CHAR_DLG
		};
		MenuItem
		{
			ITEM_FORMAT_PARA_DLG
		};

		MN_NUMBERING
	    MN_TAB_PROP
         //     MN_BB
		SEPARATOR ;
		MN_TAB1
		MN_TAB2
		MN_FRM_CAPTION_ITEM
		MN_NUM_FORMAT
		/********************************************************************
		**Added  for caption migration	2009/7/23					
		**-- Caption Enhancement											
		**-- Easy to remove caption[Add in context menu "Remove Caption"]	
		********************************************************************/
		MN_FRM_REMOVECAPTION_ITEM
		//End caption migration 2009/7/23
		 //		SEPARATOR;
		MenuItem
		{
			Identifier = FN_VIEW_TABLEGRID ;
			HelpID = FN_VIEW_TABLEGRID ;
			Text [ en-US ] = "Show Table Boundaries" ;
		};
		MenuItem
		{
			Identifier = FN_SET_MODOPT_TBLNUMFMT ;
			HelpID = FN_SET_MODOPT_TBLNUMFMT ;
			Text [ en-US ] = "Num~ber Recognition";
		};
        SEPARATOR ;
        _DEFAULT_TEXT_EDIT_ELEMENTS
    };
};

#define MN_WRAP_CONTOUR \
    MenuItem\
    {\
        Identifier = FN_FRAME_WRAP_CONTOUR ; \
        HelpID = FN_FRAME_WRAP_CONTOUR ; \
        Text [ en-US ] = "~Contour" ; \
    };

#define MN_EDIT_CONTOUR \
    MenuItem\
    {\
        Identifier = SID_CONTOUR_DLG ; \
        HelpID = SID_CONTOUR_DLG ; \
        Text [ en-US ] = "~Edit Contour..." ; \
    };

#define  MN_WRAP_CONTOUR_1 MN_WRAP_CONTOUR
#define  MN_EDIT_CONTOUR_1 MN_EDIT_CONTOUR

#define MN_MOUSE_FRAME_BEGIN \
    MenuItem\
    {\
        Identifier = MN_WRAP ; \
        HelpID = MN_WRAP ; \
        Command = ".uno:WrapMenu" ; \
        Text [ en-US ] = "~Wrap" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_NOWRAP ; \
                    HelpID = FN_FRAME_NOWRAP ; \
                    Text [ en-US ] = "~No Wrap" ; \
                };\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_WRAP ; \
                    HelpID = FN_FRAME_WRAP ; \
                    Text [ en-US ] = "~Page Wrap" ; \
                };\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_WRAP_IDEAL ; \
                    HelpID = FN_FRAME_WRAP_IDEAL ; \
                    Text [ en-US ] = "~Optimal Page Wrap" ; \
                };\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_WRAPTHRU ; \
                    HelpID = FN_FRAME_WRAPTHRU ; \
                    Text [ en-US ] = "~Wrap Through" ; \
                };\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_WRAPTHRU_TRANSP ; \
                    HelpID = FN_FRAME_WRAPTHRU_TRANSP ; \
                    Text [ en-US ] = "In ~Background" ; \
                };\
                SEPARATOR ; \
                MN_WRAP_CONTOUR_1\
                MN_EDIT_CONTOUR\
                MenuItem\
                {\
                    Identifier = FN_WRAP_ANCHOR_ONLY ; \
                    HelpID = FN_WRAP_ANCHOR_ONLY ; \
                    Text [ en-US ] = "~First Paragraph" ; \
                    };\
            };\
        };\
    };


#define MN_MOUSE_FRAME_WITH_CONTOUR MN_MOUSE_FRAME_BEGIN

String MN_DRAW_POPUPMENU
{
	Text [ en-US ] = "Graphic" ;
};
#define MN_WRAP_DRAW                                                                                                            \
    MenuItem\
    {\
        Identifier = MN_WRAP ; \
        HelpID = MN_WRAP ; \
        Command = ".uno:WrapMenu" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_NOWRAP ; \
                    HelpID = FN_FRAME_NOWRAP ; \
                    Text [ en-US ] = "~No Wrap" ; \
                };\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_WRAP ; \
                    HelpID = FN_FRAME_WRAP ; \
                    Text [ en-US ] = "~Page Wrap" ; \
                };\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_WRAP_IDEAL ; \
                    HelpID = FN_FRAME_WRAP_IDEAL ; \
                    Text [ en-US ] = "~Optimal Page Wrap" ; \
                };\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_WRAPTHRU ; \
                    HelpID = FN_FRAME_WRAPTHRU ; \
                    Text [ en-US ] = "~Wrap Through" ; \
                };\
                MenuItem\
                {\
                    RadioCheck = TRUE ; \
                    Identifier = FN_FRAME_WRAPTHRU_TRANSP ; \
                    HelpID = FN_FRAME_WRAPTHRU_TRANSP ; \
                    Text [ en-US ] = "In ~Background" ; \
                };\
                SEPARATOR ; \
                MN_WRAP_CONTOUR_1\
                MenuItem\
                {\
                    Identifier = FN_WRAP_ANCHOR_ONLY ; \
                    HelpID = FN_WRAP_ANCHOR_ONLY ; \
                    Text [ en-US ] = "~First Paragraph" ; \
                };\
                SEPARATOR ; \
                MenuItem\
                {\
                    Identifier = FN_DRAW_WRAP_DLG ; \
                    HelpID = FN_DRAW_WRAP_DLG ; \
                    Text [ en-US ] = "~Edit..." ; \
                };\
            };\
        };\
        Text [ en-US ] = "~Wrap" ; \
    };

#define MN_BOTTOM \
    MenuItem\
    {\
        ITEM_FORMAT_FRAME_TO_BOTTOM\
    };\

#define MN_AT_FRAME \
    MenuItem\
    {\
        Identifier = FN_TOOL_ANKER_FRAME ; \
        HelpID = FN_TOOL_ANKER_FRAME ; \
        Text [ en-US ] = "To ~Frame" ; \
    };

#define MN_ANCHOR \
    MenuItem\
    {\
        Identifier = FN_TOOL_ANKER ; \
        HelpID = FN_TOOL_ANKER ; \
        Command = ".uno:AnchorMenu" ; \
        Text [ en-US ] = "Anc~hor" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    Identifier = FN_TOOL_ANKER_PAGE ; \
                    HelpID = FN_TOOL_ANKER_PAGE ; \
                    Text [ en-US ] = "To P~age" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TOOL_ANKER_PARAGRAPH ; \
                    HelpID = FN_TOOL_ANKER_PARAGRAPH ; \
                    Text [ en-US ] = "To ~Paragraph" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TOOL_ANKER_AT_CHAR ; \
                    HelpID = FN_TOOL_ANKER_AT_CHAR ; \
                    Text [ en-US ] = "To ~Character" ; \
                };\
                MenuItem\
                {\
                    Identifier = FN_TOOL_ANKER_CHAR ; \
                    HelpID = FN_TOOL_ANKER_CHAR ; \
                    Text [ en-US ] = "As C~haracter" ; \
                };\
                MN_AT_FRAME\
            };\
        };\
    };

Menu MN_DRAW_POPUPMENU
{
	ItemList =
	{
		MenuItem
		{
			ITEM_FORMAT_ATTR_TRANSFORM
		};

	//continue UI Rewording for Context Menu
	//to
		MN_DRAW1
		MN_DRWTXTATTR
	//End UI Rewording for Context Menu

		//-#i68101#----------------------
        SEPARATOR ;
		MN_TITLE_DESCRIPTION_SHAPE
		MN_NAME_SHAPE
		//-#i68101#----------------------

        SEPARATOR ;
        MN_ANCHOR
		MN_DRAW5
		MN_WRAP_DRAW
		//MN_ANCHOR
		MN_FRM_CAPTION_ITEM
		/********************************************************************
		**Added  for caption migration	2009/7/23					
		**-- Caption Enhancement											
		**-- Easy to remove caption[Add in context menu "Remove Caption"]	
		********************************************************************/
		MN_FRM_REMOVECAPTION_ITEM
		//End caption migration 2009/7/23
		SEPARATOR ;
		MN_DRAW3
	};
};

String MN_DRAWFORM_POPUPMENU
{
	Text [ en-US ] = "Control" ;
};

Menu MN_DRAWFORM_POPUPMENU
{
	ItemList =
	{
		MenuItem
		{
			ITEM_FORMAT_ATTR_TRANSFORM
		};

		MN_FORM
		
		//-#i68101#----------------------
		SEPARATOR ;
		MN_TITLE_DESCRIPTION_SHAPE
        MN_NAME_SHAPE
		//-#i68101#----------------------


		SEPARATOR ;
		MN_ANCHOR
		MN_DRAW6
		MN_WRAP_DRAW
		SEPARATOR ;
		MN_DRAW3
	};
};

String MN_DRWTXT_POPUPMENU
{
	Text [ en-US ] = "Draw Object text" ;
};

Menu MN_DRWTXT_POPUPMENU
{
	ItemList =
	{
		MN_RESET
		SEPARATOR ;
		MN_TEXT_ATTR
		SEPARATOR ;
		ITEM_TRANSLITERATE_MENU
		SEPARATOR ;
		MN_DRWTXT
		/*Modified for Hyperlink Field Acc Improvement by ],2006.11.01*/
		/*The cursor can not move into the hyperlink field for editing and convenient access*/
		/*Remove the wrong edit submenu in context menu and replace it with edit->hyperlink and placement*/
		SEPARATOR ;
                MenuItem 
		{
                    ITEM_OPEN_HYPERLINK
		};
                MN_CONTEXT_EDIT_HYPERLINK
		/*End modification for Hyperlink Field Acc Improvement ,2006.11.01*/
		MN_FRM_CAPTION_ITEM
		//Add in context menu "Remove Caption"
		MN_FRM_REMOVECAPTION_ITEM
		//Add in context menu "Remove Caption"
	};
};

#define MN_REDCOMMENT \
    MenuItem\
    {\
        Identifier = FN_DELETE_COMMENT ;\
        HelpID = FN_DELETE_COMMENT ;\
        /*, Note->Comment, , 2010.05.05*/\
		/*Text [ en-US ] = "Delete ~Changes Note" ;*/\
		Text [ en-US ] = "Delete ~Changes Comment" ;\
		/*End 7758*/\
    };\

Menu MN_ANNOTATION_POPUPMENU
{
	ItemList =
	{
		//MN_RESET
		//SEPARATOR ;
		//MN_TEXT_ATTR
		MenuItem\
                {\
                    ITEM_FORMAT_ATTR_CHAR_WEIGHT\
                };\
                MenuItem\
                {\
                    ITEM_FORMAT_ATTR_CHAR_POSTURE\
                };\
                MenuItem\
                {\
                    ITEM_FORMAT_ATTR_CHAR_UNDERLINE\
                };\
                MenuItem\
                {\
                    ITEM_FORMAT_ATTR_CHAR_STRIKEOUT\
                };\
		SEPARATOR ;
		//ITEM_TRANSLITERATE_MENU
		//SEPARATOR ;
		//MN_DRWTXT
		//MN_FRM_CAPTION_ITEM
		SEPARATOR ;
		MN_ANNOTATIONS
		//MN_REDCOMMENT
	};
};

Menu MN_ANNOTATION_BUTTON
{
	ItemList =
	{
		MN_ANNOTATIONS
	};
};

Menu MN_REDCOMMENT_BUTTON
{
	ItemList =
	{
		MN_REDCOMMENT
	};
};

String MN_GRF_POPUPMENU
{
	Text [ en-US ] = "Graphic" ;
};

//Added , 8/16/2010
#define MN_ARRANGEMENT \
	MenuItem\
		{\
			Identifier = MN_SUB_ALIGN ; \
			HelpID = HID_MN_SUB_ALIGN ; \
			Command = ".uno:ArrangeFrameMenu" ; \
			Text [ en-US ] = "~Arrange" ; \
			SubMenu = Menu\
			{\
				ItemList = \
				{\
					MenuItem\
					{\
						ITEM_FORMAT_FRAME_TO_TOP\
					};\
					MN_ONE_STEP\
					MenuItem\
					{\
						ITEM_FORMAT_FRAME_TO_BOTTOM\
					};\
				};\
			};\
			};

#define MN_ALIGNMENT \
	MenuItem\
		{\
			Identifier = MN_FORMAT_FRM_HORZ ; \
			HelpID = MN_FORMAT_FRM_HORZ ; \
			Command = ".uno:AlignFrameMenu" ; \
			SubMenu = Menu\
			{\
				ItemList = \
				{\
					MenuItem\
					{\
						Identifier = FN_FRAME_ALIGN_HORZ_LEFT ; \
						HelpID = FN_FRAME_ALIGN_HORZ_LEFT ; \
						Text [ en-US ] = "~Left" ; \
						};\
					MenuItem\
					{\
						Identifier = FN_FRAME_ALIGN_HORZ_CENTER ; \
						HelpID = FN_FRAME_ALIGN_HORZ_CENTER ; \
						Text [ en-US ] = "~Centered" ; \
						};\
					MenuItem\
					{\
						Identifier = FN_FRAME_ALIGN_HORZ_RIGHT ; \
						HelpID = FN_FRAME_ALIGN_HORZ_RIGHT ; \
						Text [ en-US ] = "~Right" ; \
						};\
					SEPARATOR ; \
					MenuItem\
					{\
						Identifier = FN_FRAME_ALIGN_VERT_TOP ; \
						HelpID = FN_FRAME_ALIGN_VERT_TOP ; \
						Text [ en-US ] = "Base at ~Top" ; \
						};\
					MenuItem\
					{\
						Identifier = FN_FRAME_ALIGN_VERT_CENTER ; \
						HelpID = FN_FRAME_ALIGN_VERT_CENTER ; \
						Text [ en-US ] = "Base in ~Middle" ; \
						};\
					MenuItem\
					{\
						Identifier = FN_FRAME_ALIGN_VERT_BOTTOM ; \
						HelpID = FN_FRAME_ALIGN_VERT_BOTTOM ; \
						Text [ en-US ] = "Base at ~Bottom" ; \
						};\
				};\
			};\
			Text [ en-US ] = "A~lign" ; \
			};
//End addit, 8/16/2010			

//Modified , 8/16/2010
/*******************************************************************************
#define MN_ALIGN_FRAME \
	MN_ANCHOR\
    MenuItem\
    {\
        Identifier = MN_SUB_ALIGN ; \
        HelpID = HID_MN_SUB_ALIGN ; \
        Command = ".uno:ArrangeFrameMenu" ; \
        Text [ en-US ] = "~Arrange" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    ITEM_FORMAT_FRAME_TO_TOP\
                };\
                MN_ONE_STEP\
                MenuItem\
                {\
                    ITEM_FORMAT_FRAME_TO_BOTTOM\
                };\
            };\
        };\
        };\
    MenuItem\
    {\
        Identifier = MN_FORMAT_FRM_HORZ ; \
        HelpID = MN_FORMAT_FRM_HORZ ; \
        Command = ".uno:AlignFrameMenu" ; \
        SubMenu = Menu\
        {\
            ItemList = \
            {\
                MenuItem\
                {\
                    Identifier = FN_FRAME_ALIGN_HORZ_LEFT ; \
                    HelpID = FN_FRAME_ALIGN_HORZ_LEFT ; \
                    Text [ en-US ] = "~Left" ; \
                    };\
                MenuItem\
                {\
                    Identifier = FN_FRAME_ALIGN_HORZ_CENTER ; \
                    HelpID = FN_FRAME_ALIGN_HORZ_CENTER ; \
                    Text [ en-US ] = "~Centered" ; \
                    };\
                MenuItem\
                {\
                    Identifier = FN_FRAME_ALIGN_HORZ_RIGHT ; \
                    HelpID = FN_FRAME_ALIGN_HORZ_RIGHT ; \
                    Text [ en-US ] = "~Right" ; \
                    };\
                SEPARATOR ; \
                MenuItem\
                {\
                    Identifier = FN_FRAME_ALIGN_VERT_TOP ; \
                    HelpID = FN_FRAME_ALIGN_VERT_TOP ; \
                    Text [ en-US ] = "Base at ~Top" ; \
                    };\
                MenuItem\
                {\
                    Identifier = FN_FRAME_ALIGN_VERT_CENTER ; \
                    HelpID = FN_FRAME_ALIGN_VERT_CENTER ; \
                    Text [ en-US ] = "Base in ~Middle" ; \
                    };\
                MenuItem\
                {\
                    Identifier = FN_FRAME_ALIGN_VERT_BOTTOM ; \
                    HelpID = FN_FRAME_ALIGN_VERT_BOTTOM ; \
                    Text [ en-US ] = "Base at ~Bottom" ; \
                    };\
            };\
        };\
        Text [ en-US ] = "A~lign" ; \
        };\
*******************************************************************************/        
        
#define MN_ALIGN_FRAME \
	MN_ANCHOR\
	MN_ARRANGEMENT\
	MN_ALIGNMENT\
	        

#define MN_ALIGN_GRAPHIC \
	MN_ANCHOR\
	MN_MIRROR\
	MN_ARRANGEMENT\
	MN_ALIGNMENT\
	

Menu MN_GRF_POPUPMENU
{
	ItemList =
	{
		//Modified , 8/16/2010
		//MN_ALIGN_FRAME
		MN_ALIGN_GRAPHIC
        MN_MOUSE_FRAME_WITH_CONTOUR
		SEPARATOR ;
	//Support Long Description in SW,, , 2010.06.23
	MN_TITLE_DESCRIPTION_SHAPE
	SEPARATOR ;
	// End 8809
        MenuItem
        {
            Identifier = FN_FORMAT_GRAFIC_DLG ;
            HelpID = FN_FORMAT_GRAFIC_DLG ;
            Text [ en-US ] = "~Graphic Properties..." ;
        };
        MenuItem
        {
            Identifier = FN_SAVE_GRAPHIC;
            HelpID = FN_SAVE_GRAPHIC;
            Text [ en-US ] = "Sa~ve Graphics..." ;
        };
        MN_FRM_CAPTION_ITEM
		/********************************************************************
		**Added  for caption migration	2009/7/23					
		**-- Caption Enhancement											
		**-- Easy to remove caption[Add in context menu "Remove Caption"]	
		********************************************************************/
		MN_FRM_REMOVECAPTION_ITEM
		//End caption migration 2009/7/23
		MenuItem
		{
			ITEM_EDIT_IMAP
		};
		//Added  for hyper-link menu item 2009/7/23	
		// Adding open hyper-link menu item on SW graphics context menu 
		SEPARATOR;
		MenuItem 
		{
			ITEM_OPEN_HYPERLINK
		};
		//End addition 2009/7/23	
	};
};

String MN_OLE_POPUPMENU
{
	Text [ en-US ] = "Object" ;
};


Menu MN_OLE_POPUPMENU
{
	ItemList =
	{
		MN_ALIGN_FRAME
        MN_MOUSE_FRAME_WITH_CONTOUR
		SEPARATOR ;
	//Support Long Description in SW,, , 2010.06.23
	MN_TITLE_DESCRIPTION_SHAPE
	SEPARATOR ;
	//End 8809
        MenuItem
        {
            Identifier = FN_FORMAT_FRAME_DLG ;
            HelpID = FN_FORMAT_FRAME_DLG ;
            Text [ en-US ] = "~Object Properties..." ;
        };
        MN_FRM_CAPTION_ITEM
		/********************************************************************
		**Added  for caption migration	2009/7/23						
		**-- Caption Enhancement											
		**-- Easy to remove caption[Add in context menu "Remove Caption"]	
		********************************************************************/
		MN_FRM_REMOVECAPTION_ITEM
		//End caption migration 2009/7/23	
	};
};

#define MN_MOUSE_FRAME_WITHOUT_CONTOUR MN_MOUSE_FRAME_BEGIN

String MN_FRM_POPUPMENU
{
    Text [ en-US ] = "Frame" ;
};

Menu MN_FRM_POPUPMENU
{
    ItemList =
    {
        MN_ALIGN_FRAME
        MN_MOUSE_FRAME_WITHOUT_CONTOUR
        SEPARATOR ;
	//Support Long Description in SW,, , 2010.06.23
	MN_TITLE_DESCRIPTION_SHAPE
	SEPARATOR ;
	//End 8809
        MN_FRM
        MN_FRM_CAPTION_ITEM
		/********************************************************************
		**Added  for caption migration	2009/7/23						
		**-- Caption Enhancement											
		**-- Easy to remove caption[Add in context menu "Remove Caption"]	
		********************************************************************/
		MN_FRM_REMOVECAPTION_ITEM
		//End caption migration 2009/7/23	
    };
};

String MN_PPREVIEW_POPUPMENU
{
	Text [ en-US ] = "Draw Object text" ;
};

Menu MN_PPREVIEW_POPUPMENU
{
	ItemList =
	{
		MenuItem
		{
			Identifier = FN_PAGEUP ;
			HelpID = FN_PAGEUP ;
			Text [ en-US ] = "Previous Page" ;
		};
		MenuItem
		{
			Identifier = FN_PAGEDOWN ;
			HelpID = FN_PAGEDOWN ;
			/* ### ACHTUNG: Neuer Text in Resource? N�chste Seite : N�chste Seite */
			Text [ en-US ] = "Next Page" ;
		};
		MenuItem
		{
			ITEM_VIEW_ATTR_ZOOM
			/* ### ACHTUNG: Neuer Text in Resource? Schlie�t die Seitenvorschau : Schlie�t die Seitenvorschau */
		};
		SEPARATOR ;
		MenuItem
		{
			Identifier = FN_PRINT_PAGEPREVIEW ;
			HelpID = FN_PRINT_PAGEPREVIEW ;
			Text [ en-US ] = "Print" ;
		};
		SEPARATOR ;
        MenuItem
        {
            Identifier = SID_PRINTPREVIEW;
            HelpID =  SID_PRINTPREVIEW;
            Text [ en-US ] = "Close Preview" ;
		};
    };
};

String MN_MEDIA_POPUPMENU
{
	Text [ en-US ] = "Media object" ;
};

Menu MN_MEDIA_POPUPMENU
{
	ItemList =
	{
		MenuItem
		{
			ITEM_FORMAT_ATTR_TRANSFORM
		};

		//-#i68101#----------------------
		SEPARATOR ;
		MN_TITLE_DESCRIPTION_SHAPE
        MN_NAME_SHAPE
		//-#i68101#----------------------

		SEPARATOR ;
		MN_DRAW6
		MN_WRAP_DRAW
		MN_ANCHOR
		SEPARATOR ;
		MN_DRAW3
	};
};

Menu MN_TEXT_POPUPMENU
    BASE_TEXT_POPUPMENU_BEGIN
    BASE_TEXT_POPUPMENU_NOWEB
    BASE_TEXT_POPUPMENU_END

