output.cxx (4d7c9de0) output.cxx (3ea0c3d5)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 63 unchanged lines hidden (view full) ---

72
73#define SC_AUTHORCOLORCOUNT 9
74
75static ColorData nAuthorColor[ SC_AUTHORCOLORCOUNT ] = {
76 COL_LIGHTRED, COL_LIGHTBLUE, COL_LIGHTMAGENTA,
77 COL_GREEN, COL_RED, COL_BLUE,
78 COL_BROWN, COL_MAGENTA, COL_CYAN };
79
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 63 unchanged lines hidden (view full) ---

72
73#define SC_AUTHORCOLORCOUNT 9
74
75static ColorData nAuthorColor[ SC_AUTHORCOLORCOUNT ] = {
76 COL_LIGHTRED, COL_LIGHTBLUE, COL_LIGHTMAGENTA,
77 COL_GREEN, COL_RED, COL_BLUE,
78 COL_BROWN, COL_MAGENTA, COL_CYAN };
79
80// Hilfsklasse, fuer die Farbzuordnung,
81// um nicht mehrfach hintereinander denselben User aus der Liste zu suchen
82
83//Move this class declare to Chgtrack.hxx
84/*
85class ScActionColorChanger
86{
87private:
88 const ScAppOptions& rOpt;
89 const ScStrCollection& rUsers;
90 String aLastUserName;
91 sal_uInt16 nLastUserIndex;
92 ColorData nColor;
93
94public:
95 ScActionColorChanger( const ScChangeTrack& rTrack );
96 ~ScActionColorChanger() {}
97
98 void Update( const ScChangeAction& rAction );
99 ColorData GetColor() const { return nColor; }
100};
101*/
102
103//------------------------------------------------------------------
104
105ScActionColorChanger::ScActionColorChanger( const ScChangeTrack& rTrack ) :
106 rOpt( SC_MOD()->GetAppOptions() ),
107 rUsers( rTrack.GetUserCollection() ),
108 nLastUserIndex( 0 ),
109 nColor( COL_BLACK )
110{

--- 2369 unchanged lines hidden ---
80//------------------------------------------------------------------
81
82ScActionColorChanger::ScActionColorChanger( const ScChangeTrack& rTrack ) :
83 rOpt( SC_MOD()->GetAppOptions() ),
84 rUsers( rTrack.GetUserCollection() ),
85 nLastUserIndex( 0 ),
86 nColor( COL_BLACK )
87{

--- 2369 unchanged lines hidden ---