Hello
Sorry I didn't create a patch for you. But I've noticed that 2 instances of
"METHODES" in colmgr.cxx has a typo. It should be "METHODS".
Regards
--
Korrawit Pruegsanusak
On Mar 31, 2011 9:04 PM, "Martin Kepplinger" <martinkepplinger@eml.cc>
wrote:
Translate more code comments in writer/sw/source/ui/frmdlg from german to
english.
This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+
triple
license.
---
sw/source/ui/frmdlg/colex.cxx | 18 +++---
sw/source/ui/frmdlg/colmgr.cxx | 12 ++--
sw/source/ui/frmdlg/column.cxx | 131
+++++++++++++++++++---------------------
sw/source/ui/frmdlg/cption.cxx | 6 +-
4 files changed, 81 insertions(+), 86 deletions(-)
diff --git a/sw/source/ui/frmdlg/colex.cxx b/sw/source/ui/frmdlg/colex.cxx
index 25b95d2..b1ec601 100644
--- a/sw/source/ui/frmdlg/colex.cxx
+++ b/sw/source/ui/frmdlg/colex.cxx
@@ -52,7 +52,7 @@
#include "colmgr.hxx"
/*-----------------------------------------------------------------------
- Beschreibung: Uebernahme der aktualisierten Werte aus dem Set
+ Description: acquisition of the updates values from the set
-----------------------------------------------------------------------*/
void SwPageExample::UpdateExample( const SfxItemSet& rSet )
{
@@ -62,7 +62,7 @@ void SwPageExample::UpdateExample( const SfxItemSet&
rSet )
if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET )
{
- // Ausrichtung
+ // alignment
pPage = (const SvxPageItem*)&rSet.Get( nWhich );
if ( pPage )
@@ -73,14 +73,14 @@ void SwPageExample::UpdateExample( const SfxItemSet&
rSet )
if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET )
{
- // Orientation und Size aus dem PageItem
+ // Orientation and Size from PageItem
const SvxSizeItem& rSize = (const SvxSizeItem&)rSet.Get( nWhich );
SetSize( rSize.GetSize() );
}
nWhich = RES_LR_SPACE;
if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET )
{
- // linken und rechten Rand einstellen
+ // set left and right border
const SvxLRSpaceItem& rLRSpace = (const SvxLRSpaceItem&)rSet.Get( nWhich
);
SetLeft( rLRSpace.GetLeft() );
@@ -96,7 +96,7 @@ void SwPageExample::UpdateExample( const SfxItemSet&
rSet )
if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET )
{
- // oberen und unteren Rand einstellen
+ // set upper and lower border
const SvxULSpaceItem& rULSpace = (const SvxULSpaceItem&)rSet.Get( nWhich
);
SetTop( rULSpace.GetUpper() );
@@ -109,7 +109,7 @@ void SwPageExample::UpdateExample( const SfxItemSet&
rSet )
}
- // Kopfzeilen-Attribute auswerten
+ // evaluate header-attributes
const SfxPoolItem* pItem;
if( SFX_ITEM_SET == rSet.GetItemState( pPool->GetWhich(
SID_ATTR_PAGE_HEADERSET),
sal_False, &pItem ) )
@@ -219,7 +219,7 @@ void SwColExample::DrawPage( const Point& rOrg,
if ( GetUsage() == SVX_PAGE_MIRROR && !bSecond )
{
- // fuer gespiegelt drehen
+ // rotate for mirrored
nL = GetRight();
nR = GetLeft();
}
@@ -360,7 +360,7 @@ void SwColumnOnlyExample::Paint( const Rectangle&
/*rRect*/ )
SetFillColor( aGrayColor );
- //Spaltentrenner?
+ //column seperator?
long nLength = aLogSize.Height() - 2 * aTL.Y();
Point aUp( aTL );
Point aDown( aTL.X(), nLength );
@@ -487,7 +487,7 @@ void SwPageGridExample::DrawPage( const Point& rOrg,
if ( GetUsage() == SVX_PAGE_MIRROR && !bSecond )
{
- // fuer gespiegelt drehen
+ // rotate for mirrored
nL = GetRight();
nR = GetLeft();
}
diff --git a/sw/source/ui/frmdlg/colmgr.cxx
b/sw/source/ui/frmdlg/colmgr.cxx
index 255ac45..bb8d1d2 100644
--- a/sw/source/ui/frmdlg/colmgr.cxx
+++ b/sw/source/ui/frmdlg/colmgr.cxx
@@ -41,7 +41,7 @@
// PRIVATE METHODES ------------------------------------------------------
/*------------------------------------------------------------------------
- Beschreibung: Spaltenbreite auf aktuelle Breite einstellen
+ Description: set column width to current width
------------------------------------------------------------------------*/
void FitToActualSize(SwFmtCol& rCol, sal_uInt16 nWidth)
{
@@ -56,7 +56,7 @@ void FitToActualSize(SwFmtCol& rCol, sal_uInt16 nWidth)
// PUBLIC METHODES -------------------------------------------------------
/*------------------------------------------------------------------------
- Beschreibung: Setzen Spaltenanzahl und Gutterwidth
+ Description: set column quantity and Gutterwidth
------------------------------------------------------------------------*/
void SwColMgr::SetCount(sal_uInt16 nCount, sal_uInt16 nGutterWidth)
{
@@ -94,7 +94,7 @@ void SwColMgr::SetGutterWidth(sal_uInt16 nGutterWidth,
sal_uInt16 nPos )
}
/*------------------------------------------------------------------------
- Beschreibung: Hoehe Trennlinie
+ Description: height seperation line
------------------------------------------------------------------------*/
short SwColMgr::GetLineHeightPercent() const
{
@@ -108,7 +108,7 @@ void SwColMgr::SetLineHeightPercent(short nPercent)
}
/*------------------------------------------------------------------------
- Beschreibung: Spaltenbreite
+ Description: column width
------------------------------------------------------------------------*/
sal_uInt16 SwColMgr::GetColWidth(sal_uInt16 nIdx) const
{
@@ -124,7 +124,7 @@ void SwColMgr::SetColWidth(sal_uInt16 nIdx, sal_uInt16
nWd)
}
/*--------------------------------------------------------------------
- Beschreibung: Groesse neu setzen
+ Description: newly set size
--------------------------------------------------------------------*/
void SwColMgr::SetActualWidth(sal_uInt16 nW)
{
@@ -133,7 +133,7 @@ void SwColMgr::SetActualWidth(sal_uInt16 nW)
}
/*--------------------------------------------------------------------
- Beschreibung: ctor
+ Description: ctor
--------------------------------------------------------------------*/
SwColMgr::SwColMgr(const SfxItemSet& rSet, sal_uInt16 nActWidth) :
aFmtCol((const SwFmtCol&)rSet.Get(RES_COL)),
diff --git a/sw/source/ui/frmdlg/column.cxx
b/sw/source/ui/frmdlg/column.cxx
index e48c0a3..058a622 100644
--- a/sw/source/ui/frmdlg/column.cxx
+++ b/sw/source/ui/frmdlg/column.cxx
@@ -82,7 +82,7 @@
SV_IMPL_PTRARR( SwColumns, SwColumnPtr )
/*--------------------------------------------------------------------
- Beschreibung: Statische Daten
+ Description: static data
--------------------------------------------------------------------*/
static const sal_uInt16 nVisCols = 3;
@@ -201,12 +201,12 @@ SwColumnDlg::SwColumnDlg(Window* pParent,
SwWrtShell& rSh) :
aApplyToLB.RemoveEntry( nPagePos );
OSL_ENSURE( pColPgSet, "" );
- // TabPage erzeugen
+ // create TabPage
SwColumnPage* pPage = (SwColumnPage*) SwColumnPage::Create( this,
*pColPgSet );
pTabPage = pPage;
- //Groesse anpassen
+ // adjust size
Size aPageSize(pTabPage->GetSizePixel());
Size aDlgSize(GetOutputSizePixel());
aDlgSize.Height() = aPageSize.Height();
@@ -298,7 +298,7 @@ IMPL_LINK(SwColumnDlg, ObjectHdl, ListBox*, pBox)
IMPL_LINK(SwColumnDlg, OkHdl, OKButton*, EMPTYARG)
{
- //aktuelle Selektion auswerten
+ // evaluate current selection
SfxItemSet* pSet = 0;
switch(nOldSelection)
{
@@ -326,9 +326,9 @@ IMPL_LINK(SwColumnDlg, OkHdl, OKButton*, EMPTYARG)
if(pSelectionSet && SFX_ITEM_SET == pSelectionSet->GetItemState(RES_COL))
{
- //Bereich mit Spalten einfuegen
+ //insert region with columns
const SwFmtCol& rColItem = (const SwFmtCol&)pSelectionSet->Get(RES_COL);
- //nur, wenn es auch Spalten gibt!
+ //only if there actually are columns!
if(rColItem.GetNumCols() > 1)
rWrtShell.GetView().GetViewFrame()->GetDispatcher()->Execute(
FN_INSERT_REGION, SFX_CALLMODE_ASYNCHRON, *pSelectionSet );
@@ -350,7 +350,7 @@ IMPL_LINK(SwColumnDlg, OkHdl, OKButton*, EMPTYARG)
if(pPageSet && SFX_ITEM_SET == pPageSet->GetItemState(RES_COL) &&
bPageChanged)
{
- // aktuellen PageDescriptor ermitteln und damit den Set fuellen
+ // deterine current PageDescriptor and fill the Set with it
const sal_uInt16 nCurIdx = rWrtShell.GetCurPageDesc();
SwPageDesc aPageDesc(rWrtShell.GetPageDesc(nCurIdx));
SwFrmFmt &rFmt = aPageDesc.GetMaster();
@@ -364,7 +364,7 @@ IMPL_LINK(SwColumnDlg, OkHdl, OKButton*, EMPTYARG)
rWrtShell.StartAction();
rWrtShell.Push();
rWrtShell.SetFlyFrmAttr( aTmp );
- //die Rahmenselektion wieder aufheben
+ // undo the frame selction again
if(rWrtShell.IsFrmSelected())
{
rWrtShell.UnSelectFrm();
@@ -409,7 +409,7 @@ void SwColumnPage::ResetColWidth()
}
/*--------------------------------------------------------------------
- Beschreibung: Jetzt als TabPage
+ Description: Now as TabPage
--------------------------------------------------------------------*/
SwColumnPage::SwColumnPage(Window *pParent, const SfxItemSet &rSet)
@@ -492,7 +492,7 @@ SwColumnPage::SwColumnPage(Window *pParent, const
SfxItemSet &rSet)
aDefaultVS.SetSelectHdl(LINK(this, SwColumnPage, SetDefaultsHdl));
- // Controls fuer Zusaetzebereich beim MoreButton anmelden
+ // announce Controls for additional region at the MoreButton
Link aCLNrLk = LINK(this, SwColumnPage, ColModify);
aCLNrEdt.SetLoseFocusHdl(aCLNrLk);
aCLNrEdt.SetUpHdl(aCLNrLk);
@@ -610,7 +610,7 @@ void SwColumnPage::Reset(const SfxItemSet &rSet)
if(bFrm)
{
- if(bFormat) // hier gibt es keine Size
+ if(bFormat) // there is no size here
pColMgr->SetActualWidth(FRAME_FORMAT_WIDTH);
else
{
@@ -643,7 +643,7 @@ void SwColumnPage::Reset(const SfxItemSet &rSet)
}
/*--------------------------------------------------------------------
- Beschreibung: TabPage erzeugen
+ Description: create TabPage
--------------------------------------------------------------------*/
SfxTabPage* SwColumnPage::Create(Window *pParent, const SfxItemSet &rSet)
{
@@ -651,15 +651,14 @@ SfxTabPage* SwColumnPage::Create(Window *pParent,
const SfxItemSet &rSet)
}
/*--------------------------------------------------------------------
- Beschreibung: Attribute in den Set stopfen bei OK
+ Description: stuff attributes into the Set when OK
--------------------------------------------------------------------*/
sal_Bool SwColumnPage::FillItemSet(SfxItemSet &rSet)
{
if(aCLNrEdt.HasChildPathFocus())
aCLNrEdt.GetDownHdl().Call(&aCLNrEdt);
- // Im ItemSet setzen
- // Die aktuellen Einstellungen sind
- // schon vorhanden
+ // set in ItemSet setzen
+ // the current settings are already present
//
const SfxPoolItem* pOldItem;
const SwFmtCol& rCol = pColMgr->GetColumns();
@@ -683,15 +682,15 @@ sal_Bool SwColumnPage::FillItemSet(SfxItemSet &rSet)
}
/*--------------------------------------------------------------------
- Beschreibung: ColumnManager updaten
+ Description: update ColumnManager
--------------------------------------------------------------------*/
IMPL_LINK( SwColumnPage, UpdateColMgr, void *, /*pField*/ )
{
long nGutterWidth = pColMgr->GetGutterWidth();
if(nCols > 1)
{
- // Ermitteln, ob die schmalste Spalte zu schmal ist
- // fuer den eingestellten Spaltenabstand
+ // Determine whether the most narrow column is too narrow
+ // for the adjusted column gap
long nMin = nColWidth[0];
sal_uInt16 i;
@@ -702,8 +701,8 @@ IMPL_LINK( SwColumnPage, UpdateColMgr, void *,
/*pField*/ )
if(!bAutoWidth)
{
pColMgr->SetAutoWidth(sal_False);
- // falls der Benutzer nicht die Gesamtbreite vergeben hat,
- // den fehlenden Betrag auf die letzte Spalte addieren.
+ // when the user didn't allocate the whole width,
+ // add the missing amount to the last column.
long nSum = 0;
for(i = 0; i < nCols; ++i)
nSum += nColWidth[i];
@@ -727,7 +726,7 @@ IMPL_LINK( SwColumnPage, UpdateColMgr, void *,
/*pField*/ )
}
- // keins ist ausgeschaltet
+ // nothing is turned off
const sal_uInt16 nPos = aLineTypeDLB.GetSelectEntryPos();
sal_Bool bEnable = 0 != nPos;
aLineHeightEdit.Enable( bEnable );
@@ -761,13 +760,13 @@ IMPL_LINK( SwColumnPage, UpdateColMgr, void *,
/*pField*/ )
nCols = 0;
}
- //Maximalwerte setzen
+ //set maximum values
aCLNrEdt.SetMax(Max(1L,
Min(long(nMaxCols), long( pColMgr->GetActualSize() / (nGutterWidth +
MINLAY)) )));
aCLNrEdt.SetLast(aCLNrEdt.GetMax());
aCLNrEdt.Reformat();
- //Beispielfenster anregen
+ //prompt example window
if(!bLockUpdate)
{
if(bFrm)
@@ -783,7 +782,7 @@ IMPL_LINK( SwColumnPage, UpdateColMgr, void *,
/*pField*/ )
}
/*------------------------------------------------------------------------
- Beschreibung: Initialisierung
+ Description: Initialisation
------------------------------------------------------------------------*/
void SwColumnPage::Init()
{
@@ -793,7 +792,7 @@ void SwColumnPage::Init()
aAutoWidthBox.Check( bAutoWidth );
sal_Int32 nColumnWidthSum = 0;
- // Setzen der Breiten
+ // set the widths
sal_uInt16 i;
for(i = 0; i < nCols; ++i)
{
@@ -813,10 +812,10 @@ void SwColumnPage::Init()
nColWidth[i] = nColumnWidthSum;
}
SwColLineAdj eAdj = pColMgr->GetAdjust();
- if( COLADJ_NONE == eAdj ) // der Dialog kennt kein NONE!
+ if( COLADJ_NONE == eAdj ) // the dialog doesn't know a NONE!
{
eAdj = COLADJ_TOP;
- //ohne Adjust auch kein Linientyp
+ //without Adjust no line type
aLineTypeDLB.SelectEntryPos( 0 );
aLineHeightEdit.SetValue( 100 );
}
@@ -842,21 +841,20 @@ void SwColumnPage::Init()
UpdateCols();
Update();
- // Maximale Spaltenzahl setzen
- // Werte kleiner als 1 sind nicht erlaubt
+ // set maximum number of columns
+ // values below 1 are not allowed
aCLNrEdt.SetMax(Max(1L,
Min(long(nMaxCols), long( pColMgr->GetActualSize() / nMinWidth) )));
}
/*------------------------------------------------------------------------
- Beschreibung: Die Anzahl der Spalten hat sich veraendert -- hier werden
- die Controls fuer die Bearbeitung der Spalten entsprechend
- der Spaltenzahl en- oder disabled.
- Falls es mehr als nVisCols (= 3) Spalten gibt, werden
- alle Edit enabled und die Buttons fuer das Scrollen
- ebenfalls.
- Andernfalls werden die Edits jeweils fuer die entsprechenden
- Spaltenzahl enabled; eine Spalte kann nicht bearbeitet werden.
+ Description: The number of columns has changed -- here the controls for
+ editing of the columns are en- or disabled according to the
+ column number.
+ In case there are more than nVisCols (=3) all Edit are being
+ enabled and the buttons for scrolling too.
+ Otherwise Edits are being enabled according to the column
+ numbers; one column can not be edited.
------------------------------------------------------------------------*/
void SwColumnPage::UpdateCols()
{
@@ -871,7 +869,7 @@ void SwColumnPage::UpdateCols()
}
else if( bEdit )
{
- // hier gibt es absichtlich kaum noch breaks
+ // here are purposely hardly any breaks
switch(nCols)
{
case 3: bEnable3 = sal_True;
@@ -950,11 +948,9 @@ void SwColumnPage::SetLabels( sal_uInt16 nVis )
}
/*------------------------------------------------------------------------
- Beschreibung: Handler, der bei einer Veraenderung der Spaltenzahl
- gerufen wird.
- Eine Aenderung der Spaltenzahl ueberschreibt eventuelle
- Breiteneinstellungen des Benutzers; alle Spalten sind
- gleich breit.
+ Description: Handler that is called at alteration of the column number.
+ An alteration of the column number overwrites potential
+ user's width settings; all columns are equally wide.
------------------------------------------------------------------------*/
IMPL_LINK( SwColumnPage, ColModify, NumericField *, pNF )
{
@@ -983,13 +979,12 @@ IMPL_LINK( SwColumnPage, ColModify, NumericField *,
pNF )
}
/*------------------------------------------------------------------------
- Beschreibung: Modify- Handler fuer eine Aenderung der Spaltenbreite
- oder des Spaltenabstandes.
- Diese Aenderungen wirken sich erst zeitversetzt aus.
- Durch eine Aenderung der Spaltenbreite wird die automatische
- Berechnung der Spaltenbreite ausser Kraft gesetzt; erst
- eine Aenderung der Spaltenzahl kehrt wieder zu diesem
- Default zurueck.
+ Description: Modify handler for an alteration of the column width or
+ the column gap.
+ These changes take effect time-displaced. With an
+ alteration of the column width the automatic calculation
+ of the column width is overruled; only an alteration
+ of the column number leads back to that default.
------------------------------------------------------------------------*/
IMPL_LINK( SwColumnPage, GapModify, PercentField *, pFld )
{
@@ -1070,9 +1065,9 @@ IMPL_LINK( SwColumnPage, EdModify, PercentField *,
pField )
}
/*------------------------------------------------------------------------
- Beschreibung: Handler hinter der Checkbox fuer automatische Breite.
- Ist die Box gecheckt, koennen keine expliziten Werte
- fuer die Spaltenbreite eingegeben werden.
+ Description: Handler behind the Checkbox for automatic width.
+ When the box is checked no expicit values for the column
+ width can be entered.
------------------------------------------------------------------------*/
IMPL_LINK( SwColumnPage, AutoWidthHdl, CheckBox *, pBox )
{
@@ -1092,7 +1087,7 @@ IMPL_LINK( SwColumnPage, AutoWidthHdl, CheckBox *,
pBox )
}
/*------------------------------------------------------------------------
- Beschreibung: Raufscrollen der Inhalte der Edits.
+ Description: scroll up the contents of the edits
------------------------------------------------------------------------*/
IMPL_LINK( SwColumnPage, Up, Button *, EMPTYARG )
{
@@ -1106,7 +1101,7 @@ IMPL_LINK( SwColumnPage, Up, Button *, EMPTYARG )
}
/*------------------------------------------------------------------------
- Beschreibung: Runterscrollen der Inhalte der Edits.
+ Description: scroll down the contents of the edits.
------------------------------------------------------------------------*/
IMPL_LINK( SwColumnPage, Down, Button *, EMPTYARG )
{
@@ -1120,16 +1115,16 @@ IMPL_LINK( SwColumnPage, Down, Button *, EMPTYARG
)
}
/*------------------------------------------------------------------------
- Beschreibung: Relikt aus alten Zeiten - jetzt direkt ohne time
- * Timer- Handler; angetriggert durch eine Aenderung der
- Spaltenbreite oder des Spaltenabstandes.
+ Description: relict from ancient times - now directly without time
+ handler; triggered by an alteration of the column width
+ or the column gap.
------------------------------------------------------------------------*/
IMPL_LINK( SwColumnPage, Timeout, Timer *, EMPTYARG )
{
DBG_PROFSTART(columnhdl) ;
if(pModifiedField)
{
- // Finden der veraenderten Spalte
+ // find the changed column
sal_uInt16 nChanged = nFirstVis;
if(pModifiedField == &aEd2)
++nChanged;
@@ -1140,7 +1135,7 @@ IMPL_LINK( SwColumnPage, Timeout, Timer *, EMPTYARG
)
pModifiedField->DenormalizePercent(pModifiedField->GetValue(FUNIT_TWIP));
long nDiff = nNewWidth - nColWidth[nChanged];
- // wenn es die letzte Spalte ist
+ // when it's the last column
if(nChanged == nCols - 1)
{
nColWidth[0] -= nDiff;
@@ -1169,7 +1164,7 @@ IMPL_LINK( SwColumnPage, Timeout, Timer *, EMPTYARG
)
}
/*------------------------------------------------------------------------
- Beschreibung: Aktualisierung der Anzeige
+ Description: Update the view
------------------------------------------------------------------------*/
void SwColumnPage::Update()
{
@@ -1202,7 +1197,7 @@ void SwColumnPage::Update()
}
/*--------------------------------------------------------------------
- Beschreibung: Update Bsp
+ Description: Update Bsp
--------------------------------------------------------------------*/
void SwColumnPage::ActivatePage(const SfxItemSet& rSet)
{
@@ -1242,7 +1237,7 @@ void SwColumnPage::ActivatePage(const SfxItemSet&
rSet)
long nDistance = rBox.GetDistance();
const sal_uInt16 nTotalWish = bFormat ? FRAME_FORMAT_WIDTH :
sal_uInt16(rSize.GetWidth() - 2 * nDistance);
- // Maximalwerte der Spaltenbreiten setzen
+ // set maximum values of column width
SetPageWidth(nTotalWish);
if(pColMgr->GetActualSize() != nTotalWish)
@@ -1251,17 +1246,17 @@ void SwColumnPage::ActivatePage(const SfxItemSet&
rSet)
Init();
}
sal_Bool bPercent;
- // im Rahmenformat nur relative Angaben
+ // only relative data in frame format
if ( bFormat || (rSize.GetWidthPercent() && rSize.GetWidthPercent() !=
0xff) )
{
- // Wert fuer 100% setzen
+ // set value for 100%
aEd1.SetRefValue(nTotalWish);
aEd2.SetRefValue(nTotalWish);
aEd3.SetRefValue(nTotalWish);
aDistEd1.SetRefValue(nTotalWish);
aDistEd2.SetRefValue(nTotalWish);
- // Auf %-Darstellung umschalten
+ // switch to %-view
bPercent = sal_True;
}
else
@@ -1308,7 +1303,7 @@ IMPL_LINK( SwColumnPage, SetDefaultsHdl, ValueSet *,
pVS )
aAutoWidthBox.Check(sal_False);
aDistEd1.SetPrcntValue(0);
ColModify(0);
- // jetzt noch das Breitenverhaeltnisse auf 2 : 1 bzw. 1 : 2 stellen
+ // now set the width ratio to 2 : 1 or 1 : 2 respectively
sal_uInt16 nSmall = pColMgr->GetActualSize() / 3;
if(nItem == 4)
{
diff --git a/sw/source/ui/frmdlg/cption.cxx
b/sw/source/ui/frmdlg/cption.cxx
index 6a82164..e6deb8c 100644
--- a/sw/source/ui/frmdlg/cption.cxx
+++ b/sw/source/ui/frmdlg/cption.cxx
@@ -377,7 +377,7 @@ void SwCaptionDialog::DrawSample()
String aStr;
String sCaption = aTextEdit.GetText();
- // Nummer
+ // number
String sFldTypeName = aCategoryBox.GetText();
sal_Bool bNone = sFldTypeName == sNone;
if( !bNone )
@@ -386,7 +386,7 @@ void SwCaptionDialog::DrawSample()
aFormatBox.GetSelectEntryPos() );
if( SVX_NUM_NUMBER_NONE != nNumFmt )
{
- // Kategorie
+ // category
//#i61007# order of captions
if( !bOrderNumberingFirst )
{
@@ -543,7 +543,7 @@ void SwSequenceOptionDialog::Apply()
}
else if( aFldTypeName.Len() && nLvl < MAXLEVEL )
{
- // dann muessen wir das mal einfuegen
+ // then we have to insert that
SwSetExpFieldType aFldType( rSh.GetDoc(), aFldTypeName,
nsSwGetSetExpType::GSE_SEQ );
aFldType.SetDelimiter( cDelim );
aFldType.SetOutlineLvl( nLvl );
--
1.7.1
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.