Kaydet (Commit) 1f8c7028 authored tarafından Philipp Lohmann's avatar Philipp Lohmann

solve rebase problems

üst 2231280a
...@@ -284,7 +284,7 @@ public: ...@@ -284,7 +284,7 @@ public:
void SetPrintEmptyPages(sal_Bool b ) { doSetModified(); bPrintEmptyPages = b;} void SetPrintEmptyPages(sal_Bool b ) { doSetModified(); bPrintEmptyPages = b;}
void SetPrintPostIts ( sal_Int16 n){ doSetModified(); nPrintPostIts = n; } void SetPrintPostIts ( sal_Int16 n){ doSetModified(); nPrintPostIts = n; }
void SetPrintProspect ( sal_Bool b ) { doSetModified(); bPrintProspect = b; } void SetPrintProspect ( sal_Bool b ) { doSetModified(); bPrintProspect = b; }
void SetPrintProspect_RTL ( sal_Bool b ) { doSetModified(); bPrintProspect_RTL = b; } void SetPrintProspect_RTL ( sal_Bool b ) { doSetModified(); bPrintProspectRTL = b; }
void SetPrintPageBackground(sal_Bool b){ doSetModified(); bPrintPageBackground = b;} void SetPrintPageBackground(sal_Bool b){ doSetModified(); bPrintPageBackground = b;}
void SetPrintBlackFont(sal_Bool b){ doSetModified(); bPrintBlackFont = b;} void SetPrintBlackFont(sal_Bool b){ doSetModified(); bPrintBlackFont = b;}
void SetPrintSingleJobs(sal_Bool b){ doSetModified(); bPrintSingleJobs = b;} void SetPrintSingleJobs(sal_Bool b){ doSetModified(); bPrintSingleJobs = b;}
......
...@@ -6508,31 +6508,6 @@ SfxVoidItem PageUpSel FN_PAGEUP_SEL ...@@ -6508,31 +6508,6 @@ SfxVoidItem PageUpSel FN_PAGEUP_SEL
GroupId = GID_NAVIGATOR; GroupId = GID_NAVIGATOR;
] ]
//--------------------------------------------------------------------------
SfxVoidItem PreviewPrintOptions FN_PREVIEW_PRINT_OPTIONS
()
[
/* flags: */
AutoUpdate = TRUE,
Cachable = Cachable,
FastCall = TRUE,
HasCoreId = FALSE,
HasDialog = TRUE,
ReadOnlyDoc = FALSE,
Toggle = FALSE,
Container = FALSE,
RecordAbsolute = FALSE,
RecordPerSet;
Synchron;
/* config: */
AccelConfig = TRUE,
MenuConfig = TRUE,
StatusBarConfig = FALSE,
ToolBoxConfig = TRUE,
GroupId = GID_DOC;
]
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
SfxVoidItem PreviewZoom FN_PREVIEW_ZOOM SfxVoidItem PreviewZoom FN_PREVIEW_ZOOM
( SfxUInt16Item PreviewZoom FN_PREVIEW_ZOOM ) ( SfxUInt16Item PreviewZoom FN_PREVIEW_ZOOM )
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <vcl/virdev.hxx> #include <vcl/virdev.hxx>
#include <svtools/itemiter.hxx> #include <svtools/itemiter.hxx>
#include <svtools/syslocale.hxx>
#include <sfx2/printer.hxx> #include <sfx2/printer.hxx>
#include <svx/keepitem.hxx> #include <svx/keepitem.hxx>
#include <svx/cscoitem.hxx> #include <svx/cscoitem.hxx>
...@@ -1116,7 +1117,7 @@ static void lcl_FormatPostIt( ...@@ -1116,7 +1117,7 @@ static void lcl_FormatPostIt(
if (bNewPage) if (bNewPage)
{ {
pIDCO->Insert( aPam, SvxFmtBreakItem( SVX_BREAK_PAGE_AFTER, RES_BREAK ), 0 ); pIDCO->InsertPoolItem( aPam, SvxFmtBreakItem( SVX_BREAK_PAGE_AFTER, RES_BREAK ), 0 );
pIDCO->SplitNode( *aPam.GetPoint(), false ); pIDCO->SplitNode( *aPam.GetPoint(), false );
} }
else if (!bIsFirstPostIt) else if (!bIsFirstPostIt)
...@@ -1142,8 +1143,9 @@ static void lcl_FormatPostIt( ...@@ -1142,8 +1143,9 @@ static void lcl_FormatPostIt(
aStr.AppendAscii(sTmp); aStr.AppendAscii(sTmp);
aStr += pField->GetPar1(); aStr += pField->GetPar1();
aStr += ' '; aStr += ' ';
aStr += GetAppLocaleData().getDate( pField->GetDate() ); SvtSysLocale aSysLocale;
pIDCO->Insert( aPam, aStr, true ); aStr += /*(LocaleDataWrapper&)*/aSysLocale.GetLocaleData().getDate( pField->GetDate() );
pIDCO->InsertString( aPam, aStr );
pIDCO->SplitNode( *aPam.GetPoint(), false ); pIDCO->SplitNode( *aPam.GetPoint(), false );
aStr = pField->GetPar2(); aStr = pField->GetPar2();
...@@ -1151,7 +1153,7 @@ static void lcl_FormatPostIt( ...@@ -1151,7 +1153,7 @@ static void lcl_FormatPostIt(
// Bei Windows und Co alle CR rausschmeissen // Bei Windows und Co alle CR rausschmeissen
aStr.EraseAllChars( '\r' ); aStr.EraseAllChars( '\r' );
#endif #endif
pIDCO->Insert( aPam, aStr, true ); pIDCO->InsertString( aPam, aStr );
} }
...@@ -1324,7 +1326,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData( ...@@ -1324,7 +1326,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
aPam.Move( fnMoveBackward, fnGoDoc ); aPam.Move( fnMoveBackward, fnGoDoc );
aPam.SetMark(); aPam.SetMark();
aPam.Move( fnMoveForward, fnGoDoc ); aPam.Move( fnMoveForward, fnGoDoc );
rData.m_pPostItDoc->Delete( aPam ); rData.m_pPostItDoc->DeleteRange( aPam );
const StringRangeEnumerator aRangeEnum( rData.GetPageRange(), 1, nDocPageCount, 0 ); const StringRangeEnumerator aRangeEnum( rData.GetPageRange(), 1, nDocPageCount, 0 );
......
...@@ -576,7 +576,7 @@ void SwXPrintSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, ...@@ -576,7 +576,7 @@ void SwXPrintSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo,
break; break;
case HANDLE_PRINTSET_PROSPECT_RTL: case HANDLE_PRINTSET_PROSPECT_RTL:
{ {
rValue <<= mpPrtOpt->IsPrintProspect_RTL(); rValue <<= mpPrtOpt->IsPrintProspectRTL();
} }
break; break;
case HANDLE_PRINTSET_PLACEHOLDER: case HANDLE_PRINTSET_PLACEHOLDER:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment